QStringList res;
res.append (tr ("Never"));
- res.append (tr ("1 min"));
- res.append (tr ("2 min"));
- res.append (tr ("5 min"));
- res.append (tr ("15 min"));
- res.append (tr ("30 min"));
+ res.append (tr ("1 minute"));
+ res.append (tr ("2 minutes"));
+ res.append (tr ("5 minutes"));
+ res.append (tr ("15 minutes"));
+ res.append (tr ("30 minutes"));
+ res.append (tr ("1 hour"));
+ res.append (tr ("2 hours"));
return res;
}
int Settings::intervalIndex2Minutes (int index) const
{
- int int2min[] = { -1, 1, 2, 5, 15, 30 };
+ int int2min[] = { -1, 1, 2, 5, 15, 30, 60, 120 };
if (index < 0 || sizeof (int2min) / sizeof (int2min[0]) <= (unsigned int)index)
return -1;
return 4;
case 30:
return 5;
+ case 60:
+ return 6;
+ case 120:
+ return 7;
default:
return 0;
}
</message>
<message>
<source>1 min</source>
- <translation>1 мин</translation>
+ <translation type="obsolete">1 мин</translation>
</message>
<message>
<source>2 min</source>
- <translation>2 мин</translation>
+ <translation type="obsolete">2 мин</translation>
</message>
<message>
<source>5 min</source>
- <translation>5 мин</translation>
+ <translation type="obsolete">5 мин</translation>
</message>
<message>
<source>15 min</source>
- <translation>15 мин</translation>
+ <translation type="obsolete">15 мин</translation>
</message>
<message>
<source>30 min</source>
- <translation>30 мин</translation>
+ <translation type="obsolete">30 мин</translation>
</message>
<message>
<source>System</source>
<source>Russian</source>
<translation>Русский</translation>
</message>
+ <message>
+ <source>1 minute</source>
+ <translation>1 минута</translation>
+ </message>
+ <message>
+ <source>2 minutes</source>
+ <translation>2 минуты</translation>
+ </message>
+ <message>
+ <source>5 minutes</source>
+ <translation>5 минут</translation>
+ </message>
+ <message>
+ <source>15 minutes</source>
+ <translation>15 минут</translation>
+ </message>
+ <message>
+ <source>30 minutes</source>
+ <translation>30 минут</translation>
+ </message>
+ <message>
+ <source>1 hour</source>
+ <translation>1 час</translation>
+ </message>
+ <message>
+ <source>2 hours</source>
+ <translation>2 часа</translation>
+ </message>
</context>
<context>
<name>SettingsDialog</name>