Commit 86d58316 authored by Piotr Drąg's avatar Piotr Drąg 😐

Use Unicode in translatable strings

See https://developer.gnome.org/hig/stable/typography.html
parent 4db225b6
......@@ -61,13 +61,13 @@
<tool id="12" enabled="false" extensions=".tex" icon="compile_pdf">
<label its:translate="no">LaTeX → PDF (pdflatex)</label>
<description>Create a PDF file from LaTeX sources with the "pdflatex" command</description>
<description>Create a PDF file from LaTeX sources with the “pdflatex” command</description>
<job postProcessor="latex">pdflatex -interaction=nonstopmode -synctex=1 $filename</job>
</tool>
<tool id="13" enabled="false" extensions=".tex" icon="compile_dvi">
<label its:translate="no">LaTeX → DVI (latex)</label>
<description>Create a DVI file from LaTeX sources with the "latex" command</description>
<description>Create a DVI file from LaTeX sources with the “latex” command</description>
<job postProcessor="latex">latex -interaction=nonstopmode -synctex=1 $filename</job>
</tool>
......
......@@ -24,12 +24,12 @@
<key name="use-default-font" type="b">
<default>true</default>
<summary>Use Default Font</summary>
<description>Whether to use the system's default fixed width font for editing text instead of a font specific to GNOME LaTeX. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</description>
<description>Whether to use the system’s default fixed width font for editing text instead of a font specific to GNOME LaTeX. If this option is turned off, then the font named in the “Editor Font” option will be used instead of the system font.</description>
</key>
<key name="editor-font" type="s">
<default>'Monospace 10'</default>
<summary>Editor Font</summary>
<description>A custom font that will be used for the editing area. This will only take effect if the "Use Default Font" option is turned off.</description>
<description>A custom font that will be used for the editing area. This will only take effect if the “Use Default Font” option is turned off.</description>
</key>
<key name="scheme" type="s">
<default>'tango'</default>
......@@ -44,13 +44,13 @@
<key name="auto-save" type="b">
<default>false</default>
<summary>Autosave</summary>
<description>Whether GNOME LaTeX should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</description>
<description>Whether GNOME LaTeX should automatically save modified files after a time interval. You can set the time interval with the “Autosave Interval” option.</description>
</key>
<key name="auto-save-interval" type="u">
<range min="1" max="100" />
<default>10</default>
<summary>Autosave Interval</summary>
<description>Number of minutes after which GNOME LaTeX will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</description>
<description>Number of minutes after which GNOME LaTeX will automatically save modified files. This will only take effect if the “Autosave” option is turned on.</description>
</key>
<key name="reopen-files" type="b">
<default>true</default>
......@@ -104,12 +104,12 @@
<key name="main-toolbar-visible" type="b">
<default>true</default>
<summary>Main toolbar is visible</summary>
<description>Whether the main toolbar (file open, close, build, ...) should be visible.</description>
<description>Whether the main toolbar (file open, close, build) should be visible.</description>
</key>
<key name="edit-toolbar-visible" type="b">
<default>true</default>
<summary>Edit toolbar is visible</summary>
<description>Whether the edit toolbar (bold, italic, character sizes, ...) should be visible.</description>
<description>Whether the edit toolbar (bold, italic, character sizes) should be visible.</description>
</key>
<key name="side-panel-visible" type="b">
<default>true</default>
......@@ -124,7 +124,7 @@
<key name="side-panel-component" type="i">
<default>0</default>
<summary>Side panel component</summary>
<description>Side panel's active component. 0: Symbols. 1: File browser. 2: Structure.</description>
<description>Side panels active component. 0: Symbols. 1: File browser. 2: Structure.</description>
</key>
<key name="show-build-warnings" type="b">
<default>true</default>
......@@ -146,7 +146,7 @@
<range min="0" max="8" />
<default>2</default>
<summary>Minimum number of characters for interactive completion</summary>
<description>Minimum number of characters after "\" for the interactive completion of LaTeX commands</description>
<description>Minimum number of characters after “\” for the interactive completion of LaTeX commands</description>
</key>
<key name="no-confirm-clean" type="b">
<default>false</default>
......
......@@ -268,7 +268,7 @@ public class BuildToolDialog : GLib.Object
{
ToolButton add_button = new ToolButton (null, null);
add_button.set_icon_name ("list-add-symbolic");
add_button.set_tooltip_text (_("Add..."));
add_button.set_tooltip_text (_("Add"));
add_button.clicked.connect (() =>
{
......@@ -617,12 +617,12 @@ public class BuildToolDialog : GLib.Object
Label placeholder_filename = new Label ("$filename");
placeholder_filename.set_tooltip_text (
_("The active document's filename.") + "\n" +
_("The active documents filename.") + "\n" +
_("If the active document belongs to a project, the main file is chosen."));
Label placeholder_shortname = new Label ("$shortname");
placeholder_shortname.set_tooltip_text (
_("The active document's filename without its extension.") + "\n" +
_("The active documents filename without its extension.") + "\n" +
_("If the active document belongs to a project, the main file is chosen."));
Grid placeholders_grid = new Grid ();
......
......@@ -294,7 +294,7 @@ public class BuildToolsPreferences : GLib.Object
{
ToolButton add_button = new ToolButton (null, null);
add_button.set_icon_name ("list-add-symbolic");
add_button.set_tooltip_text (_("Add..."));
add_button.set_tooltip_text (_("Add"));
add_button.clicked.connect (() =>
{
......@@ -329,7 +329,7 @@ public class BuildToolsPreferences : GLib.Object
Dialog dialog = new MessageDialog (_dialog,
DialogFlags.DESTROY_WITH_PARENT | DialogFlags.MODAL,
MessageType.QUESTION, ButtonsType.NONE,
_("Do you really want to delete the build tool \"%s\"?"),
_("Do you really want to delete the build tool “%s”?"),
label);
dialog.add_buttons (_("_Cancel"), ResponseType.CANCEL,
......
......@@ -126,7 +126,7 @@ namespace Dialogs
/* secondary label */
Label secondary_label = new Label (
_("If you don't save, all your changes will be permanently lost."));
_("If you dont save, all your changes will be permanently lost."));
secondary_label.set_line_wrap (true);
secondary_label.set_halign (Align.START);
secondary_label.set_selectable (true);
......
......@@ -125,7 +125,7 @@ public class Document : Tepl.Buffer
if (tab != null)
{
string primary_msg = _("Impossible to load the file '%s'.")
string primary_msg = _("Impossible to load the file “%s”.")
.printf (location.get_parse_name ());
Tepl.InfoBar infobar = new Tepl.InfoBar.simple (MessageType.ERROR,
primary_msg, e.message);
......@@ -215,7 +215,7 @@ public class Document : Tepl.Buffer
Tepl.InfoBar infobar = new Tepl.InfoBar.simple (MessageType.WARNING,
primary_msg, secondary_msg);
infobar.add_button (_("_Save Anyway"), ResponseType.YES);
infobar.add_button (_("_Don't Save"), ResponseType.CANCEL);
infobar.add_button (_("_Dont Save"), ResponseType.CANCEL);
tab.add_info_bar (infobar);
infobar.show ();
......
......@@ -144,7 +144,7 @@ public class DocumentTab : Tepl.Tab
public string get_menu_tip ()
{
return _("Activate '%s'").printf (document.get_uri_for_display ());
return _("Activate “%s”").printf (document.get_uri_for_display ());
}
private bool view_focused_in ()
......
......@@ -76,7 +76,7 @@ public class GlatexApp : Gtk.Application
OptionEntry[] options = new OptionEntry[4];
options[0] = { "version", 'V', 0, OptionArg.NONE, ref show_version,
N_("Show the application's version"), null };
N_("Show the applications version"), null };
options[1] = { "new-document", 'n', 0, OptionArg.NONE, ref new_document,
N_("Create new document"), null };
......
......@@ -362,7 +362,7 @@ display_error (GTask *task,
if (command_name != NULL)
{
g_free (build_msg->text);
build_msg->text = g_strdup_printf (_ ("%s doesn't seem to be installed."), command_name);
build_msg->text = g_strdup_printf (_ ("%s doesnt seem to be installed."), command_name);
latexila_build_view_append_single_message (data->build_view,
&data->job_title,
......
......@@ -552,7 +552,7 @@ query_exists_cb (GFile *file,
LATEXILA_BUILD_STATE_FAILED);
msg = latexila_build_msg_new ();
msg->text = g_strdup_printf (_ ("The file '%s' doesn't exist."), uri);
msg->text = g_strdup_printf (_ ("The file “%s” doesn’t exist."), uri);
msg->type = LATEXILA_BUILD_MSG_TYPE_ERROR;
latexila_build_view_append_single_message (data->build_view,
......@@ -580,7 +580,7 @@ query_exists_cb (GFile *file,
LATEXILA_BUILD_STATE_FAILED);
msg = latexila_build_msg_new ();
msg->text = g_strdup_printf (_ ("Failed to open '%s':"), uri);
msg->text = g_strdup_printf (_ ("Failed to open “%s”:"), uri);
msg->type = LATEXILA_BUILD_MSG_TYPE_ERROR;
latexila_build_view_append_single_message (data->build_view,
......
......@@ -83,40 +83,40 @@ latexila_latex_commands_add_action_infos (GtkApplication *gtk_app)
/* LaTeX: Environments */
{ "win.latex-command-env-simple::center", "format-justify-center", "\\begin{_center}", NULL,
N_("Center - \\begin{center}") },
N_("Center \\begin{center}") },
{ "win.latex-command-env-simple::flushleft", "format-justify-left", "\\begin{flush_left}", NULL,
N_("Align Left - \\begin{flushleft}") },
N_("Align Left \\begin{flushleft}") },
{ "win.latex-command-env-simple::flushright", "format-justify-right", "\\begin{flush_right}", NULL,
N_("Align Right - \\begin{flushright}") },
N_("Align Right \\begin{flushright}") },
{ "win.latex-command-env-figure", "image-x-generic", "\\begin{_figure}", NULL,
N_ ("Figure - \\begin{figure}") },
N_ ("Figure \\begin{figure}") },
{ "win.latex-command-env-table", "table", "\\begin{_table}", NULL,
N_("Table - \\begin{table}") },
N_("Table \\begin{table}") },
{ "win.latex-command-env-simple::quote", NULL, "\\begin{_quote}", NULL,
N_("Quote - \\begin{quote}") },
N_("Quote \\begin{quote}") },
{ "win.latex-command-env-simple::quotation", NULL, "\\begin{qu_otation}", NULL,
N_("Quotation - \\begin{quotation}") },
N_("Quotation \\begin{quotation}") },
{ "win.latex-command-env-simple::verse", NULL, "\\begin{_verse}", NULL,
N_("Verse - \\begin{verse}") },
N_("Verse \\begin{verse}") },
{ "win.latex-command-env-simple::verbatim", NULL, "\\begin{ver_batim}", NULL,
N_("Verbatim - \\begin{verbatim}") },
N_("Verbatim \\begin{verbatim}") },
{ "win.latex-command-env-simple::minipage", NULL, "\\begin{_minipage}", NULL,
N_("Minipage - \\begin{minipage}") },
N_("Minipage \\begin{minipage}") },
{ "win.latex-command-env-simple::titlepage", NULL, "\\begin{titlepage}", NULL,
N_("Title page - \\begin{titlepage}") },
N_("Title page \\begin{titlepage}") },
/* LaTeX: list environments */
{ "win.latex-command-list-env-simple::itemize", "list-itemize", "\\begin{_itemize}", NULL,
N_("Bulleted List - \\begin{itemize}") },
N_("Bulleted List \\begin{itemize}") },
{ "win.latex-command-list-env-simple::enumerate", "list-enumerate", "\\begin{_enumerate}", NULL,
N_("Enumeration - \\begin{enumerate}") },
N_("Enumeration \\begin{enumerate}") },
{ "win.latex-command-list-env-description", "list-description", "\\begin{_description}", NULL,
N_("Description - \\begin{description}") },
N_("Description \\begin{description}") },
{ "win.latex-command-list-env-list", NULL, "\\begin{_list}", NULL,
N_("Custom list - \\begin{list}") },
N_("Custom list \\begin{list}") },
{ "win.latex-command-with-space::item", "list-item", "\\i_tem", "<Alt><Shift>H",
N_("List item - \\item") },
N_("List item \\item") },
/* LaTeX: character sizes */
......@@ -134,158 +134,158 @@ latexila_latex_commands_add_action_infos (GtkApplication *gtk_app)
/* LaTeX: font styles */
{ "win.latex-command-with-braces::textbf", "bold", "\\text_bf", "<Control>B",
N_("Bold - \\textbf") },
N_("Bold \\textbf") },
{ "win.latex-command-with-braces::textit", "italic", "\\text_it", "<Control>I",
N_("Italic - \\textit") },
N_("Italic \\textit") },
{ "win.latex-command-with-braces::texttt", "typewriter", "\\text_tt", "<Alt><Shift>T",
N_("Typewriter - \\texttt") },
N_("Typewriter \\texttt") },
{ "win.latex-command-with-braces::textsl", "slanted", "\\text_sl", "<Alt><Shift>S",
N_("Slanted - \\textsl") },
N_("Slanted \\textsl") },
{ "win.latex-command-with-braces::textsc", "small_caps", "\\texts_c", "<Alt><Shift>C",
N_("Small Capitals - \\textsc") },
N_("Small Capitals \\textsc") },
{ "win.latex-command-with-braces::textsf", "sans_serif", "\\texts_f", NULL,
N_("Sans Serif - \\textsf") },
N_("Sans Serif \\textsf") },
{ "win.latex-command-with-braces::emph", NULL, "\\_emph", "<Control>E",
N_("Emphasized - \\emph") },
N_("Emphasized \\emph") },
{ "win.latex-command-with-braces::underline", "underline", "\\_underline", "<Control>U",
N_("Underline - \\underline") },
N_("Underline \\underline") },
{ "win.latex-command-char-style::rmfamily", "roman", "\\_rmfamily", NULL,
N_("Roman - \\rmfamily") },
N_("Roman \\rmfamily") },
{ "win.latex-command-char-style::sffamily", "sans_serif", "\\_sffamily", NULL,
N_("Sans Serif - \\sffamily") },
N_("Sans Serif \\sffamily") },
{ "win.latex-command-char-style::ttfamily", "typewriter", "\\_ttfamily", NULL,
N_("Monospace - \\ttfamily") },
N_("Monospace \\ttfamily") },
{ "win.latex-command-char-style::mdseries", "roman", "\\_mdseries", NULL,
N_("Medium - \\mdseries") },
N_("Medium \\mdseries") },
{ "win.latex-command-char-style::bfseries", "bold", "\\_bfseries", NULL,
N_("Bold - \\bfseries") },
N_("Bold \\bfseries") },
{ "win.latex-command-char-style::upshape", "roman", "\\_upshape", NULL,
N_("Upright - \\upshape") },
N_("Upright \\upshape") },
{ "win.latex-command-char-style::itshape", "italic", "\\_itshape", NULL,
N_("Italic - \\itshape") },
N_("Italic \\itshape") },
{ "win.latex-command-char-style::slshape", "slanted", "\\_slshape", NULL,
N_("Slanted - \\slshape") },
N_("Slanted \\slshape") },
{ "win.latex-command-char-style::scshape", "small_caps", "\\s_cshape", NULL,
N_("Small Capitals - \\scshape") },
N_("Small Capitals \\scshape") },
/* LaTeX: Tabular */
{ "win.latex-command-env-simple::tabbing", NULL, "\\begin{ta_bbing}", NULL,
N_("Tabbing - \\begin{tabbing}") },
N_("Tabbing \\begin{tabbing}") },
{ "win.latex-command-tabular-tabular", NULL, "\\begin{_tabular}", NULL,
N_("Tabular - \\begin{tabular}") },
N_("Tabular \\begin{tabular}") },
{ "win.latex-command-tabular-multicolumn", NULL, "\\_multicolumn", NULL,
N_("Multicolumn - \\multicolumn") },
N_("Multicolumn \\multicolumn") },
{ "win.latex-command-with-space::hline", NULL, "\\_hline", NULL,
N_("Horizontal line - \\hline") },
N_("Horizontal line \\hline") },
{ "win.latex-command-with-space::vline", NULL, "\\_vline", NULL,
N_("Vertical line - \\vline") },
N_("Vertical line \\vline") },
{ "win.latex-command-tabular-cline", NULL, "\\_cline", NULL,
N_("Horizontal line (columns specified) - \\cline") },
N_("Horizontal line (columns specified) \\cline") },
/* LaTeX: Presentation */
{ "win.latex-command-presentation-frame", NULL, "\\begin{frame}", NULL,
N_("Frame - \\begin{frame}") },
N_("Frame \\begin{frame}") },
{ "win.latex-command-presentation-block", NULL, "\\begin{block}", NULL,
N_("Block - \\begin{block}") },
N_("Block \\begin{block}") },
{ "win.latex-command-presentation-columns", NULL, "\\begin{columns}", NULL,
N_("Two columns - \\begin{columns}") },
N_("Two columns \\begin{columns}") },
/* LaTeX: Spacing */
{ "win.latex-command-spacing-new-line", NULL, N_("New _Line"), NULL,
N_("New Line - \\\\") },
N_("New Line \\\\") },
{ "win.latex-command-with-newline::newpage", NULL, "\\new_page", NULL,
N_("New page - \\newpage") },
N_("New page \\newpage") },
{ "win.latex-command-with-newline::linebreak", NULL, "\\l_inebreak", NULL,
N_("Line break - \\linebreak") },
N_("Line break \\linebreak") },
{ "win.latex-command-with-newline::pagebreak", NULL, "\\p_agebreak", NULL,
N_("Page break - \\pagebreak") },
N_("Page break \\pagebreak") },
{ "win.latex-command-with-space::bigskip", NULL, "\\_bigskip", NULL,
N_("Big skip - \\bigskip") },
N_("Big skip \\bigskip") },
{ "win.latex-command-with-space::medskip", NULL, "\\_medskip", NULL,
N_("Medium skip - \\medskip") },
N_("Medium skip \\medskip") },
{ "win.latex-command-with-braces::hspace", NULL, "\\_hspace", NULL,
N_("Horizontal space - \\hspace") },
N_("Horizontal space \\hspace") },
{ "win.latex-command-with-braces::vspace", NULL, "\\_vspace", NULL,
N_("Vertical space - \\vspace") },
N_("Vertical space \\vspace") },
{ "win.latex-command-with-space::noindent", NULL, "\\_noindent", NULL,
N_("No paragraph indentation - \\noindent") },
N_("No paragraph indentation \\noindent") },
/* LaTeX: International accents */
{ "win.latex-command-with-braces('\\'')", "accent0", "\\'", NULL, N_("Acute accent - \\'") },
{ "win.latex-command-with-braces('`')", "accent1", "\\`", NULL, N_("Grave accent - \\`") },
{ "win.latex-command-with-braces('^')", "accent2", "\\^", NULL, N_("Circumflex accent - \\^") },
{ "win.latex-command-with-braces('\"')", "accent3", "\\\"", NULL, N_("Trema - \\\"") },
{ "win.latex-command-with-braces('~')", "accent4", "\\~", NULL, N_("Tilde - \\~") },
{ "win.latex-command-with-braces('=')", "accent5", "\\=", NULL, N_("Macron - \\=") },
{ "win.latex-command-with-braces('.')", "accent6", "\\.", NULL, N_("Dot above - \\.") },
{ "win.latex-command-with-braces('v')", "accent7", "\\v", NULL, N_("Caron - \\v") },
{ "win.latex-command-with-braces('u')", "accent8", "\\u", NULL, N_("Breve - \\u") },
{ "win.latex-command-with-braces('\\'')", "accent0", "\\'", NULL, N_("Acute accent \\'") },
{ "win.latex-command-with-braces('`')", "accent1", "\\`", NULL, N_("Grave accent \\`") },
{ "win.latex-command-with-braces('^')", "accent2", "\\^", NULL, N_("Circumflex accent \\^") },
{ "win.latex-command-with-braces('\"')", "accent3", "\\\"", NULL, N_("Trema \\\"") },
{ "win.latex-command-with-braces('~')", "accent4", "\\~", NULL, N_("Tilde \\~") },
{ "win.latex-command-with-braces('=')", "accent5", "\\=", NULL, N_("Macron \\=") },
{ "win.latex-command-with-braces('.')", "accent6", "\\.", NULL, N_("Dot above \\.") },
{ "win.latex-command-with-braces('v')", "accent7", "\\v", NULL, N_("Caron \\v") },
{ "win.latex-command-with-braces('u')", "accent8", "\\u", NULL, N_("Breve \\u") },
{ "win.latex-command-with-braces('H')", "accent9", "\\H", NULL,
N_("Double acute accent - \\H") },
{ "win.latex-command-with-braces('c')", "accent10", "\\c", NULL, N_("Cedilla - \\c") },
{ "win.latex-command-with-braces('k')", "accent11", "\\k", NULL, N_("Ogonek - \\k") },
{ "win.latex-command-with-braces('d')", "accent12", "\\d", NULL, N_("Dot below - \\d") },
{ "win.latex-command-with-braces('b')", "accent13", "\\b", NULL, N_("Macron below - \\b") },
{ "win.latex-command-with-braces('r')", "accent14", "\\r", NULL, N_("Ring - \\r") },
{ "win.latex-command-with-braces('t')", "accent15", "\\t", NULL, N_("Tie - \\t") },
N_("Double acute accent \\H") },
{ "win.latex-command-with-braces('c')", "accent10", "\\c", NULL, N_("Cedilla \\c") },
{ "win.latex-command-with-braces('k')", "accent11", "\\k", NULL, N_("Ogonek \\k") },
{ "win.latex-command-with-braces('d')", "accent12", "\\d", NULL, N_("Dot below \\d") },
{ "win.latex-command-with-braces('b')", "accent13", "\\b", NULL, N_("Macron below \\b") },
{ "win.latex-command-with-braces('r')", "accent14", "\\r", NULL, N_("Ring \\r") },
{ "win.latex-command-with-braces('t')", "accent15", "\\t", NULL, N_("Tie \\t") },
/* LaTeX: Misc */
{ "win.latex-command-with-braces::documentclass", NULL, "\\_documentclass", NULL,
N_("Document class - \\documentclass") },
N_("Document class \\documentclass") },
{ "win.latex-command-with-braces::usepackage", NULL, "\\_usepackage", NULL,
N_("Use package - \\usepackage") },
N_("Use package \\usepackage") },
{ "win.latex-command-ams-packages", NULL, N_("_AMS packages"), NULL,
N_("AMS packages") },
{ "win.latex-command-with-braces::author", NULL, "\\au_thor", NULL, N_("Author - \\author") },
{ "win.latex-command-with-braces::title", NULL, "\\t_itle", NULL, N_("Title - \\title") },
{ "win.latex-command-with-braces::author", NULL, "\\au_thor", NULL, N_("Author \\author") },
{ "win.latex-command-with-braces::title", NULL, "\\t_itle", NULL, N_("Title \\title") },
{ "win.latex-command-env-simple::document", NULL, "\\begin{d_ocument}", NULL,
N_("Content of the document - \\begin{document}") },
N_("Content of the document \\begin{document}") },
{ "win.latex-command-simple::maketitle", NULL, "\\_maketitle", NULL,
N_("Make title - \\maketitle") },
N_("Make title \\maketitle") },
{ "win.latex-command-simple::tableofcontents", NULL, "\\tableof_contents", NULL,
N_("Table of contents - \\tableofcontents") },
N_("Table of contents \\tableofcontents") },
{ "win.latex-command-env-simple::abstract", NULL, "\\begin{abst_ract}", NULL,
N_("Abstract - \\begin{abstract}") },
N_("Abstract \\begin{abstract}") },
{ "win.latex-command-with-braces::includegraphics", NULL, "\\include_graphics", NULL,
N_("Include an image (graphicx package) - \\includegraphics") },
N_("Include an image (graphicx package) \\includegraphics") },
{ "win.latex-command-with-braces::input", NULL, "\\_input", NULL,
N_("Include a file - \\input") },
N_("Include a file \\input") },
/* Math Environments */
{ "win.math-command-env-normal", NULL, N_("_Mathematical Environment - $...$"),
"<Alt><Shift>M", N_("Mathematical Environment - $...$") },
{ "win.math-command-env-centered", NULL, N_("_Centered Formula - \\[...\\]"),
"<Alt><Shift>E", N_("Centered Formula - \\[...\\]") },
{ "win.math-command-env-normal", NULL, N_("_Mathematical Environment — $…$"),
"<Alt><Shift>M", N_("Mathematical Environment — $…$") },
{ "win.math-command-env-centered", NULL, N_("_Centered Formula \\[…\\]"),
"<Alt><Shift>E", N_("Centered Formula \\[…\\]") },
{ "win.latex-command-env-simple::equation", NULL,
N_("_Numbered Equation - \\begin{equation}"), NULL,
N_("Numbered Equation - \\begin{equation}") },
{ "win.math-command-env-array", NULL, N_("_Array of Equations - \\begin{align*}"), NULL,
N_("Array of Equations - \\begin{align*}") },
N_("_Numbered Equation \\begin{equation}"), NULL,
N_("Numbered Equation \\begin{equation}") },
{ "win.math-command-env-array", NULL, N_("_Array of Equations \\begin{align*}"), NULL,
N_("Array of Equations \\begin{align*}") },
{ "win.latex-command-env-simple::align", NULL,
N_("Numbered Array of _Equations - \\begin{align}"), NULL,
N_("Numbered Array of Equations - \\begin{align}") },
N_("Numbered Array of _Equations \\begin{align}"), NULL,
N_("Numbered Array of Equations \\begin{align}") },
/* Math misc */
{ "win.math-command-misc-superscript", "math-superscript", N_("_Superscript - ^{}"), NULL,
N_("Superscript - ^{}") },
{ "win.math-command-misc-subscript", "math-subscript", N_("Su_bscript - __{}"), NULL,
N_("Subscript - _{}") },
{ "win.math-command-misc-frac", "math-frac", N_("_Fraction - \\frac{}{}"), "<Alt><Shift>F",
N_("Fraction - \\frac{}{}") },
{ "win.latex-command-with-braces::sqrt", "math-square-root", N_("Square _Root - \\sqrt{}"), NULL,
N_("Square Root - \\sqrt{}") },
{ "win.math-command-misc-nth-root", "math-nth-root", N_("_N-th Root - \\sqrt[]{}"), NULL,
N_("N-th Root - \\sqrt[]{}") },
{ "win.math-command-misc-superscript", "math-superscript", N_("_Superscript ^{}"), NULL,
N_("Superscript ^{}") },
{ "win.math-command-misc-subscript", "math-subscript", N_("Su_bscript __{}"), NULL,
N_("Subscript _{}") },
{ "win.math-command-misc-frac", "math-frac", N_("_Fraction \\frac{}{}"), "<Alt><Shift>F",
N_("Fraction \\frac{}{}") },
{ "win.latex-command-with-braces::sqrt", "math-square-root", N_("Square _Root \\sqrt{}"), NULL,
N_("Square Root \\sqrt{}") },
{ "win.math-command-misc-nth-root", "math-nth-root", N_("_N-th Root \\sqrt[]{}"), NULL,
N_("N-th Root \\sqrt[]{}") },
/* Math functions */
......@@ -323,21 +323,21 @@ latexila_latex_commands_add_action_infos (GtkApplication *gtk_app)
/* Math Font Styles */
{ "win.latex-command-with-braces::mathrm", "roman", "\\math_rm", NULL,
N_("Roman - \\mathrm") },
N_("Roman \\mathrm") },
{ "win.latex-command-with-braces::mathit", "italic", "\\math_it", NULL,
N_("Italic - \\mathit") },
N_("Italic \\mathit") },
{ "win.latex-command-with-braces::mathbf", "bold", "\\math_bf", NULL,
N_("Bold - \\mathbf") },
N_("Bold \\mathbf") },
{ "win.latex-command-with-braces::mathsf", "sans_serif", "\\math_sf", NULL,
N_("Sans Serif - \\mathsf") },
N_("Sans Serif \\mathsf") },
{ "win.latex-command-with-braces::mathtt", "typewriter", "\\math_tt", NULL,
N_("Typewriter - \\mathtt") },
N_("Typewriter \\mathtt") },
{ "win.latex-command-with-braces::mathcal", "mathcal", "\\math_cal", NULL,
N_("Calligraphic - \\mathcal") },
N_("Calligraphic \\mathcal") },
{ "win.latex-command-with-braces::mathbb", "blackboard", "\\_mathbb", NULL,
N_("Blackboard (uppercase only) - \\mathbb (amsfonts package)") },
N_("Blackboard (uppercase only) \\mathbb (amsfonts package)") },
{ "win.latex-command-with-braces::mathfrak", "mathfrak", "\\math_frak", NULL,
N_("Euler Fraktur - \\mathfrak (amsfonts package)") },
N_("Euler Fraktur \\mathfrak (amsfonts package)") },
/* Math Accents */
......@@ -355,9 +355,9 @@ latexila_latex_commands_add_action_infos (GtkApplication *gtk_app)
/* Math Spaces */
{ "win.math-command-spaces-small", NULL, N_("_Small"), NULL, N_("Small - \\,") },
{ "win.math-command-spaces-medium", NULL, N_("_Medium"), NULL, N_("Medium - \\:") },
{ "win.math-command-spaces-large", NULL, N_("_Large"), NULL, N_("Large - \\;") },
{ "win.math-command-spaces-small", NULL, N_("_Small"), NULL, N_("Small \\,") },
{ "win.math-command-spaces-medium", NULL, N_("_Medium"), NULL, N_("Medium \\:") },
{ "win.math-command-spaces-large", NULL, N_("_Large"), NULL, N_("Large \\;") },
{ "win.latex-command-with-space::quad", NULL, "\\_quad", NULL, NULL },
{ "win.latex-command-with-space::qquad", NULL, "\\qqu_ad", NULL, NULL },
......
......@@ -566,7 +566,7 @@ synctex_file_query_exists_cb (GFile *synctex_file,
if (!synctex_file_exists)
{
gchar *basename = g_file_get_basename (synctex_file);
gchar *message = g_strdup_printf (_ ("The file \"%s\" doesn't exist."), basename);
gchar *message = g_strdup_printf (_ ("The file “%s” doesn’t exist."), basename);
show_warning (message);
......@@ -600,7 +600,7 @@ pdf_file_query_exists_cb (GFile *pdf_file,
if (!pdf_file_exists)
{
show_warning (_ ("The PDF file doesn't exist."));
show_warning (_ ("The PDF file doesnt exist."));
forward_search_data_free (data);
return;
}
......
......@@ -121,7 +121,7 @@ latexila_templates_dialogs_open (GtkWindow *parent_window)
dialog = g_object_new (GTK_TYPE_DIALOG,
"use-header-bar", TRUE,
"title", _ ("New File..."),
"title", _ ("New File"),
"destroy-with-parent", TRUE,
"transient-for", parent_window,
NULL);
......@@ -229,7 +229,7 @@ latexila_templates_dialogs_create_template (GtkWindow *parent_window,
dialog = g_object_new (GTK_TYPE_DIALOG,
"use-header-bar", TRUE,
"title", _ ("New Template..."),
"title", _ ("New Template"),
"destroy-with-parent", TRUE,
"transient-for", parent_window,
NULL);
......
......@@ -43,7 +43,7 @@ public class MainWindow : ApplicationWindow
N_("Search for text"), on_search_find },
{ "SearchReplace", "edit-find-replace", N_("Find and _Replace"), "<Control>H",
N_("Search for and replace text"), on_search_replace },
{ "SearchGoToLine", "go-jump", N_("_Go to Line..."), "<Control>G",
{ "SearchGoToLine", "go-jump", N_("_Go to Line"), "<Control>G",
N_("Go to a specific line"), on_search_goto_line },
{ "SearchForward", null, N_("_Jump to PDF"), "<Control><Alt>F",
N_("Jump to the associated position in the PDF file. Another shortcut: Ctrl+click, which works in both directions."),
......@@ -658,7 +658,7 @@ public class MainWindow : ApplicationWindow
InfoBar infobar = new Tepl.InfoBar.simple (MessageType.WARNING,
primary_msg, secondary_msg);
infobar.add_button (_("Edit Anyway"), ResponseType.YES);
infobar.add_button (_("Don't Edit"), ResponseType.NO);
infobar.add_button (_("Dont Edit"), ResponseType.NO);
tab.add_info_bar (infobar);
infobar.show ();
......@@ -753,7 +753,7 @@ public class MainWindow : ApplicationWindow
DialogFlags.DESTROY_WITH_PARENT,
MessageType.QUESTION,
ButtonsType.NONE,
_("Save changes to document \"%s\" before closing?"),
_("Save changes to document “%s” before closing?"),
tab.get_buffer ().get_file ().get_short_name ());
dialog.add_buttons (_("Close _without Saving"), ResponseType.CLOSE,
......
......@@ -61,11 +61,11 @@ public class MainWindowEdit
N_("Unindent the selected lines") },
{ "EditComment", null, N_("_Comment"), "<Control>M",
N_("Comment the selected lines (add the character \"%\")"),
N_("Comment the selected lines (add the character “%”)"),
on_comment },
{ "EditUncomment", null, N_("_Uncomment"), "<Shift><Control>M",
N_("Uncomment the selected lines (remove the character \"%\")"),
N_("Uncomment the selected lines (remove the character “%”)"),
on_uncomment },
{ "EditCompletion", null, N_("_Completion"), "<Control>space",
......
......@@ -44,10 +44,10 @@ public class MainWindowFile
{ "FileSaveAs", "document-save-as", N_("Save _As"), "<Shift><Control>S",
N_("Save the current file with a different name"), on_file_save_as },
{ "FileCreateTemplate", null, N_("Create _Template From Document..."), null,
{ "FileCreateTemplate", null, N_("Create _Template From Document"), null,
N_("Create a new template from the current document"), on_create_template },
{ "FileManageTemplates", null, N_("_Manage Personal Templates..."), null,
{ "FileManageTemplates", null, N_("_Manage Personal Templates"), null,
N_("Manage personal templates"), on_manage_templates },
{ "FileClose", "window-close", N_("_Close"), "<Control>W",
......
......@@ -99,7 +99,7 @@ namespace ProjectDialogs
DialogFlags.DESTROY_WITH_PARENT,
MessageType.ERROR,
ButtonsType.OK,
_("There is a conflict with the project \"%s\"."),
_("There is a conflict with the project “%s”."),
Latexila.utils_replace_home_dir_with_tilde (conflict.get_parse_name ()) + "/");
error_dialog.run ();
error_dialog.destroy ();
......@@ -270,7 +270,7 @@ namespace ProjectDialogs
Dialog delete_dialog = new MessageDialog (dialog,
DialogFlags.DESTROY_WITH_PARENT,
MessageType.QUESTION, ButtonsType.NONE,
_("Do you really want to delete the project \"%s\"?"),
_("Do you really want to delete the project “%s”?"),
directory);
delete_dialog.add_buttons (_("_Cancel"), ResponseType.CANCEL,
......
......@@ -459,8 +459,8 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip_markup" translatable="yes">Number of characters after &amp;apos;\&amp;apos;</property>
<property name="tooltip_text" translatable="yes">Number of characters after '\'</property>
<property name="tooltip_markup" translatable="yes">Number of characters after “\”</property>
<property name="tooltip_text" translatable="yes">Number of characters after “\”</property>
<property name="invisible_char"></property>
<property name="primary_icon_activatable">False</property>
<property name="secondary_icon_activatable">False</property>
......
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