Commit Graph

13 Commits

Author SHA1 Message Date
Jacek Marianski 83205555d7 (localization) Several big changes:
1) Added localization components to the package. They allow usage of localized routes, like http://attendize.site/en/login
2) Added English and Polish localization files. They are ugly, repetitive, but mostly true to the original and relevant. It required rewriting several phrases, and certainly required editing most of the views and controllers.
3) Edited routes to accomodate point 1
4) Rewritten several rules regarding dates. In most cases using English notation (with English names for months) is bad in all other languages. I used environment wide date format that is used.
5) Updated installer. Haven't tested it yet, but should work. Rewrites .env.example file instead of creating it from scratch (by concatenating strings).

There are some minor changes that were simple fixes or other funky requirements from my employer that kinda make sense:
1) QR code reader wasn't working in firefox, fixed it. Works in chrome/firefox on mobile on https sites.
2) Added subscript text in some instances: below ticket registration, below ticket. It is kinda dumb, but in most cases is necessary to receive less complaints from clients.
3) Fixed geocoding api by adding api key in env file. At some point in 2016-2017 it was required by google to use API key from developer console and this requirement wasn't challenged in the code.
4) Ticket has been displaying either flyer or site logo on the side. Now displays both (which may affect 1d barcode - it might need some fixin). Regarding the same issue - description of an event contained the flyer image on the side, it was removed, cause it didn't fit in here.
5) Ticket style was updated, because of the above and because it didn't fit longer character strings. Now it's slightly uglier, but works in all cases.
and other.

There are also some inconveniences, like:
1) Unfinished translations. It was impossible for me to create translations based on strings located inside of a database, which I ignored (I think it's only at one place - surveys).
2) Ugly translation files. At some point I thought it is going to be easier to locate when I try translating vased by file name. Later I divided it by topics, and then I segmented it even more. It might require some serious clean-up.
3) Redundancy. In some cases there are several definitions for the same phrase in my localization files. I used it mostly to protect myself from different contexts for the phrase usage in different languages.
4) File division. There are several files that are placed in dedicated language directory (in /view/, like /view/pl/ or /view/en/). These files don't use language phrases, but they are translated as a whole. Mostly because using language phrases would make those view files unreadable.
5) Localzation helper marks some phrases as obsolete (in file "basic"), because they are used in app/Helpers folder (where this plugin doesn't reach)
2018-05-03 23:41:22 +02:00
Dave Earley 9ec1cc20f2 Reformat code 2016-09-06 21:39:27 +01:00
Dave Earley e79aeb10c1 Remove unnecessary symbol from filename when exporting answers 2016-08-11 13:22:37 +01:00
Dave Earley 6d9433a45c Fixed used where exported answers data was inaccurate (closes #13) 2016-08-11 13:19:59 +01:00
bretto36 f9c031f0d0 Controller clean up 2016-06-14 22:31:24 -04:00
Dave Earley 9e29a7fc22 Working on custom event questions 2016-05-21 18:37:15 +01:00
Dave Earley cc911f7344 worked on implementing custom attendee questions 2016-05-20 23:56:47 +01:00
Dave Earley dccdd9c276 Started work on exporting survey answers 2016-05-12 23:33:23 +01:00
Dave Earley 49b0fac0f5 Removed the instructions field for event questions 2016-05-05 21:33:26 +01:00
Dave 6127084c36 Working on surveys/attendee questions
Working on attendee check-in page
2016-04-17 21:12:38 +01:00
Dave 82da15cad4 Work on event survey
Removed the need to pass modal_id to each modal
Cleaned up the UI
2016-04-17 21:12:38 +01:00
Dave ed4e86baa1 Work on custom attendee questions
Start on moving surveys, widgets, check-in to their own pages
Refactoring code
Fix bug where tickets sales volume was not updating
2016-04-17 21:12:38 +01:00
Dave 6d101cea05 Work on custom attendee questions
Start on moving surveys, widgets, check-in to their own pages
2016-04-17 21:12:38 +01:00