VirtualBox

Changeset 37912 in vbox


Ignore:
Timestamp:
Jul 13, 2011 11:21:36 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72816
Message:

FE/Qt: New virtual disk wizard: Fixing bugs in NLS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWizard.cpp

    r37849 r37912  
    298298    /* Translate 'welcome' page: */
    299299    setTitle(UINewHDWizard::tr("Welcome to the virtual disk copying wizard"));
    300     m_pLabel->setText("<p>This wizard will help you to copy a virtual disk.</p>");
     300    m_pLabel->setText(UINewHDWizard::tr("<p>This wizard will help you to copy a virtual disk.</p>"));
    301301
    302302    /* Append page text with common part: */
     
    304304
    305305    /* Append page text for source virtual disk part: */
    306     m_pLabel->setText(m_pLabel->text() + QString("Please select the virtual disk which you would like to "
    307                                                  "copy if it is not already selected. You can either choose one "
    308                                                  "from the list or use the folder icon beside the list to "
    309                                                  "select a virtual disk file."));
     306    m_pLabel->setText(m_pLabel->text() + UINewHDWizard::tr("Please select the virtual disk which you would like to "
     307                                                           "copy if it is not already selected. You can either choose one "
     308                                                           "from the list or use the folder icon beside the list to "
     309                                                           "select a virtual disk file."));
    310310}
    311311
     
    401401        case UINewHDWizardType_Creating:
    402402            setTitle(UINewHDWizard::tr("Welcome to the virtual disk creation wizard"));
    403             m_pLabel->setText("<p>This wizard will help you to create a new virtual disk for your virtual machine.</p>");
     403            m_pLabel->setText(UINewHDWizard::tr("<p>This wizard will help you to create a new virtual disk for your virtual machine.</p>"));
    404404            m_pLabel->setText(m_pLabel->text() + QString("<p>%1</p>").arg(standardHelpText()));
    405             m_pLabel->setText(m_pLabel->text() + QString("<p>Please choose the type of file that you would like to use for the new virtual disk. "
    406                                                          "If you do not need to use it with other virtualization software you can leave this setting unchanged.</p>"));
     405            m_pLabel->setText(m_pLabel->text() + UINewHDWizard::tr("<p>Please choose the type of file that you would like to use for the new virtual disk. "
     406                                                                   "If you do not need to use it with other virtualization software you can leave this setting unchanged.</p>"));
    407407            break;
    408408        case UINewHDWizardType_Copying:
    409409            setTitle(UINewHDWizard::tr("Virtual disk file type"));
    410             m_pLabel->setText("Please choose the type of file that you would like to use for the new virtual disk. "
    411                               "If you do not need to use it with other virtualization software you can leave this setting unchanged.");
     410            m_pLabel->setText(UINewHDWizard::tr("Please choose the type of file that you would like to use for the new virtual disk. "
     411                                                "If you do not need to use it with other virtualization software you can leave this setting unchanged."));
    412412            break;
    413413        default:
     
    531531    /* Translate 'variant' page: */
    532532    setTitle(UINewHDWizard::tr("Virtual disk storage details"));
    533     m_pLabel->setText("Please choose whether the new virtual disk file should be allocated as it is used or if it should be created fully allocated.");
     533    m_pLabel->setText(UINewHDWizard::tr("Please choose whether the new virtual disk file should be allocated as it is used or if it should be created fully allocated."));
    534534
    535535    /* Translate other text: */
     
    685685            m_strDefaultPath = QFileInfo(sourceHardDisk.GetLocation()).absolutePath();
    686686            /* Default name: */
    687             m_strMediumName = tr("%1_copy", "copied virtual disk name").arg(QFileInfo(sourceHardDisk.GetLocation()).baseName());
     687            m_strMediumName = UINewHDWizard::tr("%1_copy", "copied virtual disk name").arg(QFileInfo(sourceHardDisk.GetLocation()).baseName());
    688688            /* Initialize size: */
    689689            m_uMediumSize = sourceHardDisk.GetLogicalSize();
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette