#43989: Translated counter names Open Date: 2022-02-26 17:56 Last Update: 2022-03-01 11:16 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43989 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43989 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-03-01 11:16 Updated by: alienvalkyrie Comment: Also, I just remembered: In order to be translatable, the name should be tagged with the N_() macro – that marks the string, but doesn't translate it (since we don't want to translate the rule name). Also, since the string "Owned" is used in other places, it should be qualified with something like ?counter:, so N_("?counter:Owned"). --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: S3_2 d3f Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Introduce counter_name_translation() and counter_by_translated_name() functions in common/counter.[ch]. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43989 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43989