Add more information for translators (Qt client)

This commit is contained in:
Mike Gelfand 2015-01-12 06:18:52 +00:00
parent 40c4d8ced6
commit 6ff1875385
3 changed files with 6 additions and 6 deletions

View File

@ -1009,7 +1009,7 @@ Details::onIdleModeChanged (int index)
void
Details::onIdleLimitChanged ()
{
//: Spin box suffix, "Stop seeding if idle for: [ 5 minutes ]"
//: Spin box suffix, "Stop seeding if idle for: [ 5 minutes ]" (includes leading space after the number, if needed)
const QString unitsSuffix = tr (" minute(s)", 0, ui.idleSpin->value ());
if (ui.idleSpin->suffix () != unitsSuffix)
ui.idleSpin->setSuffix (unitsSuffix);

View File

@ -533,7 +533,7 @@ PrefsDialog::onLocationSelected (const QString& path, int key)
void
PrefsDialog::onIdleLimitChanged ()
{
//: Spin box suffix, "Stop seeding if idle for: [ 5 minutes ]"
//: Spin box suffix, "Stop seeding if idle for: [ 5 minutes ]" (includes leading space after the number, if needed)
const QString unitsSuffix = tr (" minute(s)", 0, myIdleLimitSpin->value ());
if (myIdleLimitSpin->suffix () != unitsSuffix)
myIdleLimitSpin->setSuffix (unitsSuffix);
@ -572,7 +572,7 @@ PrefsDialog::createSeedingTab ()
void
PrefsDialog::onQueueStalledMinutesChanged ()
{
//: Spin box suffix, "Download is inactive if data sharing stopped: [ 5 minutes ago ]"
//: Spin box suffix, "Download is inactive if data sharing stopped: [ 5 minutes ago ]" (includes leading space after the number, if needed)
const QString unitsSuffix = tr (" minute(s) ago", 0, myQueueStalledMinutesSpin->value ());
if (myQueueStalledMinutesSpin->suffix () != unitsSuffix)
myQueueStalledMinutesSpin->setSuffix (unitsSuffix);

View File

@ -178,7 +178,7 @@
<message numerus="yes">
<location line="+115"/>
<source> minute(s)</source>
<extracomment>Spin box suffix, &quot;Stop seeding if idle for: [ 5 minutes ]&quot;</extracomment>
<extracomment>Spin box suffix, &quot;Stop seeding if idle for: [ 5 minutes ]&quot; (includes leading space after the number, if needed)</extracomment>
<translation>
<numerusform> minute</numerusform>
<numerusform> minutes</numerusform>
@ -1639,7 +1639,7 @@ To add another primary URL, add it after a blank line.</source>
<message numerus="yes">
<location line="+162"/>
<source> minute(s)</source>
<extracomment>Spin box suffix, &quot;Stop seeding if idle for: [ 5 minutes ]&quot;</extracomment>
<extracomment>Spin box suffix, &quot;Stop seeding if idle for: [ 5 minutes ]&quot; (includes leading space after the number, if needed)</extracomment>
<translation>
<numerusform> minute</numerusform>
<numerusform> minutes</numerusform>
@ -1648,7 +1648,7 @@ To add another primary URL, add it after a blank line.</source>
<message numerus="yes">
<location line="+39"/>
<source> minute(s) ago</source>
<extracomment>Spin box suffix, &quot;Download is inactive if data sharing stopped: [ 5 minutes ago ]&quot;</extracomment>
<extracomment>Spin box suffix, &quot;Download is inactive if data sharing stopped: [ 5 minutes ago ]&quot; (includes leading space after the number, if needed)</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>