Commit ce865dde authored by Piotr Drąg's avatar Piotr Drąg 😐

String fix-ups

parent f4cc4065
Pipeline #103637 failed with stage
in 1 minute and 52 seconds
......@@ -68,7 +68,7 @@ Off-canvas objects are removed and the SVG is optimised for size</property>
</child>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">Save Regular as...</property>
<property name="label" translatable="yes">Save Regular As…</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -130,7 +130,7 @@ Off-canvas objects are removed and the SVG is optimised for size</property>
</child>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">Save Nightly as...</property>
<property name="label" translatable="yes">Save Nightly As…</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......
......@@ -58,7 +58,7 @@ Off-canvas objects are removed and the SVG is optimised for size</property>
</child>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">Save Symbolic as...</property>
<property name="label" translatable="yes">Save Symbolic As…</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......
......@@ -10,7 +10,7 @@
<property name="visible">True</property>
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes">Application</property>
<property name="title" translatable="yes" context="shortcut window">Application</property>
<property name="visible">True</property>
<child>
<object class="GtkShortcutsShortcut">
......@@ -30,7 +30,7 @@
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="accelerator">&lt;primary&gt;&lt;shift&gt;o</property>
<property name="title" translatable="yes" context="shortcut window">Open the recents list</property>
<property name="title" translatable="yes" context="shortcut window">Open the recent list</property>
</object>
</child>
<child>
......@@ -51,7 +51,7 @@
</child>
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes">View</property>
<property name="title" translatable="yes" context="shortcut window">View</property>
<property name="visible">True</property>
<child>
<object class="GtkShortcutsShortcut">
......@@ -78,7 +78,7 @@
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="accelerator">&lt;primary&gt;&lt;alt&gt;s</property>
<property name="title" translatable="yes" context="shortcut window">Take Screenshot</property>
<property name="title" translatable="yes" context="shortcut window">Take screenshot</property>
</object>
</child>
<child>
......
......@@ -78,7 +78,7 @@ namespace IconPreview {
var styles = new CssProvider();
styles.load_from_resource("/org/gnome/IconPreview/gtk/style.css");
// Use of uint.MAX isn't ideal but we are effectivly in an arms race
// Use of uint.MAX isn't ideal but we are effectively in an arms race
StyleContext.add_provider_for_screen(Gdk.Screen.get_default(), styles, uint.MAX);
set_accels_for_action ("win.open", { "<primary>O" });
......@@ -99,7 +99,7 @@ namespace IconPreview {
// If opening the palette directly
if (options.contains("palette")) {
cli.printerr(_("Palette is all grown up!\n" +
"It's not available seperatly as org.gnome.zbrown.Palette"));
"It’s now available separately as org.gnome.zbrown.Palette"));
// Don't activate normally
return 0;
......
......@@ -53,7 +53,7 @@ namespace IconPreview {
var file = File.new_build_filename(Environment.get_home_dir(), "Projects", "Icons", name, null);
dlg.set_file(file);
} catch (Error e) {
warning("Can't set inital file: %s", e.message);
warning("Can't set initial file: %s", e.message);
}
var any = new Gtk.FileFilter ();
......
......@@ -71,7 +71,7 @@ namespace IconPreview {
info_bar.add_action_widget(rename_button, 0);
var content_area = info_bar.get_content_area();
var warning_label = new Label(_("The icon is not recoloring because the file name needs to end in \"-symbolic\""));
var warning_label = new Label(_("The icon is not recoloring because the file name needs to end in “-symbolic”"));
warning_label.halign = START;
warning_label.set_valign(CENTER);
warning_label.show();
......
......@@ -110,7 +110,7 @@
<property name="wrap">true</property>
<property name="max-width-chars">28</property>
<property name="justify">center</property>
<property name="label" translatable="yes">An application's identity</property>
<property name="label" translatable="yes">An applications identity</property>
</object>
<packing>
<property name="left_attach">0</property>
......
......@@ -45,7 +45,7 @@ namespace IconPreview {
}
// Colour (App) icons must be 128 by 128 and
// and can contain a simbolic icon
// and can contain a symbolic icon
if (hicolor.height == 128 && hicolor.width == 128) {
mode = COLOUR;
// Whereas symbolics are 16 by 16
......@@ -164,7 +164,7 @@ namespace IconPreview {
view.exporter.close.connect(() => pop.popdown());
exportbtn.popover = pop;
if (old is Previewer) {
// Effectivly close the old previewer
// Effectively close the old previewer
old.destroy();
} else {
// We have an open file now
......
......@@ -34,7 +34,7 @@ namespace IconPreview {
if (mode == SYMBOLIC) {
title = _("New Symbolic Icon");
icon_type.label = _("Icon Name");
desc.label = _("All lowercase with dashes between words, e.g list-add");
desc.label = _("All lowercase with dashes between words, e.g. list-add");
} else {
title = _("New App Icon");
icon_type.label = _("App Name");
......@@ -46,10 +46,10 @@ namespace IconPreview {
accept_button.sensitive = icon_title.text.length > 0;
if (mode == SYMBOLIC && !("-" in icon_title.text)) {
icon_title.secondary_icon_name = "dialog-warning-symbolic";
icon_title.secondary_icon_tooltip_text = _("Expecting at least one '-'");
icon_title.secondary_icon_tooltip_text = _("Expecting at least one “-”");
} else if (mode == COLOUR && !("." in icon_title.text)) {
icon_title.secondary_icon_name = "dialog-warning-symbolic";
icon_title.secondary_icon_tooltip_text = _("Expecting at least one '.'");
icon_title.secondary_icon_tooltip_text = _("Expecting at least one “.”");
} else {
icon_title.secondary_icon_name = null;
icon_title.secondary_icon_tooltip_text = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment