Changeset 1767 in vbox for trunk/src/VBox
- Timestamp:
- Mar 28, 2007 12:52:38 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19937
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h
r1469 r1767 171 171 #endif 172 172 173 / / VBox enum to/from string/icon/color convertors173 /* VBox enum to/from string/icon/color convertors */ 174 174 175 175 QStringList vmGuestOSTypeDescriptions() const; … … 361 361 bool openURL (const QString &aURL); 362 362 363 QString languageID() const; 364 QString languageName() const; 365 QString languageCountry() const; 366 QString languageNameEnglish() const; 367 QString languageCountryEnglish() const; 368 QString languageTranslators() const; 369 363 370 void languageChange(); 364 371 365 /* made public for internal purposes */372 /** @internal made public for internal purposes */ 366 373 void cleanup(); 367 374 -
trunk/src/VBox/Frontends/VirtualBox/nls/VirtualBox_de.ts
r1743 r1767 1 1 <!DOCTYPE TS><TS> 2 <context> 3 <name>@@@</name> 4 <message> 5 <source>English</source> 6 <comment>Native language name</comment> 7 <translation>Deutsch</translation> 8 </message> 9 <message> 10 <source>built-in</source> 11 <comment>Native language country name (empty if this language is for all countries)</comment> 12 <translation></translation> 13 </message> 14 <message> 15 <source>English</source> 16 <comment>Language name, in English</comment> 17 <translation>German</translation> 18 </message> 19 <message> 20 <source>built-in</source> 21 <comment>Language country name, in English (empty if native country name is empty)</comment> 22 <translation></translation> 23 </message> 24 <message> 25 <source>InnoTek</source> 26 <comment>Comma-separated list of translators</comment> 27 <translation></translation> 28 </message> 29 </context> 2 30 <context> 3 31 <name>BootItemsList</name> … … 1308 1336 <comment>USBDeviceState</comment> 1309 1337 <translation>gefangen</translation> 1338 </message> 1339 <message> 1340 <source><i>Checking...</i></source> 1341 <comment>hard disk</comment> 1342 <translation type="unfinished"></translation> 1343 </message> 1344 <message> 1345 <source><i>Inaccessible</i></source> 1346 <comment>hard disk</comment> 1347 <translation type="unfinished"></translation> 1310 1348 </message> 1311 1349 </context> -
trunk/src/VBox/Frontends/VirtualBox/nls/VirtualBox_ru.ts
r1718 r1767 1 1 <!DOCTYPE TS><TS> 2 <context> 3 <name>@@@</name> 4 <message> 5 <source>English</source> 6 <comment>Native language name</comment> 7 <translation>Русский</translation> 8 </message> 9 <message> 10 <source>built-in</source> 11 <comment>Native language country name (empty if this language is for all countries)</comment> 12 <translation></translation> 13 </message> 14 <message> 15 <source>English</source> 16 <comment>Language name, in English</comment> 17 <translation>Russian</translation> 18 </message> 19 <message> 20 <source>built-in</source> 21 <comment>Language country name, in English (empty if native country name is empty)</comment> 22 <translation></translation> 23 </message> 24 <message> 25 <source>InnoTek</source> 26 <comment>Comma-separated list of translators</comment> 27 <translation></translation> 28 </message> 29 </context> 2 30 <context> 3 31 <name>BootItemsList</name> … … 1303 1331 <source>Captured</source> 1304 1332 <comment>USBDeviceState</comment> 1333 <translation type="unfinished"></translation> 1334 </message> 1335 <message> 1336 <source><i>Checking...</i></source> 1337 <comment>hard disk</comment> 1338 <translation type="unfinished"></translation> 1339 </message> 1340 <message> 1341 <source><i>Inaccessible</i></source> 1342 <comment>hard disk</comment> 1305 1343 <translation type="unfinished"></translation> 1306 1344 </message> -
trunk/src/VBox/Frontends/VirtualBox/nls/VirtualBox_xx_YY.ts
r1718 r1767 1 1 <!DOCTYPE TS><TS> 2 <context> 3 <name>@@@</name> 4 <message> 5 <source>English</source> 6 <comment>Native language name</comment> 7 <translation type="unfinished"></translation> 8 </message> 9 <message> 10 <source>built-in</source> 11 <comment>Native language country name (empty if this language is for all countries)</comment> 12 <translation type="unfinished"></translation> 13 </message> 14 <message> 15 <source>English</source> 16 <comment>Language name, in English</comment> 17 <translation type="unfinished"></translation> 18 </message> 19 <message> 20 <source>built-in</source> 21 <comment>Language country name, in English (empty if native country name is empty)</comment> 22 <translation type="unfinished"></translation> 23 </message> 24 <message> 25 <source>InnoTek</source> 26 <comment>Comma-separated list of translators</comment> 27 <translation type="unfinished"></translation> 28 </message> 29 </context> 2 30 <context> 3 31 <name>BootItemsList</name> … … 1303 1331 <source>Captured</source> 1304 1332 <comment>USBDeviceState</comment> 1333 <translation type="unfinished"></translation> 1334 </message> 1335 <message> 1336 <source><i>Checking...</i></source> 1337 <comment>hard disk</comment> 1338 <translation type="unfinished"></translation> 1339 </message> 1340 <message> 1341 <source><i>Inaccessible</i></source> 1342 <comment>hard disk</comment> 1305 1343 <translation type="unfinished"></translation> 1306 1344 </message> -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r1757 r1767 1466 1466 } 1467 1467 1468 /** 1469 * Shortcut to QLocale::system().name(). 1470 */ 1471 QString VBoxGlobal::languageID() const 1472 { 1473 return QLocale::system().name(); 1474 } 1475 1476 /** 1477 * Native language name of the currently installed translation. 1478 * Returns "English [built-in]" if no translation is installed 1479 * or if the translation file is invalid. 1480 */ 1481 QString VBoxGlobal::languageName() const 1482 { 1483 1484 return qApp->translate ("@@@", "English", 1485 "Native language name"); 1486 } 1487 1488 /** 1489 * Native language country name of the currently installed translation. 1490 * Returns "" if no translation is installed or if the translation file is 1491 * invalid, or if the language is independent on the country. 1492 */ 1493 QString VBoxGlobal::languageCountry() const 1494 { 1495 return qApp->translate ("@@@", "built-in", 1496 "Native language country name " 1497 "(empty if this language is for all countries)"); 1498 } 1499 1500 /** 1501 * Language name of the currently installed translation, in English. 1502 * Returns "English [built-in]" if no translation is installed 1503 * or if the translation file is invalid. 1504 */ 1505 QString VBoxGlobal::languageNameEnglish() const 1506 { 1507 1508 return qApp->translate ("@@@", "English", 1509 "Language name, in English"); 1510 } 1511 1512 /** 1513 * Language country name of the currently installed translation, in English. 1514 * Returns "" if no translation is installed or if the translation file is 1515 * invalid, or if the language is independent on the country. 1516 */ 1517 QString VBoxGlobal::languageCountryEnglish() const 1518 { 1519 return qApp->translate ("@@@", "built-in", 1520 "Language country name, in English " 1521 "(empty if native country name is empty)"); 1522 } 1523 1524 /** 1525 * Comma-separated list of authors of the currently installed translation. 1526 * Returns "InnoTek" if no translation is installed or if the translation 1527 * file is invalid, or if the translation is supplied by InnoTek. 1528 */ 1529 QString VBoxGlobal::languageTranslators() const 1530 { 1531 return qApp->translate ("@@@", "InnoTek", 1532 "Comma-separated list of translators"); 1533 } 1534 1468 1535 /** 1469 1536 * Changes the language of all global string constants according to the
Note:
See TracChangeset
for help on using the changeset viewer.