~ubuntu-branches/ubuntu/natty/virtualbox-ose/natty-updates

« back to all changes in this revision

Viewing changes to src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-10-15 02:12:28 UTC
  • mfrom: (0.3.10 upstream) (0.4.19 sid)
  • Revision ID: james.westby@ubuntu.com-20101015021228-5e6vbxgtes8mg189
Tags: 3.2.10-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - VirtualBox should go in Accessories, not in System tools.
    - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Add ubuntu-01-fix-build-gcc45.patch to fix FTBFS due to uninitalized
  variables. Thanks to Lubomir Rintel <lkundrak@v3.sk> for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2971
2971
/**
2972
2972
 *  Comma-separated list of authors of the currently installed translation.
2973
2973
 *  Returns "Oracle Corporation" if no translation is installed or if the
2974
 
 *  translation file is invalid, or if the translation is supplied by Sun
2975
 
 *  Microsystems, inc.
 
2974
 *  translation file is invalid, or if the translation is supplied by Oracle
 
2975
 *  Corporation
2976
2976
 */
2977
2977
QString VBoxGlobal::languageTranslators() const
2978
2978
{
3352
3352
        Assert (qtSysTr);
3353
3353
        if (qtSysTr && qtSysTr->load (languageFileName))
3354
3354
            qApp->installTranslator (qtSysTr);
3355
 
        /* Note that the Qt translation supplied by Sun is always loaded
 
3355
        /* Note that the Qt translation supplied by Oracle is always loaded
3356
3356
         * afterwards to make sure it will take precedence over the system
3357
3357
         * translation (it may contain more decent variants of translation
3358
3358
         * that better correspond to VirtualBox UI). We need to load both
3359
3359
         * because a newer version of Qt may be installed on the user computer
3360
 
         * and the Sun version may not fully support it. We don't do it on
 
3360
         * and the Oracle version may not fully support it. We don't do it on
3361
3361
         * Win32 because we supply a Qt library there and therefore the
3362
 
         * Sun translation is always the best one. */
 
3362
         * Oracle translation is always the best one. */
3363
3363
#endif
3364
3364
        languageFileName =  nlsDir.absoluteFilePath (QString ("qt_") +
3365
3365
                                                     sLoadedLangId +