editor strings

This commit is contained in:
Tomasz Śniatowski 2008-11-22 14:24:34 +01:00
parent 22a3b43a25
commit 71be6f8a52
3 changed files with 10 additions and 10 deletions

View file

@ -4,19 +4,19 @@
[editor2_tool_hint]
# wmllint: local spelling left/right
id="editor-tool-paint"
text= _ "Use left/right mouse button to draw fore-/background terrain. Hold Shift to paint base layer only"
text= _ "Use left/right mouse button to draw fore-/background terrain. Hold Shift to paint base layer only."
[/editor2_tool_hint]
[editor2_tool_hint]
# wmllint: local spelling fore-/background
id="editor-tool-fill"
text= _ "Use left/right mouse button to draw fore-/background terrain. Hold Shift to paint base layer only"
text= _ "Use left/right mouse button to draw fore-/background terrain. Hold Shift to paint base layer only."
[/editor2_tool_hint]
[editor2_tool_hint]
# wmllint: local spelling deselects
id="editor-tool-select"
text= _ "Left mouse button selects, right deselects. Hold Shift for magic-wand selection of tiles with same terrain"
text= _ "Left mouse button selects, right deselects. Hold Shift for magic-wand selection of tiles with same terrain."
[/editor2_tool_hint]
[editor2_tool_hint]
@ -27,5 +27,5 @@
[editor2_tool_hint]
id="editor-paste"
text= _ "Click to paste."
text= _ "Click to paste. Use the edit menu to transform the clipboard (rotate, mirror)."
[/editor2_tool_hint]

View file

@ -43,7 +43,7 @@
[column]
[label]
definition = "default"
label = _ "Time of day lightning preset"
label = _ "Time of day lighting preset"
[/label]
[/column]
[/row]
@ -80,7 +80,7 @@
[toggle_button]
id = "custom_tod_toggle"
definition = "default"
label = _ "Custom lightning setting"
label = _ "Custom lighting setting"
[/toggle_button]
[/column]
[column]

View file

@ -360,8 +360,8 @@ void editor_controller::editor_settings_dialog_redraw_callback(int r, int g, int
bool editor_controller::confirm_discard()
{
if (get_map_context().modified()) {
return !gui::dialog(gui(), _("There are unsaved changes in the map"),
_("Do you want to discard all changes you made to the map?"), gui::YES_NO).show();
return !gui::dialog(gui(), _("Unsaved Changes"),
_("Do you want to discard all changes you made to the map since the last save?"), gui::YES_NO).show();
} else {
return true;
}
@ -374,7 +374,7 @@ void editor_controller::load_map_dialog()
if (fn.empty()) {
fn = default_dir_;
}
int res = dialogs::show_file_chooser_dialog(gui(), fn, _("Choose a Map to Load"));
int res = dialogs::show_file_chooser_dialog(gui(), fn, _("Choose a Map to Open"));
if (res == 0) {
for (size_t i = 0; i < map_contexts_.size(); ++i) {
if (map_contexts_[i]->get_filename() == fn) {
@ -420,7 +420,7 @@ void editor_controller::save_map_as_dialog()
if (res == 0) {
if (file_exists(input_name)) {
overwrite_res = gui::dialog(gui(), "",
_("The map already exists. Do you want to overwrite it?"),
_("The file already exists. Do you want to overwrite it?"),
gui::YES_NO).show();
} else {
overwrite_res = 0;