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:
parent
ffc9200ea7
commit
4d61bfd8a3
13 changed files with 101 additions and 89 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue