URL: <http://gna.org/bugs/?25468>
Summary: Hard-coded word order in translateable strings Project: Battle for Wesnoth Submitted by: gunchleoc Submitted on: Thu 26 Jan 2017 12:19:41 PM UTC Category: Bug Severity: 3 - Normal Priority: 5 - Normal Item Group: Translations Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: 1.13.6 Operating System: Any _______________________________________________________ Details: I found this code: https://github.com/wesnoth/wesnoth/blob/master/src/units/attack_type.cpp#L410 int movement_used = std::stoi(set_movement); add_and(desc); desc << movement_used << " " << _n("movement point","movement points",movement_used); Te hard-coded word order in this string is a problem, because not all languages put the number first - some even change the word order according to plural form. there are more of these strings in that file. Maybe grep the codebase for "\" \" << _"? _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?25468> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs