mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Add more improvements to the English translation. (#376)
This commit is contained in:

committed by
Florian Rival

parent
0f4d73fae3
commit
34f1c5ae49
@@ -146,7 +146,7 @@ ChooseVariableDialog::ChooseVariableDialog(wxWindow* parent, gd::VariablesContai
|
||||
toolbar->SetToolBitmapSize( wxSize( 16, 16 ) );
|
||||
toolbar->AddTool( idAddVar, _( "Add a variable" ), gd::SkinHelper::GetIcon("add", 16), _("Add a variable") );
|
||||
toolbar->AddTool( idEditVar, _( "Edit the initial value of the variable" ), gd::SkinHelper::GetIcon("edit", 16), _("Edit the initial value of the variable") );
|
||||
toolbar->AddTool( idRenameVar, _( "Rename variable" ), gd::SkinHelper::GetIcon("editname", 16), _("Rename variable") );
|
||||
toolbar->AddTool( idRenameVar, _( "Rename the variable" ), gd::SkinHelper::GetIcon("editname", 16), _("Rename the variable") );
|
||||
toolbar->AddTool( idDelVar, _( "Delete the selected variable" ), gd::SkinHelper::GetIcon("delete", 16), _("Delete the selected variable") );
|
||||
toolbar->AddSeparator();
|
||||
toolbar->AddTool( idMoveUpVar, _( "Move up" ), gd::SkinHelper::GetIcon("up", 16), _("Move up") );
|
||||
|
@@ -494,7 +494,7 @@ void LayoutEditorCanvas::LaunchPreview()
|
||||
void LayoutEditorCanvas::OnEditionBtClick( wxCommandEvent & event )
|
||||
{
|
||||
if ( editing ) return;
|
||||
std::cout << "Switching to edition mode..." << std::endl;
|
||||
std::cout << "Switching to editing mode..." << std::endl;
|
||||
editing = true;
|
||||
|
||||
//Notice the previewer it must stop preview.
|
||||
@@ -1127,7 +1127,7 @@ void LayoutEditorCanvas::OnMotion(wxMouseEvent &)
|
||||
double mouseX = GetMouseXOnLayout();
|
||||
double mouseY = GetMouseYOnLayout();
|
||||
|
||||
gd::LogStatus( wxString::Format( wxString(_( "Position %f;%f. SHIFT for multiple selection, right click for more options." )),
|
||||
gd::LogStatus( wxString::Format( wxString(_( "Position %f;%f. Hold SHIFT to select multiple items, and right-click for more options." )),
|
||||
mouseX, mouseY ));
|
||||
|
||||
//Check if there is a gui element hovered inside the layout
|
||||
|
@@ -103,7 +103,7 @@ ProjectExtensionsDialog::ProjectExtensionsDialog(wxWindow* parent, gd::Project &
|
||||
FlexGridSizer6->AddGrowableCol(0);
|
||||
platformList = new wxListCtrl(this, ID_LISTCTRL1, wxDefaultPosition, wxSize(713,106), wxLC_REPORT|wxLC_NO_HEADER, wxDefaultValidator, _T("ID_LISTCTRL1"));
|
||||
FlexGridSizer6->Add(platformList, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
StaticText1 = new wxStaticText(this, ID_STATICTEXT1, _("Right click to add or remove a platform.\nPlatforms which are not used by the project are grayed."), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT, _T("ID_STATICTEXT1"));
|
||||
StaticText1 = new wxStaticText(this, ID_STATICTEXT1, _("Right-click to add or remove a platform.\nPlatforms that are not used by the project are grayed."), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT, _T("ID_STATICTEXT1"));
|
||||
FlexGridSizer6->Add(StaticText1, 1, wxALL|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 5);
|
||||
FlexGridSizer1->Add(FlexGridSizer6, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
|
||||
FlexGridSizer12 = new wxFlexGridSizer(0, 3, 0, 0);
|
||||
@@ -171,9 +171,9 @@ ProjectExtensionsDialog::ProjectExtensionsDialog(wxWindow* parent, gd::Project &
|
||||
FlexGridSizer3->Add(-1,-1,1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
|
||||
StaticBoxSizer3 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("More extensions"));
|
||||
FlexGridSizer11 = new wxFlexGridSizer(0, 1, 0, 0);
|
||||
StaticText6 = new wxStaticText(this, ID_STATICTEXT8, _("A list of extensions provided by others developers is available on the wiki :"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT8"));
|
||||
StaticText6 = new wxStaticText(this, ID_STATICTEXT8, _("If you create new extensions for GDevelop, please share them here :"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT8"));
|
||||
FlexGridSizer11->Add(StaticText6, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
HyperlinkCtrl1 = new wxHyperlinkCtrl(this, ID_HYPERLINKCTRL1, _("Go to the wiki unofficial extensions page"), _("http://compilgames.net/wiki/doku.php/game_develop/extensions"), wxDefaultPosition, wxDefaultSize, wxHL_CONTEXTMENU|wxHL_ALIGN_CENTRE|wxNO_BORDER, _T("ID_HYPERLINKCTRL1"));
|
||||
HyperlinkCtrl1 = new wxHyperlinkCtrl(this, ID_HYPERLINKCTRL1, _("Go to the Wiki page for unofficial extensions"), _("http://wiki.compilgames.net/doku.php/gdevelop/extensions"), wxDefaultPosition, wxDefaultSize, wxHL_CONTEXTMENU|wxHL_ALIGN_CENTRE|wxNO_BORDER, _T("ID_HYPERLINKCTRL1"));
|
||||
FlexGridSizer11->Add(HyperlinkCtrl1, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);
|
||||
StaticBoxSizer3->Add(FlexGridSizer11, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
|
||||
FlexGridSizer3->Add(StaticBoxSizer3, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
@@ -191,7 +191,7 @@ ProjectExtensionsDialog::ProjectExtensionsDialog(wxWindow* parent, gd::Project &
|
||||
helpBt->SetToolTip(_("Display help about this window"));
|
||||
FlexGridSizer17->Add(helpBt, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
FlexGridSizer4->Add(FlexGridSizer17, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 0);
|
||||
StaticText2 = new wxStaticText(this, ID_STATICTEXT2, _("Close and reopen scene editors so as to take in account newly added extensions."), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT2"));
|
||||
StaticText2 = new wxStaticText(this, ID_STATICTEXT2, _("You must close and reopen scene editors for newly-added extensions to become active."), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT2"));
|
||||
wxFont StaticText2Font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
||||
if ( !StaticText2Font.Ok() ) StaticText2Font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
||||
StaticText2Font.SetStyle(wxFONTSTYLE_ITALIC);
|
||||
|
@@ -148,7 +148,7 @@ std::unique_ptr<RuntimeObject> CppPlatform::CreateRuntimeObject(RuntimeScene & s
|
||||
#if defined(GD_IDE_ONLY)
|
||||
gd::String CppPlatform::GetDescription() const
|
||||
{
|
||||
return _("Allows to create 2D games which can be compiled and played on Windows or Linux.");
|
||||
return _("Allows you to create 2D games that can be compiled and played on Windows or Linux.");
|
||||
}
|
||||
|
||||
#if !defined(GD_NO_WX_GUI)
|
||||
|
@@ -205,7 +205,7 @@ void CppLayoutPreviewer::RefreshFromLayout()
|
||||
if ( editor.GetLayout().CompilationNeeded() && !CodeCompiler::Get()->HasTaskRelatedTo(editor.GetLayout()) )
|
||||
{
|
||||
CodeCompilationHelpers::CreateSceneEventsCompilationTask(editor.GetProject(), editor.GetLayout());
|
||||
mainFrameWrapper.GetInfoBar()->ShowMessage(_("Changes made to events will be taken into account when you switch to Edition mode"));
|
||||
mainFrameWrapper.GetInfoBar()->ShowMessage(_("Changes made to events will be taken into account when you switch to Editing mode"));
|
||||
}
|
||||
|
||||
return; //RefreshFromLayoutSecondPart() will be called by OnUpdate() when appropriate
|
||||
|
@@ -32,7 +32,7 @@ public:
|
||||
virtual gd::String GetName() const { return "GDevelop JS platform"; }
|
||||
virtual gd::String GetFullName() const { return _("HTML5 (Web and Android games)"); }
|
||||
virtual gd::String GetSubtitle() const { return _("HTML5 and javascript based games for web browsers."); }
|
||||
virtual gd::String GetDescription() const { return _("2D games which can be played in a web browser or exported to Android with third-party tools."); }
|
||||
virtual gd::String GetDescription() const { return _("Enables the creation of 2D games that can be played in web browsers. These can also be exported to Android with third-party tools."); }
|
||||
virtual gd::String GetIcon() const { return "JsPlatform/icon32.png"; }
|
||||
|
||||
/** \brief The name of the function searched in an extension file to create the extension
|
||||
|
@@ -279,7 +279,7 @@ BaseStartHerePage::BaseStartHerePage(wxWindow* parent, wxWindowID id, const wxPo
|
||||
|
||||
bottomSizer->Add(localeBmp, 0, wxALL|wxALIGN_CENTER_VERTICAL, 4);
|
||||
|
||||
m_hyperLink572 = new wxHyperlinkCtrl(this, wxID_ANY, _("Help to translate GD in your language"), wxT("https://crowdin.com/project/gdevelop"), wxDefaultPosition, wxSize(-1,-1), wxHL_DEFAULT_STYLE);
|
||||
m_hyperLink572 = new wxHyperlinkCtrl(this, wxID_ANY, _("Help by translating GD to your language"), wxT("https://crowdin.com/project/gdevelop"), wxDefaultPosition, wxSize(-1,-1), wxHL_DEFAULT_STYLE);
|
||||
m_hyperLink572->SetNormalColour(wxColour(wxT("#0000FF")));
|
||||
m_hyperLink572->SetHoverColour(wxColour(wxT("#0000FF")));
|
||||
m_hyperLink572->SetVisitedColour(wxColour(wxT("#FF0000")));
|
||||
|
@@ -544,9 +544,9 @@ void EventsEditor::OneventsPanelPaint(wxPaintEvent& event)
|
||||
|
||||
wxString text;
|
||||
if ( events->IsEmpty() )
|
||||
text = _("Add an event with the ribbon.\nHighlight then an event/action/condition with the cursor to get more edition options,\nor make a double click to edit an item.");
|
||||
text = _("Add an event with the ribbon.\nHighlight an event/action/condition with the cursor to get more editing options,\nor double-click to edit an item.");
|
||||
else
|
||||
text = _("Highlight then an event/action/condition with the cursor to get more edition options,\nor make a double click to edit an item.");
|
||||
text = _("Highlight an event/action/condition with the cursor to get more editing options,\nor double-click to edit an item.");
|
||||
dc.SetTextForeground(wxColor(0,0,0));
|
||||
dc.SetFont(gd::EventsRenderingHelper::Get()->GetNiceFont());
|
||||
dc.DrawLabel(text,
|
||||
|
@@ -59,8 +59,8 @@
|
||||
#include "BuildToolsPnl.h"
|
||||
#include "Preferences.h"
|
||||
#include "ExternalEventsEditor.h"
|
||||
#include "Dialogs/ExternalLayoutEditor.h"
|
||||
#include "mp3ogg.h"
|
||||
#include "Dialogs/ExternalLayoutEditor.h"
|
||||
#include "mp3ogg.h"
|
||||
#include "ImportImage.h"
|
||||
#include "Dialogs/StartHerePage.h"
|
||||
#include "Dialogs/ProjectPropertiesPnl.h"
|
||||
@@ -175,7 +175,7 @@ MainFrame::MainFrame( wxWindow* parent ) :
|
||||
MenuItem41 = new wxMenuItem((&decomposerContextMenu), ID_MENUITEM4, _("Decompose an animated GIF"), wxEmptyString, wxITEM_NORMAL);
|
||||
MenuItem41->SetBitmap(wxBitmap(wxImage(_T("res/importgif.png"))));
|
||||
decomposerContextMenu.Append(MenuItem41);
|
||||
MenuItem42 = new wxMenuItem((&decomposerContextMenu), ID_MENUITEM5, _("Decompose a RPG Maker character"), wxEmptyString, wxITEM_NORMAL);
|
||||
MenuItem42 = new wxMenuItem((&decomposerContextMenu), ID_MENUITEM5, _("Decompose an RPG Maker character"), wxEmptyString, wxITEM_NORMAL);
|
||||
MenuItem42->SetBitmap(wxBitmap(wxImage(_T("res/importrpgmaker.png"))));
|
||||
decomposerContextMenu.Append(MenuItem42);
|
||||
MenuItem43 = new wxMenuItem((&decomposerContextMenu), ID_MENUITEM6, _("Decompose a spritesheet"), wxEmptyString, wxITEM_NORMAL);
|
||||
|
@@ -297,7 +297,7 @@ changesNeedRestart(false)
|
||||
StaticBoxSizer5 = new wxStaticBoxSizer(wxHORIZONTAL, Panel3, _("External programs"));
|
||||
FlexGridSizer11 = new wxFlexGridSizer(0, 3, 0, 0);
|
||||
FlexGridSizer11->AddGrowableCol(1);
|
||||
StaticText6 = new wxStaticText(Panel3, ID_STATICTEXT6, _("Images\' edition:"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT6"));
|
||||
StaticText6 = new wxStaticText(Panel3, ID_STATICTEXT6, _("Image Editor:"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT6"));
|
||||
FlexGridSizer11->Add(StaticText6, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
EditeurImageEdit = new wxTextCtrl(Panel3, ID_TEXTCTRL3, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL3"));
|
||||
EditeurImageEdit->SetToolTip(_("Path to the image editing program."));
|
||||
@@ -312,7 +312,7 @@ changesNeedRestart(false)
|
||||
StaticText8 = new wxStaticText(Panel3, ID_STATICTEXT8, _("Temporary deployment directory:"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT8"));
|
||||
FlexGridSizer13->Add(StaticText8, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
DossierTempCompEdit = new wxTextCtrl(Panel3, ID_TEXTCTRL4, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL4"));
|
||||
DossierTempCompEdit->SetToolTip(_("Folder used to store temporary files when compiling a game.\nWe must own write permissions on this folder.\nIf empty, the default temporary folder of the system is used."));
|
||||
DossierTempCompEdit->SetToolTip(_("Folder used to store temporary files when compiling a game.\nYou must have write permissions for this folder.\nIf empty, the default temporary folder of the system is used."));
|
||||
FlexGridSizer13->Add(DossierTempCompEdit, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
|
||||
BrowseDossierTempBt = new wxButton(Panel3, ID_BUTTON4, _("Browse"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON4"));
|
||||
FlexGridSizer13->Add(BrowseDossierTempBt, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
@@ -322,12 +322,12 @@ changesNeedRestart(false)
|
||||
StaticText21 = new wxStaticText(Panel3, ID_STATICTEXT21, _("Temporary folder for compilation:"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT21"));
|
||||
FlexGridSizer31->Add(StaticText21, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
eventsCompilerTempDirEdit = new wxTextCtrl(Panel3, ID_TEXTCTRL6, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL6"));
|
||||
eventsCompilerTempDirEdit->SetToolTip(_("Folder used to store temporary files when compiling a game.\nWe must own write permissions on this folder.\nIf empty, the default temporary folder of the system is used."));
|
||||
eventsCompilerTempDirEdit->SetToolTip(_("Folder used to store temporary files when compiling a game.\nYou must have write permissions for this folder.\nIf empty, the default temporary folder of the system is used."));
|
||||
FlexGridSizer31->Add(eventsCompilerTempDirEdit, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
|
||||
browseCompilationTempDir = new wxButton(Panel3, ID_BUTTON12, _("Browse"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON12"));
|
||||
FlexGridSizer31->Add(browseCompilationTempDir, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
StaticBoxSizer6->Add(FlexGridSizer31, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 0);
|
||||
deleteTemporariesCheck = new wxCheckBox(Panel3, ID_CHECKBOX7, _("Delete temporaries as soon as possible"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_CHECKBOX7"));
|
||||
deleteTemporariesCheck = new wxCheckBox(Panel3, ID_CHECKBOX7, _("Delete temporary files as soon as possible"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_CHECKBOX7"));
|
||||
deleteTemporariesCheck->SetValue(true);
|
||||
StaticBoxSizer6->Add(deleteTemporariesCheck, 1, wxALL|wxALIGN_LEFT|wxALIGN_TOP, 5);
|
||||
FlexGridSizer15->Add(StaticBoxSizer6, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
|
||||
@@ -337,7 +337,7 @@ changesNeedRestart(false)
|
||||
StaticText24 = new wxStaticText(Panel3, ID_STATICTEXT24, _("Directory containing the Java executable:"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT24"));
|
||||
FlexGridSizer34->Add(StaticText24, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
javaDirEdit = new wxTextCtrl(Panel3, ID_TEXTCTRL8, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL8"));
|
||||
javaDirEdit->SetToolTip(_("Folder used to store temporary files when compiling a game.\nWe must own write permissions on this folder.\nIf empty, the default temporary folder of the system is used."));
|
||||
javaDirEdit->SetToolTip(_("Folder used to store temporary files when compiling a game.\nYou must have write permissions for this folder.\nIf empty, the default temporary folder of the system is used."));
|
||||
FlexGridSizer34->Add(javaDirEdit, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
|
||||
browseJavaBt = new wxButton(Panel3, ID_BUTTON15, _("Browse"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON15"));
|
||||
FlexGridSizer34->Add(browseJavaBt, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
||||
|
Reference in New Issue
Block a user