Commit Graph

483 Commits

Author SHA1 Message Date
Blake Grotewold c611fcea8c Merge pull request #394 from youknowone/master
Update localization for ko
2015-05-27 14:35:39 -04:00
Andrea Rendine f219b3288f Single letter representations for enemies
R wild animals (beast, birds, lizards, rats)
T mutated creatures (includes giant lizards)
E human enemies (old men, scavengers, thugs and squatters)
D armed human enemies (includes vigilantes, soldiers, snipers, commandos, veterans and chiefs)
2015-05-27 14:28:12 -04:00
SVS 8d3b313e9c Change the enemy labels 2015-05-27 14:25:21 -04:00
Andrea Rendine 77bff9c289 Update IT Save translation 2015-05-27 13:06:48 -04:00
Jeong YunWon 4824b0a847 Update localization for ko 2015-05-23 00:52:57 +09:00
Andrea Rendine de705e4a5e Load event before anything else
An event could produce different notifications or rewards according to different outcomes of the event itself (e.g. a negative event impacting on buildings and/or villagers, or a wanderer leaving items of some specific kind), but the notification is generated before the onLoad() call.
I'd say that this is the best action order:
1. event action
2. event notification
3. event reward (and possible additional notifications due to that)
2015-05-13 12:08:00 -04:00
Andrea Rendine ebf5e6934e Correct DOM positions for village, store, perks box
I noticed a minor glitch with the Village box position in the DOM. As it is appended to the Outside panel, it can end up after the Wood gather button or after the Traps check. It depends on whether the latter exists or not.
I changed it a little. Now it is "prepended" (thanks jQuery!), so it's always before any other content in the panel.
It would mind e.g. for CSS consistency, as you could decide to use a style for sibling buttons and it wouldn't work unless the box is placed before or after (not between) them.

For consistency with Outside box placement issue, stores are prepended to the Room panel, as first content in the DOM tree.

For consistency with Outside box placement issue, perks are prepended to the Path panel, as first content in the DOM tree.
2015-05-13 12:01:32 -04:00
Andrea Rendine 94936f118d Stores visibility outside room
A z-index CSS property on #stores now allows it to remain on top of the tabs layers, so that hovering always works.
2015-05-13 11:50:54 -04:00
Travis Weston 8c368d363a Add take all button 2015-05-13 11:35:25 -04:00
Blake Grotewold 66054c2825 Merge pull request #373 from youknowone/l10n-ko
more localization + fix errors +  quality work for ko
2015-05-11 10:40:59 -04:00
Blake Grotewold 95a3b68e12 Add background color to language select menu
This helps readability when language box overflows stores box
2015-05-11 10:40:11 -04:00
Blake Grotewold 9f8fa6c121 Update RU string.js 2015-05-11 10:31:11 -04:00
Дмитрий Свечников 6a9647c364 Fix some RU tranlations 2015-05-11 10:21:19 -04:00
Andrea Rendine fb13f6e808 Notification before reward
Noticed when buying the compass.
I found it weird that *first* the compass points and *then* it appears in good condition.
Now event notification precedes event reward, and it should be corrected.
2015-05-11 10:16:43 -04:00
Blake Grotewold 7fd474d3c0 Add missing Hyper Mode pieces
Some code was missing from the Hyper Mode feature addition. This
completes the use of `Engine.setTimeout` and adds doubleTime check in
button cooldowns.

Closes #374
2015-05-10 18:14:13 -04:00
Jeong YunWon dd17e716a8 more localization + fix errors + quality work for ko 2015-05-09 18:01:22 +09:00
Blake Grotewold 9cb94cb9c0 Add new KO string.js 2015-05-08 08:28:23 -04:00
Blake Grotewold 65f3d449de Merge pull request #369 from youknowone/master
Fix a lot of errors in ko translation
2015-05-08 08:21:11 -04:00
Andrea Rendine aef4bfb4e4 Add hut fire title and update IT translations for fire title and leave
Added translation for Fire title to template
Added Italian translation for Fire title

Leave

Translation of "leave" sounded like the player were abandoning something on the ground, which is correct only sometimes.
Fixed
2015-05-08 08:15:12 -04:00
Jeong YunWon 23b26b8ca1 Fix a lot of errors in ko translation 2015-05-08 13:51:28 +09:00
Blake Grotewold 3f71fe1f8b Merge pull request #365 from wxfskylove/master
Updated Chinese translation
2015-05-07 08:26:45 -04:00
Skylove e315839d41 Updated translation
Add hut fire event translation.
2015-05-07 14:20:54 +08:00
Andrea Rendine ad8e32ee56 Shortening IT translations
Shortened translations for bolas and lodge, so the button has a single line.
2015-05-06 15:47:28 -04:00
Blake Grotewold 3b261c5dbf Merge pull request #357 from apricote/master
Fix #335
2015-05-05 10:39:02 -04:00
Julian Tölle 5f58372579 Added whitespace for traps in german translation
Even though the .po file contains the correct whitespace in the german
translation for the messages ('the traps contain [...] ' and ' and '),
they were not present in the .js file.
2015-05-05 16:32:44 +02:00
Michael Townsend 33e1da6137 Merge pull request #343 from AndySky21/hut-fire
Hut fire Italian translation
2015-05-04 09:52:13 -04:00
Michael Townsend 4e5a5fd7d3 Merge pull request #350 from AndySky21/pot-doc
Commentary
2015-05-04 09:51:39 -04:00
Blake Grotewold fba2dfb680 Merge pull request #348 from AndySky21/Readme-lang-table
Languages table
2015-05-03 22:13:45 -04:00
nicholas_pellizer 8320156f42 Hyper mode and LightsOff is now stored in the State 2015-05-03 22:09:49 -04:00
Andrea Rendine 644b975a37 Bait fix
Bait doesn't need plural in english but in other languages the plural could be used (in mine, for example).
2015-05-01 00:24:19 +02:00
Andrea Rendine 97021aa62d Commentary
Added comments for:
 - troublesome context
 - verbs/nouns trouble (english is quite full of homographs, you know)
 - commands and buttons (they want imperative)
 - battle buttons (attack => weapon)
 - counters and strings with references
 - strings with relevant leading/trailing spaces
 - acronyms and short forms
 - troublesome genders (A Mysterious Wander issue)
2015-05-01 00:16:12 +02:00
Andrea Rendine d458b1cd2b Impersonal verbs, translation fix and bait
See po file
2015-04-30 22:44:29 +02:00
Andrea Rendine d3c51746c7 Bait fix
Plural like scales and teeth
2015-04-30 22:42:34 +02:00
Andrea Rendine 6a0c6f6763 Impersonal verbs
Now all notifications starting with "learned" or similar direct but impersonal forms have been fixed with impersonal Italian forms.
Even more translation corrections here and there.
Note 1: A Mysterious Wanderer has been translated with plural. It refers to both the male wanderer craving for wood, and the female wanderer looting your fur. In italian the gender must be specified, so the notification with either male or female form cannot be chosen. Plural avoids confusion, just suggesting that either event has happened.
Note 2: This translation contains the text related to hut fire event (still missing).
2015-04-30 22:16:01 +02:00
Michael Townsend f85b8fdf7e Merge pull request #349 from AndySky21/patch-1
Fixed variable name
2015-04-30 11:38:42 -04:00
Michael Townsend d2bd08dcb1 Merge pull request #345 from AndySky21/stores-az-sorting
Stores alphabetical sorting
2015-04-30 11:38:12 -04:00
Andrea Rendine f0e0548116 Var
Working ina hurry is bad.
2015-04-30 17:27:50 +02:00
Andrea Rendine 4efebe4f66 Var
Working in a hurry is bad.
2015-04-30 17:26:56 +02:00
Andrea Rendine 4efb22b890 Fixed variable name
Actually in this case "name" is used in a function and is not necessary for lookups, but I think that if future changes to both room.js and outside.js occur, authors will appreciate consistency in scripts (also fixes indentation in comments).
2015-04-30 17:11:24 +02:00
Andrea Rendine dca3faa2f9 Fixed variable name
"k" still refers to the English string, while "lk" carries the translated value.
2015-04-30 16:57:18 +02:00
Michael Townsend 5c37074c2d Merge pull request #346 from AndySky21/buildings-az-sorting
Buildings alphabetical sorting
2015-04-30 09:45:26 -04:00
Michael Townsend c725b58c1a Merge pull request #344 from AndySky21/hut-fire-pot
Added hut fire event original strings
2015-04-30 09:42:01 -04:00
Michael Townsend 42c81cd5db Merge pull request #342 from AndySky21/It-fix
Italian translation fix
2015-04-30 09:41:01 -04:00
Michael Townsend d30b4e2ff7 Merge pull request #347 from AndySky21/income-on-load
Correct jobs incomes on load
2015-04-30 09:39:22 -04:00
Andrea Rendine c2f8ac89fa Correct jobs incomes on load
Currently, when a game is loaded, job production/consumption rates in tooltips are shown based on the unit, rather than multiplied by the employed village number. Incomes are then corrected when the numbers change.
With the initial call of updateVillageIncome() function, the correct numbers are displayed when the game is opened and loaded.
2015-04-30 00:01:36 +02:00
Andrea Rendine 9c1ebecda7 Buildings alphabetical sorting
The bulk of this small change was to sort buildings by alphabetical order according to translated names, instead of english strings.
This meant removing the ID splitting as well as hyphen/space replacing, as the ID is not considered for the test.
Also changed:
1. line 366: as the original english string is no longer necessary in the iteration, "name" takes the value of translated string. "name" is then used for alphabetical comparison (as before) with the right value.
2. line 378: removed the test on curPrev variable. Items already listed have been placed in alphabetical order, so there is no need to check whether each item actually follows value of control variable.
2015-04-29 23:52:58 +02:00
Andrea Rendine 8042414be7 Stores alphabetical sorting
The bulk of this small change was to sort stores by alphabetical order according to translated names, instead of english strings.
This meant removing the ID splitting as well as hyphen/space replacing, as the ID is not considered for the test.
Also changed:
1. line 800: as the original english string is no longer necessary in the iteration, k takes the value of translated string. k is then used for alphabetical comparison (as before) with the right value.
2. line 816: removed the test on curPrev variable. Items already listed have been placed in alphabetical order, so there is no need to check whether each item actually follows value of control variable.
2015-04-29 23:43:43 +02:00
Andrea Rendine fc089c808c Added hut fire event original strings
Although there was a previous commit referring to it, in POT file the strings related to "hut fire event" were not present.
I added them at the end of the file, with reference to original positions in Outside.js.
2015-04-29 23:19:34 +02:00
Andrea Rendine e65a8e7c5a Hut fire event added for real
Hut fire event strings added for further development
2015-04-29 23:12:32 +02:00
Andrea Rendine 425ce30ceb Hut fire event added for real
A previous commit referred to "Hut fire event", but the strings were not available.
Now they have been inserted.
2015-04-29 23:06:34 +02:00