# HG changeset patch # User Wuzzy # Date 1506960743 -7200 # Node ID 888032b2fda4d89f7245ef7647784529b075a7a1 # Parent b4ebc6779810bc924e5e7a9033347ee8181c2be0 Make multipy sign in QTfrondend translatable and update hedgewars_en.ts diff -r b4ebc6779810 -r 888032b2fda4 QTfrontend/ui/page/pageoptions.cpp --- a/QTfrontend/ui/page/pageoptions.cpp Mon Oct 02 17:54:07 2017 +0200 +++ b/QTfrontend/ui/page/pageoptions.cpp Mon Oct 02 18:12:23 2017 +0200 @@ -276,7 +276,8 @@ groupGame->layout()->addWidget(winResContainer, 2, 1); QLabel *winLabelX = new QLabel(groupGame); - winLabelX->setText("x"); // decorational x + //: Multiplication sign, to be used between two numbers. Note the “x” is only a dummy character, we recommend to use “×” if your language permits it + winLabelX->setText(tr("x")); winLabelX->setFixedWidth(40); winLabelX->setAlignment(Qt::AlignCenter); @@ -797,10 +798,10 @@ widthEdit->setValidator(new QIntValidator(this)); groupVideoRec->layout()->addWidget(widthEdit, 5, 1); - // x + // multiplication sign QLabel *labelX = new QLabel(groupVideoRec); - labelX->setText("X"); + labelX->setText(tr("x")); groupVideoRec->layout()->addWidget(labelX, 5, 2); // height diff -r b4ebc6779810 -r 888032b2fda4 share/hedgewars/Data/Locale/hedgewars_en.ts --- a/share/hedgewars/Data/Locale/hedgewars_en.ts Mon Oct 02 17:54:07 2017 +0200 +++ b/share/hedgewars/Data/Locale/hedgewars_en.ts Mon Oct 02 18:12:23 2017 +0200 @@ -141,11 +141,11 @@ Please, specify %1 - Please, specify %1 + Please, specify %1 nickname - nickname + nickname permanent @@ -155,6 +155,14 @@ Ban player Ban player + + Please specify an IP address. + Please specify an IP address. + + + Please specify a nickname. + Please specify a nickname. + DataManager @@ -482,7 +490,7 @@ If this nick isn’t yours, please register your own nick at www.hedgewars.org Password: - This nick is registered, and you haven’t specified a password. + This nick is registered, and you haven’t specified a password. If this nick isn’t yours, please register your own nick at www.hedgewars.org @@ -556,11 +564,24 @@ Team %1 Team %1 + + This nick is registered, and you haven't specified a password. + +If this nick isn't yours, please register your own nick at www.hedgewars.org + +Password: + This nick is registered, and you haven't specified a password. + +If this nick isn't yours, please register your own nick at www.hedgewars.org + +Password: + HWGame en.txt + IMPORTANT: This text has a special meaning, do not translate it directly. This is the file name of translation files for the game engine, found in Data/Locale/. Usually, you replace “en” with the ISO-639-1 language code of your language. en.txt @@ -1080,7 +1101,7 @@ Open the directory in which the downloaded files are stored in your system - Open the directory in which the downloaded files are stored in your system + Open the directory in which the downloaded files are stored in your system @@ -1214,6 +1235,7 @@ CPU %1 + Name of a flag for computer-controlled enemies. %1 is replaced with the computer level CPU %1 @@ -1254,6 +1276,7 @@ (%1 kill) + Number of kills in stats screen, written after the team name (%1 kill) (%1 kills) @@ -1261,14 +1284,14 @@ <b>%1</b> thought it's good to shoot his own hedgehogs with <b>%2</b> pts. - + <b>%1</b> thought it’s good to shoot his own hedgehogs with <b>%2</b> point. <b>%1</b> thought it’s good to shoot his own hedgehogs with <b>%2</b> points. <b>%1</b> killed <b>%2</b> of his own hedgehogs. - + <b>%1</b> killed <b>%2</b> of his own hedgehogs. <b>%1</b> killed <b>%2</b> of his own hedgehogs. @@ -1290,11 +1313,26 @@ (%1 %2) + For custom number of points in the stats screen, written after the team name. %1 is the number, %2 is the word. Example: “4 points” (%1 %2) (%1 %2) + + <b>%1</b> thought it's good to shoot their own hedgehogs for <b>%2</b> pts. + + <b>%1</b> thought it's good to shoot their own hedgehogs for <b>%2</b> point. + <b>%1</b> thought it's good to shoot their own hedgehogs for <b>%2</b> points. + + + + <b>%1</b> killed <b>%2</b> of their own hedgehogs. + + <b>%1</b> thought it's good to shoot their own hedgehogs for <b>%2</b> point. + <b>%1</b> thought it's good to shoot their own hedgehogs for <b>%2</b> point. + + PageInGame @@ -1614,7 +1652,20 @@ You can’t delete the last team! - You can’t delete the last team! + You can’t delete the last team! + + + x + Multiplication sign, to be used between two numbers. Note the “x” is only a dummy character, we recommend to use “×” if your language permits it + × + + + Check now + Check now + + + You can't delete the last team! + You can't delete the last team! @@ -2730,19 +2781,19 @@ Record Play - Error - Record Play—Error + Record Play—Error Please select record from the list - Please select record from the list + Please select record from the list Cannot rename to - Cannot rename to + Cannot rename to Cannot delete file - Cannot delete file + Cannot delete file Room Name - Error @@ -2875,6 +2926,18 @@ Current number of hedgehogs: %1 + + Please select a file from the list. + Please select a file from the list. + + + Cannot rename file to %1. + Cannot rename file to %1. + + + Cannot delete file %1. + Cannot delete file %1. + QObject @@ -2983,7 +3046,7 @@ Upload this video to your Youtube account - Upload this video to your Youtube account + Upload this video to your Youtube account Reset @@ -3005,6 +3068,10 @@ Start private server Start private server + + Upload this video to your YouTube account + Upload this video to your YouTube account + QSpinBox @@ -3044,10 +3111,12 @@ C + Caption of the column for the number of connected clients in the list of rooms C T + Caption of the column for the number of teams in the list of rooms T @@ -3374,7 +3443,7 @@ hedgehog info - hedgehog info + hedgehog info autocam / find hedgehog @@ -3384,6 +3453,10 @@ speed up replay speed up replay + + toggle team bars + toggle team bars + binds (categories) @@ -3464,7 +3537,7 @@ Toggle labels above hedgehogs: - Toggle labels above hedgehogs: + Toggle labels above hedgehogs: Record video: @@ -3482,6 +3555,10 @@ Demo replay: Demo replay: + + Heads-up display: + Heads-up display: + binds (keys)