1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Refactored some TRANS strings to make them more amenable to translation. Added the NEEDS_TRANS macro.

This commit is contained in:
jules 2013-05-05 17:13:53 +01:00
parent ffc9200ea7
commit 4d61bfd8a3
13 changed files with 101 additions and 89 deletions

View file

@ -102,7 +102,7 @@ FileBrowserComponent::FileBrowserComponent (int flags_,
addAndMakeVisible (goUpButton = getLookAndFeel().createFileBrowserGoUpButton());
goUpButton->addListener (this);
goUpButton->setTooltip (TRANS ("go up to parent directory"));
goUpButton->setTooltip (TRANS ("Go up to parent directory"));
if (previewComp != nullptr)
addAndMakeVisible (previewComp);
@ -523,7 +523,7 @@ void FileBrowserComponent::getRoots (StringArray& rootNames, StringArray& rootPa
}
else if (drive.isOnCDRomDrive())
{
name << TRANS(" [CD/DVD drive]");
name << " [" << TRANS("CD/DVD drive") << ']';
}
rootNames.add (name);