Browse Source

Fixed a couple of typos in file chooser messages.

tags/2021-05-28
jules 11 years ago
parent
commit
fd5df871ed
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.cpp
  2. +1
    -1
      modules/juce_gui_extra/documents/juce_FileBasedDocument.cpp

+ 1
- 1
modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.cpp View File

@@ -203,7 +203,7 @@ void FileChooserDialogBox::okButtonPressed()
{
AlertWindow::showOkCancelBox (AlertWindow::WarningIcon,
TRANS("File already exists"),
TRANS("There's already a file called: FLMN")
TRANS("There's already a file called: FLNM")
.replace ("FLNM", content->chooserComponent.getSelectedFile(0).getFullPathName())
+ "\n\n"
+ TRANS("Are you sure you want to overwrite it?"),


+ 1
- 1
modules/juce_gui_extra/documents/juce_FileBasedDocument.cpp View File

@@ -119,7 +119,7 @@ static bool askToOverwriteFile (const File& newFile)
{
return AlertWindow::showOkCancelBox (AlertWindow::WarningIcon,
TRANS("File already exists"),
TRANS("There's already a file called: FLMN")
TRANS("There's already a file called: FLNM")
.replace ("FLNM", newFile.getFullPathName())
+ "\n\n"
+ TRANS("Are you sure you want to overwrite it?"),


Loading…
Cancel
Save