diff translations/en.translation @ 98:fac0636ae13b

Re #308: Make GTK# UI translatable * Make undo/redo menus translate on language change * Organise English language file * Resolve warnings by adding in dialogs that use translated strings when equipment amounts are out of range
author IBBoard <dev@ibboard.co.uk>
date Sun, 02 Jan 2011 21:03:15 +0000
parents 6d2c8ad0d8f1
children cff58ea990c4
line wrap: on
line diff
--- a/translations/en.translation	Sun Jan 02 15:50:29 2011 +0000
+++ b/translations/en.translation	Sun Jan 02 21:03:15 2011 +0000
@@ -1,8 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
-<translations xmlns="http://ibboard.co.uk/translation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="en">
+<translations xmlns="http://ibboard.co.uk/translation" lang="en">
+<!-- Common -->
+<translation id="bttnCancel">Cancel</translation>
+<translation id="bttnOkay">OK</translation>
+<translation id="bttnClose">Close</translation>
+<translation id="bttnCreate">Create</translation>
+<!-- Main Window -->
+<translation id="statusPanelPoints">{0} pts / {1} pts</translation>
+<!-- Main Window / Menus -->
 <translation id="menuFile">_File</translation>
 <translation id="menuEdit">_Edit</translation>
 <translation id="menuHelp">_Help</translation>
+<!-- Main Window / Menus / File Menu -->
 <translation id="miNewArmy">Create _new army</translation>
 <translation id="miOpenArmy">_Open army</translation>
 <translation id="miSaveArmy">_Save army</translation>
@@ -12,25 +21,40 @@
 <translation id="miCloseArmy">_Close army</translation>
 <translation id="miReloadFiles">_Reload files</translation>
 <translation id="miExit">_Quit</translation>
+<!-- Main Window / Menus / Edit Menu -->
 <translation id="miUndo">_Undo</translation>
 <translation id="miRedo">_Redo</translation>
 <translation id="miPreferences">_Preferences</translation>
+<!-- Main Window / Menus / Help Menu -->
 <translation id="miAbout">_About</translation>
+<!-- Main Window / Toolbar buttons -->
 <translation id="bttnNewArmy">Create new army</translation>
 <translation id="bttnOpenArmy">Open army</translation>
 <translation id="bttnSaveArmy">Save army</translation>
 <translation id="bttnUndo">Undo</translation>
 <translation id="bttnRedo">Redo</translation>
 <translation id="bttnCreateFromCat">Add unit from {0}</translation>
+<!-- Main Window / Army Tree -->
 <translation id="armyCategoryColumnTitle">Army Categories</translation>
 <translation id="menuRemoveUnit">Remove Unit</translation>
+<!-- Main Window / Dialogs -->
 <translation id="armyFileFilter">WarFoundry Army Files (*.army)</translation>
-<translation id="bttnCancel">Cancel</translation>
-<translation id="bttnOkay">OK</translation>
-<translation id="bttnSelectSystem">Select system</translation>
+<!-- Main Window / Dialogs / Open -->
+<translation id="openArmyDialog">Open army</translation>
+<translation id="bttnOpen">Open</translation>
+<translation id="OpenFailed">WarFoundry could not open the specified file. Please check the log for more information.</translation>
+<translation id="OpenFailedTitle">File load failed</translation>
+<!-- Main Window / Dialogs / Save -->
 <translation id="saveArmyDialog">Save army</translation>
-<translation id="defaultUnitName">Unit of {0} {1}</translation>
-<translation id="statusPanelPoints">{0} pts / {1} pts</translation>
+<translation id="bttnSave">Save</translation>
+<translation id="SaveFailed">WarFoundry was unable to save the file. Please check the log for more details</translation>
+<translation id="SaveFailedTitle">File save failed</translation>
+<!-- Main Window / Dialogs / Save changes -->
+<translation id="SaveChangesQuestion">The army "{0}" has been modified.
+Save changes before closing army?</translation>
+<translation id="SaveChangesTitle">Unsaved changes</translation>
+<translation id="bttnDiscard">Close without saving</translation>
+<!-- UnitDisplayForm -->
 <translation id="bttnAddWeapon">Add</translation>
 <translation id="bttnEditWeapon">Edit</translation>
 <translation id="bttnRemoveWeapon">Remove</translation>
@@ -38,13 +62,18 @@
 <translation id="lblEquip">Equipment:</translation>
 <translation id="lblAbilities">Abilities:</translation>
 <translation id="lblNotes">Notes:</translation>
+<!-- New Army form -->
 <translation id="IBBoard.WarFoundry.GUI.GTK.FrmNewArmy">Create Army</translation>
 <translation id="lblGameSystem">Game systems:</translation>
 <translation id="lblRaceList">Races:</translation>
 <translation id="lblArmyName">Army name:</translation>
 <translation id="lblArmySize">Army size:</translation>
-<translation id="bttnCreate">Create</translation>
 <translation id="frmNewArmyRaceColumn">Race</translation>
+<!-- New Unit form -->
+<translation id="IBBoard.WarFoundry.GUI.GTK.FrmNewUnit">Add New {0} Choice</translation>
+<translation id="frmNewUnitNewUnitColumn">Unit Type</translation>
+<translation id="lblUnitList">Unit Type:</translation>
+<!-- Equipment Dialogs (Common) -->
 <translation id="equipPercentageTooLarge">The current percentage ({0}%) was larger than the maximum for the equipment item ({1}%). The maximum value will be used instead.</translation>
 <translation id="equipPercentageTooLargeTitle">Equipment percentage too large</translation>
 <translation id="equipPercentageTooSmall">The current percentage ({0}%) was smaller than the minimum for the equipment item ({1}%). The minimum value will be used instead.</translation>
@@ -53,35 +82,38 @@
 <translation id="equipNumberTooLargeTitle">Equipment amount too large</translation>
 <translation id="equipNumberTooSmall">The current amount ({0}) was smaller than the minimum for the equipment item ({1}). The minimum value will be used instead.</translation>
 <translation id="equipNumberTooSmallTitle">Equipment amount too small</translation>
-<translation id="IBBoard.WarFoundry.GUI.GTK.FrmNewUnit">Add New {0} Choice</translation>
-<translation id="frmNewUnitNewUnitColumn">Unit Type</translation>
-<translation id="lblUnitList">Unit Type:</translation>
-<translation id="IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment">Add Equipment</translation>
-<translation id="frmAddEquipmentColumnTitle">Equipment</translation>
 <translation id="lblEquipAll">Equip All</translation>
 <translation id="lblPercent">%</translation>
 <translation id="lblAmount">Amount:</translation>
-<translation id="lblEquipment">Equipment:</translation>
+<translation id="lblItem">Equipment:</translation>
+<!-- Equipment Dialogs / Add -->
+<translation id="IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment">Add Equipment</translation>
+<translation id="frmAddEquipmentColumnTitle">Equipment</translation>
+<!-- Equipment Dialogs / Edit -->
 <translation id="IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment">Edit Equipment</translation>
 <translation id="frmEditEquipmentColumnTitle">Equipment</translation>
+<!-- Equipment Dialogs / Replace -->
 <translation id="IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment">Replace Equipment</translation>
+<!-- Preferences -->
+<translation id="IBBoard.WarFoundry.GUI.GTK.FrmPreferences">Preferences</translation>
+<translation id="languagePrefSection">Language</translation>
+<translation id="lblLanguage">Language:</translation>
+<translation id="languagesGroup">Language</translation>
+<!-- About dialog -->
 <translation id="IBBoard.WarFoundry.GUI.GTK.FrmAbout">About WarFoundry</translation>
-<translation id="bttnClose">Close</translation>
-<translation id="bttnCredits">Credits</translation>
 <translation id="lblWarFoundryCopyright">© 2007-2010, IBBoard and others</translation>
 <translation id="lblWarFoundryDesc">WarFoundry is an open-source army creation tool that lets you create rosters for multiple game systems.</translation>
+<translation id="bttnCredits">Credits</translation>
+<!-- About dialog / credits -->
+<translation id="IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits">Credits</translation>
+<translation id="lblDevelopers">Developers:</translation>	
+<translation id="lblTestersCommon">Testers (General WarFoundry):</translation>
+<translation id="lblTestersGtk">Testers (GTK UI):</translation>
+<!-- Export / HTML -->
 <translation id="exportBasicHtmlDialogTitle">Export army</translation>
 <translation id="exportBasicHtmlCancel">Cancel</translation>
 <translation id="exportBasicHtmlExport">Export</translation>
 <translation id="exportBasicHtmlHtmlFilter">HTML pages (*.html)</translation>
-<translation id="IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits">Credits</translation>
-<translation id="lblDevelopers">Developers:</translation>	
-<translation id="lblTestersCommon">Testers (General WarFoundry):</translation>
-<translation id="lblTestersGtk">Testers (GTK UI):</translation>
-<translation id="IBBoard.WarFoundry.GUI.GTK.FrmPreferences">Preferences</translation>
-<translation id="languagePrefSection">Language</translation>
-<translation id="lblLanguage">Language:</translation>
-<translation id="languagesGroup">Language</translation>
 <translation id="armyHtmlOutputBodyHeader">{0} - {1}pts</translation>
 <translation id="armyHtmlOutputTableHeaderUnitName">Name</translation>
 <translation id="armyHtmlOutputTableHeaderUnitNotes">Notes</translation>
@@ -90,9 +122,8 @@
 <translation id="armyHtmlExportEquipAmountPercentage">{0}% ({1})</translation>
 <translation id="armyHtmlExportEquipAmountNumber">{0}</translation>
 <translation id="armyHtmlExportEquipAmountRatio">{0} for {1}</translation>
-<translation id="equipmentAmountAll">all ({1})</translation>
-<translation id="equipmentAmountPercentage">{0}% ({1})</translation>
-<translation id="equipmentAmountNumber">{0}</translation>
+<!-- API -->
+<translation id="defaultUnitName">Unit of {0} {1}</translation>
 <translation id="setEquipmentAmountCommandDescription">Set {0} amount for {1} to {2}</translation>
 <translation id="setEquipmentAmountCommandUndoDescription">Set {0} amount for {1} to {2}</translation>
 <translation id="replaceUnitEquipmentCommandDescription">Replace {0} with {1} for {2}</translation>
@@ -105,4 +136,7 @@
 <translation id="setUnitNameCommandUndoDescription">Rename "{0}" to "{1}"</translation>
 <translation id="setUnitSizeCommandDescription">Set size of {0} to {1}</translation>
 <translation id="setUnitSizeCommandUndoDescription">Set size of {0} to {1}</translation>
+<translation id="equipmentAmountAll">all ({1})</translation>
+<translation id="equipmentAmountPercentage">{0}% ({1})</translation>
+<translation id="equipmentAmountNumber">{0}</translation>
 </translations>
\ No newline at end of file