ngettext issues in some languages
Bug #1794250 reported by
hessenfarmer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Ngettext doesn't work properly for languages where e.g. the first number in a decade requires a singular noun as well (e.g. 11 or 21).
these special case where known should be caught and have a separate string together with a hint for the translators that this is a corner case in some language and how to proceed.
Related branches
lp:~widelands-dev/widelands/localization-post-build20
- hessenfarmer: Approve (test and review)
-
Diff: 1422 lines (+322/-251)35 files modifieddata/campaigns/fri01.wmf/scripting/texts.lua (+7/-7)
data/campaigns/fri02.wmf/scripting/texts.lua (+3/-3)
data/scripting/editor/terrain_help.lua (+8/-3)
data/scripting/format_scenario.lua (+0/-41)
data/scripting/richtext_scenarios.lua (+5/-1)
data/tribes/buildings/productionsites/frisians/mead_brewery/helptexts.lua (+1/-1)
data/tribes/immovables/resi/atlanteans/init.lua (+20/-20)
data/tribes/immovables/resi/barbarians/init.lua (+20/-20)
data/tribes/immovables/resi/empire/init.lua (+20/-20)
data/tribes/immovables/resi/frisians/init.lua (+20/-20)
data/tribes/scripting/help/building_help.lua (+8/-2)
data/tribes/scripting/help/ware_help.lua (+15/-6)
data/tribes/scripting/help/worker_help.lua (+24/-15)
data/tribes/wares/bread_frisians/helptexts.lua (+1/-1)
data/tribes/wares/brick/helptexts.lua (+1/-1)
data/tribes/wares/coal/helptexts.lua (+1/-1)
data/tribes/wares/felling_ax/helptexts.lua (+7/-7)
data/tribes/wares/fire_tongs/helptexts.lua (+9/-9)
data/tribes/wares/fruit/helptexts.lua (+1/-1)
data/tribes/wares/gold/helptexts.lua (+9/-9)
data/tribes/wares/gold_ore/helptexts.lua (+9/-1)
data/tribes/wares/iron/helptexts.lua (+9/-9)
data/tribes/wares/iron_ore/helptexts.lua (+10/-1)
data/tribes/wares/mead/helptexts.lua (+1/-1)
src/graphic/CMakeLists.txt (+2/-0)
src/graphic/gl/initialize.cc (+42/-21)
src/logic/map_objects/tribes/productionsite.cc (+5/-1)
src/logic/map_objects/tribes/worker.cc (+1/-1)
src/ui_fsmenu/scenariodetails.cc (+6/-1)
src/wui/interactive_base.cc (+0/-16)
src/wui/interactive_gamebase.cc (+35/-0)
src/wui/interactive_gamebase.h (+2/-0)
src/wui/mapdetails.cc (+11/-7)
src/wui/productionsitewindow.cc (+8/-3)
src/wui/suggested_teams_box.cc (+1/-1)
Changed in widelands: | |
milestone: | none → build21-rc1 |
Changed in widelands: | |
status: | Confirmed → In Progress |
assignee: | nobody → GunChleoc (gunchleoc) |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
To post a comment you must log in.
This is only true for strings that don't contain explicit numbers, like e.g. headings.