forked from Mirrors/apostrophe
Merge branch 'master' of https://github.com/wolfv/uberwriter
commit
3130129149
|
@ -13,8 +13,15 @@
|
|||
asked to install them manually.
|
||||
</description>
|
||||
</key>
|
||||
<key name='gradient-overlay' type='b'>
|
||||
<key name='spellcheck' type='b'>
|
||||
<default>true</default>
|
||||
<summary>Spellcheck</summary>
|
||||
<description>
|
||||
Enable/disable spellchecking in the application.
|
||||
</description>
|
||||
</key>
|
||||
<key name='gradient-overlay' type='b'>
|
||||
<default>false</default>
|
||||
<summary>Show gradient overlay</summary>
|
||||
<description>
|
||||
Show a gradient overlay over the text at the top anf bottom of the window.
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
@define-color dark_bg #353535;
|
||||
@define-color light_bg #F6F5F4;
|
||||
|
||||
@import url("style.css");
|
|
@ -0,0 +1,4 @@
|
|||
@define-color dark_bg #31373D;
|
||||
@define-color light_bg #EDEDED;
|
||||
|
||||
@import url("style.css");
|
|
@ -474,7 +474,7 @@ code {
|
|||
padding: 0.2em 0.4em;
|
||||
margin: 0;
|
||||
font-size: 85%;
|
||||
background-color: rgba(27,31,35,0.05);
|
||||
background-color: #fafbfc9d;
|
||||
color: #1b1f23;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
@ -508,7 +508,7 @@ pre {
|
|||
overflow: auto;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: #f6f8fa;
|
||||
background-color: #f6f8faf1;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
inclusion in templates
|
||||
*/
|
||||
|
||||
@define-color dark_bg #31373D;
|
||||
@define-color light_bg #EDEDED;
|
||||
|
||||
@binding-set window-bindings {
|
||||
bind "<ctl>w" { "close-window" () };
|
||||
bind "<ctl><shift>b" { "toggle-bibtex" () };
|
||||
|
|
|
@ -40,9 +40,10 @@
|
|||
<object class="GtkLabel" id="Dark_mode_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="valign">start</property>
|
||||
<property name="label" translatable="yes">Use dark mode</property>
|
||||
<property name="justify">right</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
|
@ -53,13 +54,28 @@
|
|||
<object class="GtkLabel" id="Spellcheck_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="label" translatable="yes">Autospellcheck</property>
|
||||
<property name="justify">right</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="Gradient_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="label" translatable="yes">Draw scroll gradient</property>
|
||||
<property name="justify">right</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="Dark_mode_switch">
|
||||
<property name="visible">True</property>
|
||||
|
@ -76,13 +92,24 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="action_name">app.spellcheck</property>
|
||||
<property name="active">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="Gradient_switch">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="valign">start</property>
|
||||
<property name="action_name">app.draw_gradient</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="tab_expand">True</property>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=UberWriter
|
||||
Comment=UberWriter, a simple and distraction free Markdown Editor
|
||||
Categories=GNOME;Office;
|
||||
Categories=GNOME;GTK;Office;
|
||||
Exec=uberwriter %U
|
||||
Icon=de.wolfvollprecht.UberWriter
|
||||
Terminal=false
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,58 +1,195 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: UberWriter\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-11-27 21:21+0100\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.2\n"
|
||||
"X-Generator: POEditor.com\n"
|
||||
"Project-Id-Version: UberWriter\n"
|
||||
"Language: es\n"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:9
|
||||
msgid "Dark mode"
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:487
|
||||
msgid "(no suggestions)"
|
||||
msgstr "(no hay sugerencias)"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:509
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:512
|
||||
msgid "Add \"{}\" to Dictionary"
|
||||
msgstr "Añadir «{}» al diccionario"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:516
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:518
|
||||
msgid "Ignore All"
|
||||
msgstr "Ignorar todo"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:533
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:535
|
||||
msgid "Languages"
|
||||
msgstr "Idiomas"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:551
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:554
|
||||
msgid "Suggestions"
|
||||
msgstr "Sugerencias"
|
||||
|
||||
#: ../uberwriter.desktop.in.h:1
|
||||
msgid "UberWriter"
|
||||
msgstr "UberWriter"
|
||||
|
||||
#: ../uberwriter.desktop.in.h:2
|
||||
msgid "UberWriter, a simple and distraction free Markdown Editor"
|
||||
msgstr "UberWriter, un editor Markdown simple y sin distracciones"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:187
|
||||
msgid "Website is not available"
|
||||
msgstr "El sitio web no está disponible"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:189
|
||||
msgid "Website is available"
|
||||
msgstr "El sitio web está disponible"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:441
|
||||
msgid "Open Link in Webbrowser"
|
||||
msgstr "Abrir enlace en un navegador web"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:503
|
||||
msgid "No matching footnote found"
|
||||
msgstr "No se encontró la nota al pie correspondiente"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:66
|
||||
msgid "_File"
|
||||
msgstr "_Archivo"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:96
|
||||
msgid "Open Recent File"
|
||||
msgstr "Abrir archivo reciente"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:175
|
||||
msgid "Export as ODT"
|
||||
msgstr "Exportar como ODT"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:186
|
||||
msgid "Advanced Export..."
|
||||
msgstr "Exportación avanzada…"
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:5
|
||||
msgid "Copy raw HTML to clipboard"
|
||||
msgstr "Copiar código HTML al portapapeles"
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:6
|
||||
msgid "_Edit"
|
||||
msgstr "_Editar"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:229
|
||||
msgid "_View"
|
||||
msgstr "_Ver"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:261
|
||||
msgid "Light text on a dark background"
|
||||
msgstr "Texto claro sobre un fondo oscuro"
|
||||
|
||||
#: data/ui/WindowMenu.ui:14
|
||||
msgid "Dark Mode"
|
||||
msgstr "Modo oscuro"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:10
|
||||
msgid ""
|
||||
"If enabled, the window will be dark themed If disabled, the window will be "
|
||||
"light themed asked to install them manually."
|
||||
msgstr ""
|
||||
#: data/ui/UberwriterWindow.ui:261
|
||||
msgid "Switch to preview mode"
|
||||
msgstr "Cambiar a modo de previsualización"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:18
|
||||
msgid "Open file base path"
|
||||
msgstr ""
|
||||
#: data/ui/Menu.ui:12
|
||||
msgid "Preview"
|
||||
msgstr "Previsualización"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:19
|
||||
msgid "Open file paths of the current session"
|
||||
msgstr ""
|
||||
#: data/ui/UberwriterWindow.ui:298 data/ui/WindowMenu.ui:28
|
||||
msgid "Auto _Spellcheck"
|
||||
msgstr "_Corrección ortográfica automática"
|
||||
|
||||
#: data/ui/About.ui:12
|
||||
msgid "Copyright (C) 2018, Wolf Vollprecht"
|
||||
msgstr "Copyright (C) 2018, Wolf Vollprecht"
|
||||
#: ../data/ui/UberwriterWindow.ui.h:13
|
||||
msgid "F_ormat"
|
||||
msgstr "F_ormato"
|
||||
|
||||
#: data/ui/About.ui:14
|
||||
msgid "Uberwriter website"
|
||||
msgstr "Web de Uberwriter"
|
||||
#: ../data/ui/UberwriterWindow.ui.h:14
|
||||
msgid "Unordered List Item"
|
||||
msgstr "Elemento de lista no ordenada"
|
||||
|
||||
#: data/ui/About.ui:66
|
||||
msgid "Donations:"
|
||||
msgstr "Donaciones:"
|
||||
#: ../data/ui/UberwriterWindow.ui.h:15
|
||||
msgid "Horizontal Rule"
|
||||
msgstr "Línea horizontal"
|
||||
|
||||
#: data/ui/About.ui:75
|
||||
msgid "Liberapay"
|
||||
msgstr "Liberapay"
|
||||
#: uberwriter/FormatShortcuts.py:186
|
||||
msgid "Heading"
|
||||
msgstr "Título"
|
||||
|
||||
#: data/ui/About.ui:106
|
||||
msgid "Help to translate:"
|
||||
msgstr "Ayuda a traducir:"
|
||||
#: data/ui/UberwriterWindow.ui:312
|
||||
msgid "_Help"
|
||||
msgstr "Ay_uda"
|
||||
|
||||
#: data/ui/About.ui:115
|
||||
msgid "Poeditor"
|
||||
msgstr "Poeditor"
|
||||
#: data/ui/UberwriterWindow.ui:322
|
||||
msgid "Contents"
|
||||
msgstr "Contenido"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:335
|
||||
msgid "Short Markdown Tutorial"
|
||||
msgstr "Tutorial breve de Markdown"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:343
|
||||
msgid "Open Pandoc Online Markdown Help ..."
|
||||
msgstr "Abrir ayuda de Markdown Pandoc en línea…"
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:21
|
||||
msgid "Get Help Online..."
|
||||
msgstr "Obtener ayuda en línea…"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:359
|
||||
msgid "Translate This Application..."
|
||||
msgstr "Traducir esta aplicación…"
|
||||
|
||||
#: data/ui/Menu.ui:7
|
||||
msgid "Focus Mode"
|
||||
msgstr "Modo de concentración"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:424 data/ui/UberwriterWindow.ui:425
|
||||
msgid "Go into focus mode"
|
||||
msgstr "Ir al modo de concentración"
|
||||
|
||||
#: data/ui/Menu.ui:17
|
||||
msgid "Fullscreen"
|
||||
msgstr "Pantalla completa"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:442 data/ui/UberwriterWindow.ui:443
|
||||
msgid "Go into fullscreen mode"
|
||||
msgstr "Ir al modo de pantalla completa"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461
|
||||
msgid "Show HTML preview"
|
||||
msgstr "Mostrar vista preliminar de HTML"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:112
|
||||
msgid "Words:"
|
||||
msgstr "Palabras:"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:155
|
||||
msgid "Characters:"
|
||||
msgstr "Caracteres:"
|
||||
|
||||
#: uberwriter_lib/AppWindow.py:246
|
||||
msgid "Show debug messages (-vv debugs uberwriter_lib also)"
|
||||
msgstr "Mostrar mensajes de depuración (-vv depura uberwriter_lib también)"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:87
|
||||
msgid "emphasized text"
|
||||
msgstr "texto destacado"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:89
|
||||
msgid "strong text"
|
||||
msgstr "texto en negrita"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:105
|
||||
msgid "List item"
|
||||
msgstr "Elemento de lista"
|
||||
|
||||
#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36
|
||||
msgid "Export"
|
||||
msgstr "Exportar"
|
||||
|
||||
#: data/ui/Export.ui:38 data/ui/UberwriterAdvancedExportDialog.ui:98
|
||||
msgid "Smart"
|
||||
|
@ -62,6 +199,14 @@ msgstr "Inteligente"
|
|||
msgid "Pandoc can automatically make \"--\" to a long dash and more"
|
||||
msgstr "Pandoc puede convertir automáticamente «--» a una raya y más"
|
||||
|
||||
#: data/ui/UberwriterAdvancedExportDialog.ui:117
|
||||
msgid "Normalize"
|
||||
msgstr "Normalizar"
|
||||
|
||||
#: data/ui/UberwriterAdvancedExportDialog.ui:122
|
||||
msgid "Removes things like double spaces or spaces at the beginning of a paragraph"
|
||||
msgstr "Quita elementos como espacios o espacios dobles al comienzo de un párrafo"
|
||||
|
||||
#: data/ui/Export.ui:56 data/ui/UberwriterAdvancedExportDialog.ui:135
|
||||
msgid "Table of Contents"
|
||||
msgstr "Índice"
|
||||
|
@ -71,12 +216,8 @@ msgid "Standalone"
|
|||
msgstr "Independiente"
|
||||
|
||||
#: data/ui/Export.ui:77 data/ui/UberwriterAdvancedExportDialog.ui:157
|
||||
msgid ""
|
||||
"Use a header and footer to include things like stylesheets and meta "
|
||||
"information"
|
||||
msgstr ""
|
||||
"Usar el encabezado y el pie para incluir cosas como hojas de estilo o "
|
||||
"metainformación"
|
||||
msgid "Use a header and footer to include things like stylesheets and meta information"
|
||||
msgstr "Usar el encabezado y el pie para incluir cosas como hojas de estilo o metainformación"
|
||||
|
||||
#: data/ui/Export.ui:90 data/ui/UberwriterAdvancedExportDialog.ui:171
|
||||
msgid "Number Sections"
|
||||
|
@ -120,21 +261,13 @@ msgstr "Estilo de resaltado "
|
|||
msgid "<b>Syntax highlighting</b> (HTML, LaTeX)"
|
||||
msgstr "<b>Resaltado de sintaxis</b> (HTML, LaTeX)"
|
||||
|
||||
#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491
|
||||
msgid "<b>Bibliography File</b>"
|
||||
msgstr "<b>Archivo de bibliografía</b>"
|
||||
|
||||
#: data/ui/Export.ui:329 data/ui/UberwriterAdvancedExportDialog.ui:371
|
||||
msgid "Self Contained"
|
||||
msgstr "Autocontenido"
|
||||
|
||||
#: data/ui/Export.ui:334 data/ui/UberwriterAdvancedExportDialog.ui:376
|
||||
msgid ""
|
||||
"Produces a HTML that has no external dependencies (all images and "
|
||||
"stylesheets are included)"
|
||||
msgstr ""
|
||||
"Produce HTML sin dependencias externas (todas las imágenes y hojas de estilo "
|
||||
"están incluidas)"
|
||||
msgid "Produces a HTML that has no external dependencies (all images and stylesheets are included)"
|
||||
msgstr "Produce HTML sin dependencias externas (todas las imágenes y hojas de estilo están incluidas)"
|
||||
|
||||
#: data/ui/Export.ui:346 data/ui/UberwriterAdvancedExportDialog.ui:389
|
||||
msgid "HTML 5"
|
||||
|
@ -158,96 +291,112 @@ msgstr "Archivo CSS"
|
|||
msgid "<b>HTML Options</b>"
|
||||
msgstr "<b>Opciones de HTML</b>"
|
||||
|
||||
#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491
|
||||
msgid "<b>Bibliography File</b>"
|
||||
msgstr "<b>Archivo de bibliografía</b>"
|
||||
|
||||
#: data/ui/Export.ui:423 data/ui/UberwriterAdvancedExportDialog.ui:510
|
||||
msgid "Commandline Reference"
|
||||
msgstr "Referencia de línea de comandos"
|
||||
msgstr "Referencia de consola"
|
||||
|
||||
#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36
|
||||
msgid "Export"
|
||||
msgstr "Exportar"
|
||||
#: ../data/ui/AboutUberwriterDialog.ui.h:1
|
||||
msgid "# Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>\n"
|
||||
"# This program is free software: you can redistribute it and/or modify it \n"
|
||||
"# under the terms of the GNU General Public License version 3, as published \n"
|
||||
"# by the Free Software Foundation.\n"
|
||||
"# \n"
|
||||
"# This program is distributed in the hope that it will be useful, but \n"
|
||||
"# WITHOUT ANY WARRANTY; without even the implied warranties of \n"
|
||||
"# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n"
|
||||
"# PURPOSE. See the GNU General Public License for more details.\n"
|
||||
"# \n"
|
||||
"# You should have received a copy of the GNU General Public License along \n"
|
||||
"# with this program. If not, see <http://www.gnu.org/licenses/>.\n"
|
||||
""
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Export.ui:559 data/ui/Export.ui:569
|
||||
msgid "PDF"
|
||||
msgstr "PDF"
|
||||
#: ../data/ui/AboutUberwriterDialog.ui.h:14
|
||||
msgid "Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
msgstr "Derechos de autor © 2012 Wolf Vollprecht <w.vollprecht@gmail.com>\n"
|
||||
""
|
||||
|
||||
#: data/ui/Export.ui:565 uberwriter/plugins/bibtex/bibtex_item.glade:18
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:32
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:45
|
||||
msgid "label"
|
||||
msgstr "etiqueta"
|
||||
#: uberwriter/UberwriterWindow.py:347
|
||||
msgid "Save your File"
|
||||
msgstr "Guarde su archivo"
|
||||
|
||||
#: data/ui/Export.ui:582
|
||||
msgid "HTML"
|
||||
msgstr "HTML"
|
||||
#: uberwriter/UberwriterWindow.py:490
|
||||
msgid "You can not export to PDF."
|
||||
msgstr "No puede exportar a PDF."
|
||||
|
||||
#: data/ui/Export.ui:595
|
||||
msgid "ODT"
|
||||
msgstr "ODT"
|
||||
#: uberwriter/UberwriterWindow.py:492
|
||||
msgid "Please install <a href=\"apt:texlive\">texlive</a> from the software center."
|
||||
msgstr "Instale <a href=\"apt:texlive\">texlive</a> desde el centro de software."
|
||||
|
||||
#: data/ui/Export.ui:607
|
||||
#, fuzzy
|
||||
msgid "Advanced"
|
||||
msgstr "Exportación avanzada…"
|
||||
#: uberwriter/UberwriterWindow.py:448
|
||||
msgid "MarkDown or Plain Text"
|
||||
msgstr "Markdown o texto simple"
|
||||
|
||||
#: data/ui/Menu.ui:6
|
||||
msgid "Focus Mode"
|
||||
msgstr "Modo de concentración"
|
||||
#: uberwriter/UberwriterWindow.py:451
|
||||
msgid "Open a .md-File"
|
||||
msgstr "Abrir un archivo .md"
|
||||
|
||||
#: data/ui/Menu.ui:10
|
||||
msgid "Preview"
|
||||
msgstr "Previsualización"
|
||||
#: uberwriter/UberwriterWindow.py:473
|
||||
msgid "You have not saved your changes."
|
||||
msgstr "No ha guardado los cambios."
|
||||
|
||||
#: data/ui/Menu.ui:14
|
||||
msgid "Fullscreen"
|
||||
msgstr "Pantalla completa"
|
||||
#: uberwriter/UberwriterWindow.py:475
|
||||
msgid "Close without Saving"
|
||||
msgstr "Cerrar sin guardar"
|
||||
|
||||
#: data/ui/Menu.ui:20
|
||||
msgid "Save _As"
|
||||
msgstr "Guardar como"
|
||||
#: uberwriter/UberwriterWindow.py:476
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: data/ui/Menu.ui:24
|
||||
msgid "_Export"
|
||||
msgstr "_Exportar"
|
||||
#: uberwriter/UberwriterWindow.py:477
|
||||
msgid "Save now"
|
||||
msgstr "Guardar ahora"
|
||||
|
||||
#: data/ui/Menu.ui:28
|
||||
msgid "Copy HTML"
|
||||
msgstr "Copiar HTML"
|
||||
#: uberwriter/UberwriterWindow.py:478
|
||||
msgid "Unsaved changes"
|
||||
msgstr "Cambios sin guardar"
|
||||
|
||||
#: data/ui/Menu.ui:34
|
||||
msgid "Open Tutorial"
|
||||
msgstr "Abrir Tutorial"
|
||||
#: uberwriter/UberwriterWindow.py:537
|
||||
msgid "You can not enable the Spell Checker."
|
||||
msgstr "No puede activar el corrector ortográfico."
|
||||
|
||||
#: data/ui/Menu.ui:39
|
||||
#: uberwriter/UberwriterWindow.py:540
|
||||
msgid "Please install 'hunspell' or 'aspell' dictionarys for your language from the software center."
|
||||
msgstr "Instale los diccionarios de «hunspell» o «aspell» para su idioma desde el centro de software."
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:9
|
||||
msgid "Dark mode"
|
||||
msgstr "Modo oscuro"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:10
|
||||
msgid "If enabled, the window will be dark themed If disabled, the window will be light themed asked to install them manually."
|
||||
msgstr ""
|
||||
|
||||
#. <attribute name="action">win.change_label</attribute>
|
||||
#. <attribute name="target">String 1</attribute>
|
||||
#: data/ui/App_menu.ui:10
|
||||
msgid "New window"
|
||||
msgstr "Ventana nueva"
|
||||
|
||||
#: data/ui/Menu.ui:53
|
||||
msgid "_Shortcuts"
|
||||
msgstr "Atajo_s"
|
||||
|
||||
#: data/ui/Menu.ui:49
|
||||
msgid "Pandoc _Help"
|
||||
msgstr "Ayuda de Pandoc"
|
||||
|
||||
#: data/ui/Menu.ui:44 data/ui/Preferences.ui:14
|
||||
msgid "Preferences"
|
||||
msgstr "Preferencias"
|
||||
#: data/ui/Menu.ui:59
|
||||
msgid "_About"
|
||||
msgstr "_Acerca de"
|
||||
|
||||
#: data/ui/Menu.ui:49
|
||||
#, fuzzy
|
||||
#| msgid "_Shortcuts"
|
||||
msgid "_Keyboard Shortcuts"
|
||||
msgstr "Atajo_s"
|
||||
|
||||
#: data/ui/Menu.ui:53
|
||||
#, fuzzy
|
||||
#| msgid "UberWriter"
|
||||
msgid "_About UberWriter"
|
||||
msgstr "UberWriter"
|
||||
|
||||
#: data/ui/Preferences.ui:45
|
||||
msgid "Use dark mode"
|
||||
msgstr "Modo oscuro"
|
||||
|
||||
#: data/ui/Preferences.ui:56
|
||||
msgid "Autospellcheck"
|
||||
msgstr "Corrección ortográfica automática"
|
||||
|
||||
#: data/ui/Preferences.ui:95
|
||||
msgid "page 1"
|
||||
msgstr "página 1"
|
||||
#: data/ui/Menu.ui:62
|
||||
msgid "_Quit"
|
||||
msgstr "Salir"
|
||||
|
||||
#: data/ui/Shortcuts.ui:13
|
||||
msgctxt "shortcut window"
|
||||
|
@ -327,7 +476,7 @@ msgstr "Negita"
|
|||
#: data/ui/Shortcuts.ui:114
|
||||
msgctxt "shortcut window"
|
||||
msgid "Header"
|
||||
msgstr "Encabezado"
|
||||
msgstr "Cabecera"
|
||||
|
||||
#: data/ui/Shortcuts.ui:121
|
||||
msgctxt "shortcut window"
|
||||
|
@ -349,354 +498,244 @@ msgctxt "shortcut window"
|
|||
msgid "Select all"
|
||||
msgstr "Seleccionar todo"
|
||||
|
||||
#: data/ui/UberwriterAdvancedExportDialog.ui:117
|
||||
msgid "Normalize"
|
||||
msgstr "Normalizar"
|
||||
|
||||
#: data/ui/UberwriterAdvancedExportDialog.ui:122
|
||||
msgid ""
|
||||
"Removes things like double spaces or spaces at the beginning of a paragraph"
|
||||
msgstr ""
|
||||
"Quita elementos como espacios o espacios dobles al comienzo de un párrafo"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:19
|
||||
msgid "Next Match"
|
||||
msgstr "Coincidencia siguiente"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:36
|
||||
#: data/ui/UberwriterWindow.ui:41
|
||||
msgid "Open Replace"
|
||||
msgstr "Reemplazar"
|
||||
msgstr "Abrir Reemplazar"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:96
|
||||
msgid "Words:"
|
||||
msgstr "Palabras:"
|
||||
#: data/ui/UberwriterWindow.ui:52
|
||||
msgid "Activate Regex"
|
||||
msgstr "Expresiones regulares"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:139
|
||||
msgid "Characters:"
|
||||
msgstr "Caracteres:"
|
||||
#: data/ui/UberwriterWindow.ui:74
|
||||
msgid "_New"
|
||||
msgstr "_Nuevo"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:279
|
||||
#: data/ui/UberwriterWindow.ui:84
|
||||
msgid "_Open"
|
||||
msgstr "_Abrir"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:102
|
||||
msgid "Open examples"
|
||||
msgstr "Abrir ejemplos"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:114
|
||||
msgid "_Quick markdown tutorial"
|
||||
msgstr "_Tutorial breve de Markdown"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:131
|
||||
msgid "_Save"
|
||||
msgstr "_Guardar"
|
||||
|
||||
#: data/ui/Menu.ui:24
|
||||
msgid "Save _As"
|
||||
msgstr "Guardar _como"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:157
|
||||
msgid "Export as HTML"
|
||||
msgstr "Exportar como HTML"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:166
|
||||
msgid "Export as PDF"
|
||||
msgstr "Exportar como PDF"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:201
|
||||
msgid "Copy Raw HTML to Clipboard"
|
||||
msgstr "Copiar código HTML al portapapeles"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:254
|
||||
msgid "Sidebar"
|
||||
msgstr "Barra lateral"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:270
|
||||
msgid "Open Search and Replace"
|
||||
msgstr "Abrir Buscar y reemplazar"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:271
|
||||
msgid "Search and Replace ..."
|
||||
msgstr "Buscar y reemplazar…"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:295
|
||||
msgid "Previous Match"
|
||||
msgstr "Coincidencia anterior"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:320
|
||||
msgid "aA"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:324
|
||||
#: data/ui/UberwriterWindow.ui:339
|
||||
msgid "Case Sensitive"
|
||||
msgstr "Coincidencia de mayúsculas y minúsculas"
|
||||
msgstr "Distinguir mayúsculas y minúsculas"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:334
|
||||
msgid "(.*)"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:427
|
||||
#: data/ui/UberwriterWindow.ui:443
|
||||
msgid "Replace"
|
||||
msgstr "Reemplazar"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:441
|
||||
#: data/ui/UberwriterWindow.ui:457
|
||||
msgid "Replace all"
|
||||
msgstr "Reemplazar todo"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:99
|
||||
msgid "emphasized text"
|
||||
msgstr "texto destacado"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:101
|
||||
msgid "strong text"
|
||||
msgstr "texto en negrita"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:103
|
||||
#: uberwriter/FormatShortcuts.py:91
|
||||
msgid "striked out text"
|
||||
msgstr "texto destacado"
|
||||
msgstr "texto tachado"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:121
|
||||
msgid "List item"
|
||||
msgstr "Elemento de lista"
|
||||
#: data/ui/Export.ui:565 uberwriter/plugins/bibtex/bibtex_item.glade:18
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:32
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:45
|
||||
msgid "label"
|
||||
msgstr "etiqueta"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:181
|
||||
msgid "Heading"
|
||||
msgstr "Encabezado"
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:48
|
||||
msgid "Untitled document.md"
|
||||
msgstr "Sin Título.md"
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:372
|
||||
msgid "Please, install the TexLive extension from Gnome Software or running\n"
|
||||
msgstr ""
|
||||
"or favor, instala la extensión de TexLive desde Gnome Software o ejecutando\n"
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:375
|
||||
msgid "Please, install TexLive from your distribuiton repositories"
|
||||
msgstr "Por favor, instala TexLive desde los repositorios de tu sistema"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:183
|
||||
msgid "Website is not available"
|
||||
msgstr "El sitio web no está disponible"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:185
|
||||
msgid "Website is available"
|
||||
msgstr "El sitio web está disponible"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:435
|
||||
msgid "Open Link in Webbrowser"
|
||||
msgstr "Abrir enlace en un navegador web"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:500
|
||||
msgid "No matching footnote found"
|
||||
msgstr "No se encontró la nota de pie correspondiente"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:572
|
||||
msgid "Save your File"
|
||||
msgstr "Guarde su archivo"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:678
|
||||
msgid "MarkDown or Plain Text"
|
||||
msgstr "Markdown o texto simple"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:681
|
||||
msgid "Open a .md-File"
|
||||
msgstr "Abrir un archivo .md"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:706
|
||||
msgid "You have not saved your changes."
|
||||
msgstr "No ha guardado los cambios."
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:708
|
||||
msgid "Close without Saving"
|
||||
msgstr "Cerrar sin guardar"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:709
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:710
|
||||
msgid "Save now"
|
||||
msgstr "Guardar ahora"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:711
|
||||
msgid "Unsaved changes"
|
||||
msgstr "Cambios sin guardar"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:742
|
||||
#, fuzzy
|
||||
#| msgid "CSS File"
|
||||
msgid "New File"
|
||||
msgstr "Archivo CSS"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:780
|
||||
msgid "You can not enable the Spell Checker."
|
||||
msgstr "No puede activar el corrector ortográfico."
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:783
|
||||
msgid ""
|
||||
"Please install 'hunspell' or 'aspell' dictionarys for your language from the "
|
||||
"software center."
|
||||
msgstr ""
|
||||
"Instale los diccionarios de «hunspell» o «aspell» para su idioma desde el "
|
||||
"centro de software."
|
||||
|
||||
#: uberwriter/headerbars.py:76
|
||||
msgid "Exit Fullscreen"
|
||||
msgstr "Salir de pantalla completa"
|
||||
|
||||
#: uberwriter/headerbars.py:118
|
||||
msgid "New"
|
||||
msgstr "Nuevo"
|
||||
|
||||
#: uberwriter/headerbars.py:119
|
||||
msgid "Open"
|
||||
msgstr "Abrir"
|
||||
|
||||
#: uberwriter/headerbars.py:121
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
#: uberwriter/headerbars.py:128
|
||||
msgid "Open Recent"
|
||||
msgstr "Abrir archivo reciente"
|
||||
|
||||
#: uberwriter/headerbars.py:130
|
||||
msgid "Search and replace"
|
||||
msgstr "Buscar y reemplazar"
|
||||
|
||||
#: uberwriter/headerbars.py:131
|
||||
msgid "Menu"
|
||||
msgstr "Menu"
|
||||
|
||||
#: uberwriter_lib/AppWindow.py:173
|
||||
msgid "Show debug messages (-vv debugs uberwriter_lib also)"
|
||||
msgstr "Mostrar mensajes de depuración (-vv depura uberwriter_lib también)"
|
||||
|
||||
#: uberwriter_lib/AppWindow.py:175
|
||||
#: uberwriter_lib/AppWindow.py:248
|
||||
msgid "Use experimental features"
|
||||
msgstr "Usar características experimentales"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259
|
||||
msgid "extension \"{}\" is not a valid ZIP file"
|
||||
msgstr "la extensión \"{}\" no es un formato de archivo ZIP válido"
|
||||
msgstr "la extensión «{}» no es un archivo ZIP válido"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265
|
||||
msgid "extension \"{}\" has no valid XML dictionary registry"
|
||||
msgstr ""
|
||||
msgstr "la extensión «{}» no incluye un registro de diccionario XML válido"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285
|
||||
msgid "unable to move extension, file with same name exists within move_path"
|
||||
msgstr ""
|
||||
msgstr "no se puede mover la extensión; ya existe un archivo con el mismo nombre en move_path"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293
|
||||
msgid "unable to move extension, move_path is not a directory"
|
||||
msgstr ""
|
||||
msgstr "no se puede mover la extensión; move_path no es un directorio"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:105
|
||||
msgid "Unknown"
|
||||
msgstr "Desconocido"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:487
|
||||
msgid "(no suggestions)"
|
||||
msgstr "(no hay sugerencias)"
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:18
|
||||
msgid "Open file base path"
|
||||
msgstr "Abrir ruta de base de archivo"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:509
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:512
|
||||
msgid "Add \"{}\" to Dictionary"
|
||||
msgstr "Añadir «{}» al diccionario"
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:19
|
||||
msgid "Open file paths of the current session"
|
||||
msgstr "Abrir rutas de archivos de la sesión actual"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:516
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:518
|
||||
msgid "Ignore All"
|
||||
msgstr "Ignorar todo"
|
||||
#: data/ui/App_menu.ui:36
|
||||
msgid "Help to _translate"
|
||||
msgstr "Ayudar a _traducir"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:533
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:535
|
||||
msgid "Languages"
|
||||
msgstr "Idiomas"
|
||||
#: data/ui/App_menu.ui:40
|
||||
msgid "Donate to the project"
|
||||
msgstr "Donar al proyecto"
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:551
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:554
|
||||
msgid "Suggestions"
|
||||
msgstr "Sugerencias"
|
||||
#: data/ui/WindowMenu.ui:24
|
||||
msgid "Search and Replace"
|
||||
msgstr "Buscar y reemplazar"
|
||||
|
||||
#~ msgid "UberWriter, a simple and distraction free Markdown Editor"
|
||||
#~ msgstr "UberWriter, un editor Markdown simple y sin distracciones"
|
||||
#: data/ui/About.ui:12
|
||||
msgid "Copyright (C) 2018, Wolf Vollprecht"
|
||||
msgstr "Derechos de autor © 2018 Wolf Vollprecht"
|
||||
|
||||
#~ msgid "_File"
|
||||
#~ msgstr "_Archivo"
|
||||
#: data/ui/About.ui:14
|
||||
msgid "Uberwriter website"
|
||||
msgstr "Sitio web de Uberwriter"
|
||||
|
||||
#~ msgid "Open Recent File"
|
||||
#~ msgstr "Abrir archivo reciente"
|
||||
#: data/ui/About.ui:60
|
||||
msgid "Donations:"
|
||||
msgstr "Donaciones:"
|
||||
|
||||
#~ msgid "Export as ODT"
|
||||
#~ msgstr "Exportar como ODT"
|
||||
#: data/ui/About.ui:69
|
||||
msgid "Liberapay"
|
||||
msgstr "Liberapay"
|
||||
|
||||
#~ msgid "Advanced Export..."
|
||||
#~ msgstr "Exportación avanzada…"
|
||||
#: data/ui/About.ui:100
|
||||
msgid "Help to translate:"
|
||||
msgstr "Ayudar a traducir:"
|
||||
|
||||
#~ msgid "Copy raw HTML to clipboard"
|
||||
#~ msgstr "Copiar código HTML al portapapeles"
|
||||
#: data/ui/About.ui:109
|
||||
msgid "Poeditor"
|
||||
msgstr "Poeditor"
|
||||
|
||||
#~ msgid "_Edit"
|
||||
#~ msgstr "_Editar"
|
||||
#: data/ui/Export.ui:559 data/ui/Export.ui:569
|
||||
msgid "PDF"
|
||||
msgstr "PDF"
|
||||
|
||||
#~ msgid "_View"
|
||||
#~ msgstr "_Ver"
|
||||
#: data/ui/Export.ui:582
|
||||
msgid "HTML"
|
||||
msgstr "HTML"
|
||||
|
||||
#~ msgid "Light text on a dark background"
|
||||
#~ msgstr "Texto claro sobre un fondo oscuro"
|
||||
#: data/ui/Export.ui:595
|
||||
msgid "ODT"
|
||||
msgstr "ODT"
|
||||
|
||||
#~ msgid "Dark Mode"
|
||||
#~ msgstr "Modo oscuro"
|
||||
#: data/ui/Export.ui:607
|
||||
#, fuzzy
|
||||
msgid "Advanced"
|
||||
msgstr "Avanzado"
|
||||
|
||||
#~ msgid "Switch to preview mode"
|
||||
#~ msgstr "Cambiar a modo de previsualización"
|
||||
#: data/ui/Menu.ui:28
|
||||
msgid "_Export"
|
||||
msgstr "_Exportar"
|
||||
|
||||
#~ msgid "Auto _Spellcheck"
|
||||
#~ msgstr "_Corrección ortográfica automática"
|
||||
#: data/ui/Menu.ui:32
|
||||
msgid "Copy HTML"
|
||||
msgstr "Copiar HTML"
|
||||
|
||||
#~ msgid "F_ormat"
|
||||
#~ msgstr "F_ormato"
|
||||
#: data/ui/Menu.ui:38 data/ui/Preferences.ui:14
|
||||
msgid "Preferences"
|
||||
msgstr "Preferencias"
|
||||
|
||||
#~ msgid "Horizontal Rule"
|
||||
#~ msgstr "Línea horizontal"
|
||||
#: data/ui/Menu.ui:44
|
||||
msgid "Open Tutorial"
|
||||
msgstr "Abrir tutorial"
|
||||
|
||||
#~ msgid "_Help"
|
||||
#~ msgstr "Ay_uda"
|
||||
#: data/ui/Preferences.ui:45
|
||||
msgid "Use dark mode"
|
||||
msgstr "Modo oscuro"
|
||||
|
||||
#~ msgid "Contents"
|
||||
#~ msgstr "Contenido"
|
||||
#: data/ui/Preferences.ui:56
|
||||
msgid "Autospellcheck"
|
||||
msgstr "Corrección ortográfica automática"
|
||||
|
||||
#~ msgid "Short Markdown Tutorial"
|
||||
#~ msgstr "Tutorial breve de Markdown"
|
||||
#: data/ui/Preferences.ui:95
|
||||
msgid "page 1"
|
||||
msgstr "página 1"
|
||||
|
||||
#~ msgid "Open Pandoc Online Markdown Help ..."
|
||||
#~ msgstr "Abrir ayuda de Markdown Pandoc en línea…"
|
||||
#: uberwriter/UberwriterExportDialog.py:48
|
||||
msgid "Untitled document.md"
|
||||
msgstr "Documento sin título.md"
|
||||
|
||||
#~ msgid "Get Help Online..."
|
||||
#~ msgstr "Ver ayuda online..."
|
||||
#: uberwriter/UberwriterExportDialog.py:372
|
||||
msgid "Please, install the TexLive extension from Gnome Software or running\n"
|
||||
""
|
||||
msgstr "Instale la extensión de TexLive desde Software de GNOME o ejecutando"
|
||||
|
||||
#~ msgid "Translate This Application..."
|
||||
#~ msgstr "Traducir esta aplicación…"
|
||||
#: uberwriter/UberwriterExportDialog.py:375
|
||||
msgid "Please, install TexLive from your distribuiton repositories"
|
||||
msgstr "Instale TexLive desde los repositorios de la distribución"
|
||||
|
||||
#~ msgid "Go into focus mode"
|
||||
#~ msgstr "Ir al modo de concentración"
|
||||
#: uberwriter/UberwriterWindow.py:894 uberwriter/UberwriterWindow.py:943
|
||||
msgid "New"
|
||||
msgstr "Nuevo"
|
||||
|
||||
#~ msgid "Go into fullscreen mode"
|
||||
#~ msgstr "Ir al modo de pantalla completa"
|
||||
#: uberwriter/UberwriterWindow.py:895 uberwriter/UberwriterWindow.py:944
|
||||
msgid "Open"
|
||||
msgstr "Abrir"
|
||||
|
||||
#~ msgid "Show HTML preview"
|
||||
#~ msgstr "Mostrar vista preliminar de HTML"
|
||||
#: uberwriter/UberwriterWindow.py:899 uberwriter/UberwriterWindow.py:946
|
||||
#: uberwriter/UberwriterWindow.py:949
|
||||
msgid "Open Recent"
|
||||
msgstr "Abrir recientes"
|
||||
|
||||
#~ msgid "You can not export to PDF."
|
||||
#~ msgstr "No puede exportar a PDF."
|
||||
#: uberwriter/UberwriterWindow.py:901 uberwriter/UberwriterWindow.py:951
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Please install <a href=\"apt:texlive\">texlive</a> from the software "
|
||||
#~ "center."
|
||||
#~ msgstr ""
|
||||
#~ "Instale <a href=\"apt:texlive\">texlive</a> desde el centro de software."
|
||||
#: uberwriter/UberwriterWindow.py:904 uberwriter/UberwriterWindow.py:954
|
||||
msgid "Search and replace"
|
||||
msgstr "Buscar y reemplazar"
|
||||
|
||||
#~ msgid "New window"
|
||||
#~ msgstr "Nueva ventana"
|
||||
#: uberwriter/UberwriterWindow.py:906 uberwriter/UberwriterWindow.py:956
|
||||
msgid "Menu"
|
||||
msgstr "Menú"
|
||||
|
||||
#~ msgid "_About"
|
||||
#~ msgstr "_Acerca de"
|
||||
#: uberwriter/UberwriterWindow.py:961
|
||||
msgid "Exit Fullscreen"
|
||||
msgstr "Salir de pantalla completa"
|
||||
|
||||
#~ msgid "_Quit"
|
||||
#~ msgstr "Salir"
|
||||
|
||||
#~ msgid "Activate Regex"
|
||||
#~ msgstr "Expresiones regulares"
|
||||
|
||||
#~ msgid "_New"
|
||||
#~ msgstr "_Nuevo"
|
||||
|
||||
#~ msgid "_Open"
|
||||
#~ msgstr "Abrir"
|
||||
|
||||
#~ msgid "Open examples"
|
||||
#~ msgstr "Abrir ejemplos"
|
||||
|
||||
#~ msgid "_Quick markdown tutorial"
|
||||
#~ msgstr "Tutorial breve de Markdown"
|
||||
|
||||
#~ msgid "_Save"
|
||||
#~ msgstr "Guardar"
|
||||
|
||||
#~ msgid "Export as HTML"
|
||||
#~ msgstr "Exportar como HTML"
|
||||
|
||||
#~ msgid "Export as PDF"
|
||||
#~ msgstr "Exportar como PDF"
|
||||
|
||||
#~ msgid "Copy Raw HTML to Clipboard"
|
||||
#~ msgstr "Copiar código HTML al portapapeles"
|
||||
|
||||
#~ msgid "Sidebar"
|
||||
#~ msgstr "Barra lateral"
|
||||
|
||||
#~ msgid "Open Search and Replace"
|
||||
#~ msgstr "Abrir \"buscar y reemplazar\""
|
||||
|
||||
#~ msgid "Search and Replace ..."
|
||||
#~ msgstr "Buscar y reemplazar..."
|
||||
|
|
|
@ -1,71 +1,211 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: UberWriter\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-11-27 21:21+0100\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: eu\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.2\n"
|
||||
"X-Generator: POEditor.com\n"
|
||||
"Project-Id-Version: UberWriter\n"
|
||||
"Language: eu\n"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:9
|
||||
#, fuzzy
|
||||
msgid "Dark mode"
|
||||
msgstr "Modu iluna"
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:487
|
||||
msgid "(no suggestions)"
|
||||
msgstr "(iradokizunik ez)"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:10
|
||||
msgid ""
|
||||
"If enabled, the window will be dark themed If disabled, the window will be "
|
||||
"light themed asked to install them manually."
|
||||
msgstr ""
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:509
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:512
|
||||
msgid "Add \"{}\" to Dictionary"
|
||||
msgstr "Gehitu \"{}\" hiztegira"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:18
|
||||
msgid "Open file base path"
|
||||
msgstr ""
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:516
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:518
|
||||
msgid "Ignore All"
|
||||
msgstr "Ez ikusi egin guztiei"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:19
|
||||
msgid "Open file paths of the current session"
|
||||
msgstr ""
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:533
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:535
|
||||
msgid "Languages"
|
||||
msgstr "Hizkuntzak"
|
||||
|
||||
#: data/ui/About.ui:12
|
||||
#, fuzzy
|
||||
msgid "Copyright (C) 2018, Wolf Vollprecht"
|
||||
msgstr "Copyright-a (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:551
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:554
|
||||
msgid "Suggestions"
|
||||
msgstr "Iradokizunak"
|
||||
|
||||
#: data/ui/About.ui:14
|
||||
#, fuzzy
|
||||
msgid "Uberwriter website"
|
||||
#: ../uberwriter.desktop.in.h:1
|
||||
msgid "UberWriter"
|
||||
msgstr "UberWriter"
|
||||
|
||||
#: data/ui/About.ui:66
|
||||
msgid "Donations:"
|
||||
#: ../uberwriter.desktop.in.h:2
|
||||
msgid "UberWriter, a simple and distraction free Markdown Editor"
|
||||
msgstr "UberWriter, markaketa-editore sinple eta arreta-galtzerik gabea"
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:187
|
||||
msgid "Website is not available"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/About.ui:75
|
||||
msgid "Liberapay"
|
||||
#: uberwriter/UberwriterInlinePreview.py:189
|
||||
msgid "Website is available"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/About.ui:106
|
||||
msgid "Help to translate:"
|
||||
#: uberwriter/UberwriterInlinePreview.py:441
|
||||
msgid "Open Link in Webbrowser"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/About.ui:115
|
||||
#, fuzzy
|
||||
msgid "Poeditor"
|
||||
#: uberwriter/UberwriterInlinePreview.py:503
|
||||
msgid "No matching footnote found"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:66
|
||||
msgid "_File"
|
||||
msgstr "_Fitxategia"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:96
|
||||
msgid "Open Recent File"
|
||||
msgstr "Ireki oraintsuko fitxategia"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:175
|
||||
msgid "Export as ODT"
|
||||
msgstr "Esportatu ODT bezala"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:186
|
||||
msgid "Advanced Export..."
|
||||
msgstr "Esportatze aurreratua..."
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:5
|
||||
msgid "Copy raw HTML to clipboard"
|
||||
msgstr "Kopiatu HTML gordina arbelera"
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:6
|
||||
msgid "_Edit"
|
||||
msgstr "_Editatu"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:229
|
||||
msgid "_View"
|
||||
msgstr "_Ikusi"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:261
|
||||
msgid "Light text on a dark background"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/WindowMenu.ui:14
|
||||
msgid "Dark Mode"
|
||||
msgstr "Modu iluna"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:261
|
||||
msgid "Switch to preview mode"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:12
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:298 data/ui/WindowMenu.ui:28
|
||||
msgid "Auto _Spellcheck"
|
||||
msgstr "_Egiaztatu ortografia automatikoki"
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:13
|
||||
msgid "F_ormat"
|
||||
msgstr "F_ormatua"
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:14
|
||||
msgid "Unordered List Item"
|
||||
msgstr "Ordenatu gabeko zerrendako elementua"
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:15
|
||||
msgid "Horizontal Rule"
|
||||
msgstr "Marra horizontala"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:186
|
||||
msgid "Heading"
|
||||
msgstr "Izenburua"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:312
|
||||
msgid "_Help"
|
||||
msgstr "_Laguntza"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:322
|
||||
msgid "Contents"
|
||||
msgstr "Edukiak"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:335
|
||||
msgid "Short Markdown Tutorial"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:343
|
||||
msgid "Open Pandoc Online Markdown Help ..."
|
||||
msgstr ""
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:21
|
||||
msgid "Get Help Online..."
|
||||
msgstr "Lortu laguntza linean..."
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:359
|
||||
msgid "Translate This Application..."
|
||||
msgstr "Itzuli aplikazio hau..."
|
||||
|
||||
#: data/ui/Menu.ui:7
|
||||
msgid "Focus Mode"
|
||||
msgstr "Fokuaren modua"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:424 data/ui/UberwriterWindow.ui:425
|
||||
msgid "Go into focus mode"
|
||||
msgstr "Joan fokuaren modura"
|
||||
|
||||
#: data/ui/Menu.ui:17
|
||||
msgid "Fullscreen"
|
||||
msgstr "Pantaila osoa"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:442 data/ui/UberwriterWindow.ui:443
|
||||
msgid "Go into fullscreen mode"
|
||||
msgstr "Joan pantaila osoko modura"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461
|
||||
msgid "Show HTML preview"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:112
|
||||
msgid "Words:"
|
||||
msgstr "Hitzak:"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:155
|
||||
msgid "Characters:"
|
||||
msgstr "Karaktereak:"
|
||||
|
||||
#: uberwriter_lib/AppWindow.py:246
|
||||
msgid "Show debug messages (-vv debugs uberwriter_lib also)"
|
||||
msgstr "Erakutsi arazketako mezuak (-vv erabiliz uberwriter_lib ere arazten da)"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:87
|
||||
msgid "emphasized text"
|
||||
msgstr "nabarmendutako testua"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:89
|
||||
msgid "strong text"
|
||||
msgstr "testu lodia"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:105
|
||||
msgid "List item"
|
||||
msgstr "Zerrendako elementua"
|
||||
|
||||
#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36
|
||||
msgid "Export"
|
||||
msgstr "Esportatu"
|
||||
|
||||
#: data/ui/Export.ui:38 data/ui/UberwriterAdvancedExportDialog.ui:98
|
||||
msgid "Smart"
|
||||
msgstr "Adimentsua"
|
||||
|
||||
#: data/ui/Export.ui:43 data/ui/UberwriterAdvancedExportDialog.ui:103
|
||||
msgid "Pandoc can automatically make \"--\" to a long dash and more"
|
||||
msgstr ""
|
||||
"Pandoc-ek automatikoki bihur dezake \"--\" marra luzean eta gauza gehiago"
|
||||
msgstr "Pandoc-ek automatikoki bihur dezake \"--\" marra luzean eta gauza gehiago"
|
||||
|
||||
#: data/ui/UberwriterAdvancedExportDialog.ui:117
|
||||
msgid "Normalize"
|
||||
msgstr "Normalizatu"
|
||||
|
||||
#: data/ui/UberwriterAdvancedExportDialog.ui:122
|
||||
msgid "Removes things like double spaces or spaces at the beginning of a paragraph"
|
||||
msgstr "Zuriune bikoitzak edo paragrafo hasierako zuriuneak bezalako gauzak kentzen ditu"
|
||||
|
||||
#: data/ui/Export.ui:56 data/ui/UberwriterAdvancedExportDialog.ui:135
|
||||
msgid "Table of Contents"
|
||||
|
@ -76,12 +216,8 @@ msgid "Standalone"
|
|||
msgstr "Autonomoa"
|
||||
|
||||
#: data/ui/Export.ui:77 data/ui/UberwriterAdvancedExportDialog.ui:157
|
||||
msgid ""
|
||||
"Use a header and footer to include things like stylesheets and meta "
|
||||
"information"
|
||||
msgstr ""
|
||||
"Erabili goiburua eta orri-oina estilo-orriak eta meta-informazioa bezalako "
|
||||
"gauzak gehitzeko"
|
||||
msgid "Use a header and footer to include things like stylesheets and meta information"
|
||||
msgstr "Erabili goiburua eta orri-oina estilo-orriak eta meta-informazioa bezalako gauzak gehitzeko"
|
||||
|
||||
#: data/ui/Export.ui:90 data/ui/UberwriterAdvancedExportDialog.ui:171
|
||||
msgid "Number Sections"
|
||||
|
@ -125,21 +261,13 @@ msgstr "Nabarmentze-estiloa "
|
|||
msgid "<b>Syntax highlighting</b> (HTML, LaTeX)"
|
||||
msgstr "<b>Sintaxiaren nabarmentzea</b> (HTML, LaTeX)"
|
||||
|
||||
#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491
|
||||
msgid "<b>Bibliography File</b>"
|
||||
msgstr "<b>Bibliografia-fitxategia</b>"
|
||||
|
||||
#: data/ui/Export.ui:329 data/ui/UberwriterAdvancedExportDialog.ui:371
|
||||
msgid "Self Contained"
|
||||
msgstr "Beregaina"
|
||||
|
||||
#: data/ui/Export.ui:334 data/ui/UberwriterAdvancedExportDialog.ui:376
|
||||
msgid ""
|
||||
"Produces a HTML that has no external dependencies (all images and "
|
||||
"stylesheets are included)"
|
||||
msgstr ""
|
||||
"Kanpoko menpekotasunik gabeko HTMLa sortzen du (irudi eta estilo-orri "
|
||||
"guztiak erantsita daude)"
|
||||
msgid "Produces a HTML that has no external dependencies (all images and stylesheets are included)"
|
||||
msgstr "Kanpoko menpekotasunik gabeko HTMLa sortzen du (irudi eta estilo-orri guztiak erantsita daude)"
|
||||
|
||||
#: data/ui/Export.ui:346 data/ui/UberwriterAdvancedExportDialog.ui:389
|
||||
msgid "HTML 5"
|
||||
|
@ -163,98 +291,111 @@ msgstr "CSS fitxategia"
|
|||
msgid "<b>HTML Options</b>"
|
||||
msgstr "<b>HTML aukerak</b>"
|
||||
|
||||
#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491
|
||||
msgid "<b>Bibliography File</b>"
|
||||
msgstr "<b>Bibliografia-fitxategia</b>"
|
||||
|
||||
#: data/ui/Export.ui:423 data/ui/UberwriterAdvancedExportDialog.ui:510
|
||||
msgid "Commandline Reference"
|
||||
msgstr "Komando-lerroko erreferentzia"
|
||||
|
||||
#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36
|
||||
msgid "Export"
|
||||
msgstr "Esportatu"
|
||||
|
||||
#: data/ui/Export.ui:559 data/ui/Export.ui:569
|
||||
msgid "PDF"
|
||||
#: ../data/ui/AboutUberwriterDialog.ui.h:1
|
||||
msgid "# Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>\n"
|
||||
"# This program is free software: you can redistribute it and/or modify it \n"
|
||||
"# under the terms of the GNU General Public License version 3, as published \n"
|
||||
"# by the Free Software Foundation.\n"
|
||||
"# \n"
|
||||
"# This program is distributed in the hope that it will be useful, but \n"
|
||||
"# WITHOUT ANY WARRANTY; without even the implied warranties of \n"
|
||||
"# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n"
|
||||
"# PURPOSE. See the GNU General Public License for more details.\n"
|
||||
"# \n"
|
||||
"# You should have received a copy of the GNU General Public License along \n"
|
||||
"# with this program. If not, see <http://www.gnu.org/licenses/>.\n"
|
||||
""
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Export.ui:565 uberwriter/plugins/bibtex/bibtex_item.glade:18
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:32
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:45
|
||||
msgid "label"
|
||||
msgstr ""
|
||||
#: ../data/ui/AboutUberwriterDialog.ui.h:14
|
||||
msgid "Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
msgstr "Copyright-a (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
|
||||
#: data/ui/Export.ui:582
|
||||
#, fuzzy
|
||||
msgid "HTML"
|
||||
msgstr "HTML 5"
|
||||
#: uberwriter/UberwriterWindow.py:347
|
||||
msgid "Save your File"
|
||||
msgstr "Gorde zure fitxategia"
|
||||
|
||||
#: data/ui/Export.ui:595
|
||||
msgid "ODT"
|
||||
msgstr ""
|
||||
#: uberwriter/UberwriterWindow.py:490
|
||||
msgid "You can not export to PDF."
|
||||
msgstr "Ezin duzu PDFra esportatu."
|
||||
|
||||
#: data/ui/Export.ui:607
|
||||
#, fuzzy
|
||||
msgid "Advanced"
|
||||
msgstr "Esportatze aurreratua..."
|
||||
#: uberwriter/UberwriterWindow.py:492
|
||||
msgid "Please install <a href=\"apt:texlive\">texlive</a> from the software center."
|
||||
msgstr "Mesedez instalatu <a href=\"apt:texlive\">texlive</a> software-zentrotik."
|
||||
|
||||
#: data/ui/Menu.ui:6
|
||||
msgid "Focus Mode"
|
||||
msgstr "Fokuaren modua"
|
||||
#: uberwriter/UberwriterWindow.py:448
|
||||
msgid "MarkDown or Plain Text"
|
||||
msgstr "Markaketa edo testu-laua"
|
||||
|
||||
#: data/ui/Menu.ui:10
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
#: uberwriter/UberwriterWindow.py:451
|
||||
msgid "Open a .md-File"
|
||||
msgstr "Ireki .md fitxategi bat"
|
||||
|
||||
#: data/ui/Menu.ui:14
|
||||
msgid "Fullscreen"
|
||||
msgstr "Pantaila osoa"
|
||||
#: uberwriter/UberwriterWindow.py:473
|
||||
msgid "You have not saved your changes."
|
||||
msgstr "Ez dituzu gorde zure aldaketak."
|
||||
|
||||
#: data/ui/Menu.ui:20
|
||||
#, fuzzy
|
||||
msgid "Save _As"
|
||||
#: uberwriter/UberwriterWindow.py:475
|
||||
msgid "Close without Saving"
|
||||
msgstr "Itxi gorde gabe"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:476
|
||||
msgid "Cancel"
|
||||
msgstr "Utzi"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:477
|
||||
msgid "Save now"
|
||||
msgstr "Gorde orain"
|
||||
|
||||
#: data/ui/Menu.ui:24
|
||||
#: uberwriter/UberwriterWindow.py:478
|
||||
msgid "Unsaved changes"
|
||||
msgstr "Gorde gabeko aldaketak"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:537
|
||||
msgid "You can not enable the Spell Checker."
|
||||
msgstr "Ezin duzu zuzentzaile ortografikoa gaitu."
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:540
|
||||
msgid "Please install 'hunspell' or 'aspell' dictionarys for your language from the software center."
|
||||
msgstr "Mesedez instalatu zure hizkuntzaren 'hunspell' edo 'aspell' hiztegiak software-zentrotik."
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:9
|
||||
#, fuzzy
|
||||
msgid "_Export"
|
||||
msgstr "Esportatu"
|
||||
msgid "Dark mode"
|
||||
msgstr "Modu iluna"
|
||||
|
||||
#: data/ui/Menu.ui:28
|
||||
msgid "Copy HTML"
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:10
|
||||
msgid "If enabled, the window will be dark themed If disabled, the window will be light themed asked to install them manually."
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:34
|
||||
msgid "Open Tutorial"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:39
|
||||
msgid "Pandoc _Help"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:44 data/ui/Preferences.ui:14
|
||||
msgid "Preferences"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:49
|
||||
msgid "_Keyboard Shortcuts"
|
||||
#. <attribute name="action">win.change_label</attribute>
|
||||
#. <attribute name="target">String 1</attribute>
|
||||
#: data/ui/App_menu.ui:10
|
||||
msgid "New window"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:53
|
||||
#, fuzzy
|
||||
#| msgid "UberWriter"
|
||||
msgid "_About UberWriter"
|
||||
msgstr "UberWriter"
|
||||
msgid "_Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Preferences.ui:45
|
||||
#, fuzzy
|
||||
msgid "Use dark mode"
|
||||
msgstr "Modu iluna"
|
||||
#: data/ui/Menu.ui:49
|
||||
msgid "Pandoc _Help"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Preferences.ui:56
|
||||
#, fuzzy
|
||||
msgid "Autospellcheck"
|
||||
msgstr "_Egiaztatu ortografia automatikoki"
|
||||
#: data/ui/Menu.ui:59
|
||||
msgid "_About"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Preferences.ui:95
|
||||
msgid "page 1"
|
||||
#: data/ui/Menu.ui:62
|
||||
msgid "_Quit"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Shortcuts.ui:13
|
||||
|
@ -364,195 +505,101 @@ msgctxt "shortcut window"
|
|||
msgid "Select all"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterAdvancedExportDialog.ui:117
|
||||
msgid "Normalize"
|
||||
msgstr "Normalizatu"
|
||||
|
||||
#: data/ui/UberwriterAdvancedExportDialog.ui:122
|
||||
msgid ""
|
||||
"Removes things like double spaces or spaces at the beginning of a paragraph"
|
||||
msgstr ""
|
||||
"Zuriune bikoitzak edo paragrafo hasierako zuriuneak bezalako gauzak kentzen "
|
||||
"ditu"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:19
|
||||
msgid "Next Match"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:36
|
||||
#: data/ui/UberwriterWindow.ui:41
|
||||
#, fuzzy
|
||||
msgid "Open Replace"
|
||||
msgstr "Ireki oraintsuko fitxategia"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:96
|
||||
msgid "Words:"
|
||||
msgstr "Hitzak:"
|
||||
#: data/ui/UberwriterWindow.ui:52
|
||||
msgid "Activate Regex"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:139
|
||||
msgid "Characters:"
|
||||
msgstr "Karaktereak:"
|
||||
#: data/ui/UberwriterWindow.ui:74
|
||||
msgid "_New"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:279
|
||||
#: data/ui/UberwriterWindow.ui:84
|
||||
msgid "_Open"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:102
|
||||
#, fuzzy
|
||||
msgid "Open examples"
|
||||
msgstr "Ireki .md fitxategi bat"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:114
|
||||
msgid "_Quick markdown tutorial"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:131
|
||||
#, fuzzy
|
||||
msgid "_Save"
|
||||
msgstr "Gorde orain"
|
||||
|
||||
#: data/ui/Menu.ui:24
|
||||
#, fuzzy
|
||||
msgid "Save _As"
|
||||
msgstr "Gorde orain"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:157
|
||||
#, fuzzy
|
||||
msgid "Export as HTML"
|
||||
msgstr "Esportatu ODT bezala"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:166
|
||||
#, fuzzy
|
||||
msgid "Export as PDF"
|
||||
msgstr "Esportatu ODT bezala"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:201
|
||||
#, fuzzy
|
||||
msgid "Copy Raw HTML to Clipboard"
|
||||
msgstr "Kopiatu HTML gordina arbelera"
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:254
|
||||
msgid "Sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:270
|
||||
msgid "Open Search and Replace"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:271
|
||||
msgid "Search and Replace ..."
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:295
|
||||
msgid "Previous Match"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:320
|
||||
msgid "aA"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:324
|
||||
#: data/ui/UberwriterWindow.ui:339
|
||||
msgid "Case Sensitive"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:334
|
||||
msgid "(.*)"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:427
|
||||
#: data/ui/UberwriterWindow.ui:443
|
||||
msgid "Replace"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/UberwriterWindow.ui:441
|
||||
#: data/ui/UberwriterWindow.ui:457
|
||||
msgid "Replace all"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:99
|
||||
msgid "emphasized text"
|
||||
msgstr "nabarmendutako testua"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:101
|
||||
msgid "strong text"
|
||||
msgstr "testu lodia"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:103
|
||||
#: uberwriter/FormatShortcuts.py:91
|
||||
#, fuzzy
|
||||
msgid "striked out text"
|
||||
msgstr "testu lodia"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:121
|
||||
msgid "List item"
|
||||
msgstr "Zerrendako elementua"
|
||||
|
||||
#: uberwriter/FormatShortcuts.py:181
|
||||
msgid "Heading"
|
||||
msgstr "Izenburua"
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:48
|
||||
msgid "Untitled document.md"
|
||||
#: data/ui/Export.ui:565 uberwriter/plugins/bibtex/bibtex_item.glade:18
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:32
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:45
|
||||
msgid "label"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:372
|
||||
msgid "Please, install the TexLive extension from Gnome Software or running\n"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:375
|
||||
msgid "Please, install TexLive from your distribuiton repositories"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:183
|
||||
msgid "Website is not available"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:185
|
||||
msgid "Website is available"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:435
|
||||
msgid "Open Link in Webbrowser"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterInlinePreview.py:500
|
||||
msgid "No matching footnote found"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:572
|
||||
msgid "Save your File"
|
||||
msgstr "Gorde zure fitxategia"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:678
|
||||
msgid "MarkDown or Plain Text"
|
||||
msgstr "Markaketa edo testu-laua"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:681
|
||||
msgid "Open a .md-File"
|
||||
msgstr "Ireki .md fitxategi bat"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:706
|
||||
msgid "You have not saved your changes."
|
||||
msgstr "Ez dituzu gorde zure aldaketak."
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:708
|
||||
msgid "Close without Saving"
|
||||
msgstr "Itxi gorde gabe"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:709
|
||||
msgid "Cancel"
|
||||
msgstr "Utzi"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:710
|
||||
msgid "Save now"
|
||||
msgstr "Gorde orain"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:711
|
||||
msgid "Unsaved changes"
|
||||
msgstr "Gorde gabeko aldaketak"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:742
|
||||
#, fuzzy
|
||||
#| msgid "CSS File"
|
||||
msgid "New File"
|
||||
msgstr "CSS fitxategia"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:780
|
||||
msgid "You can not enable the Spell Checker."
|
||||
msgstr "Ezin duzu zuzentzaile ortografikoa gaitu."
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:783
|
||||
msgid ""
|
||||
"Please install 'hunspell' or 'aspell' dictionarys for your language from the "
|
||||
"software center."
|
||||
msgstr ""
|
||||
"Mesedez instalatu zure hizkuntzaren 'hunspell' edo 'aspell' hiztegiak "
|
||||
"software-zentrotik."
|
||||
|
||||
#: uberwriter/headerbars.py:76
|
||||
#, fuzzy
|
||||
msgid "Exit Fullscreen"
|
||||
msgstr "Pantaila osoa"
|
||||
|
||||
#: uberwriter/headerbars.py:118
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:119
|
||||
msgid "Open"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:121
|
||||
#, fuzzy
|
||||
msgid "Save"
|
||||
msgstr "Gorde orain"
|
||||
|
||||
#: uberwriter/headerbars.py:128
|
||||
#, fuzzy
|
||||
msgid "Open Recent"
|
||||
msgstr "Ireki oraintsuko fitxategia"
|
||||
|
||||
#: uberwriter/headerbars.py:130
|
||||
#, fuzzy
|
||||
msgid "Search and replace"
|
||||
msgstr "Ireki oraintsuko fitxategia"
|
||||
|
||||
#: uberwriter/headerbars.py:131
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter_lib/AppWindow.py:173
|
||||
msgid "Show debug messages (-vv debugs uberwriter_lib also)"
|
||||
msgstr ""
|
||||
"Erakutsi arazketako mezuak (-vv erabiliz uberwriter_lib ere arazten da)"
|
||||
|
||||
#: uberwriter_lib/AppWindow.py:175
|
||||
#: uberwriter_lib/AppWindow.py:248
|
||||
msgid "Use experimental features"
|
||||
msgstr ""
|
||||
|
||||
|
@ -576,115 +623,145 @@ msgstr ""
|
|||
msgid "Unknown"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:487
|
||||
msgid "(no suggestions)"
|
||||
msgstr "(iradokizunik ez)"
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:18
|
||||
msgid "Open file base path"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:509
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:512
|
||||
msgid "Add \"{}\" to Dictionary"
|
||||
msgstr "Gehitu \"{}\" hiztegira"
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:19
|
||||
msgid "Open file paths of the current session"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:516
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:518
|
||||
msgid "Ignore All"
|
||||
msgstr "Ez ikusi egin guztiei"
|
||||
#: data/ui/App_menu.ui:36
|
||||
msgid "Help to _translate"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:533
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:535
|
||||
msgid "Languages"
|
||||
msgstr "Hizkuntzak"
|
||||
#: data/ui/App_menu.ui:40
|
||||
msgid "Donate to the project"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:551
|
||||
#: uberwriter_lib/gtkspellcheck/spellcheck.py:554
|
||||
msgid "Suggestions"
|
||||
msgstr "Iradokizunak"
|
||||
|
||||
#~ msgid "UberWriter, a simple and distraction free Markdown Editor"
|
||||
#~ msgstr "UberWriter, markaketa-editore sinple eta arreta-galtzerik gabea"
|
||||
|
||||
#~ msgid "_File"
|
||||
#~ msgstr "_Fitxategia"
|
||||
|
||||
#~ msgid "Open Recent File"
|
||||
#~ msgstr "Ireki oraintsuko fitxategia"
|
||||
|
||||
#~ msgid "Export as ODT"
|
||||
#~ msgstr "Esportatu ODT bezala"
|
||||
|
||||
#~ msgid "Advanced Export..."
|
||||
#~ msgstr "Esportatze aurreratua..."
|
||||
|
||||
#~ msgid "Copy raw HTML to clipboard"
|
||||
#~ msgstr "Kopiatu HTML gordina arbelera"
|
||||
|
||||
#~ msgid "_Edit"
|
||||
#~ msgstr "_Editatu"
|
||||
|
||||
#~ msgid "_View"
|
||||
#~ msgstr "_Ikusi"
|
||||
|
||||
#~ msgid "Dark Mode"
|
||||
#~ msgstr "Modu iluna"
|
||||
|
||||
#~ msgid "Auto _Spellcheck"
|
||||
#~ msgstr "_Egiaztatu ortografia automatikoki"
|
||||
|
||||
#~ msgid "F_ormat"
|
||||
#~ msgstr "F_ormatua"
|
||||
|
||||
#~ msgid "Unordered List Item"
|
||||
#~ msgstr "Ordenatu gabeko zerrendako elementua"
|
||||
|
||||
#~ msgid "Horizontal Rule"
|
||||
#~ msgstr "Marra horizontala"
|
||||
|
||||
#~ msgid "_Help"
|
||||
#~ msgstr "_Laguntza"
|
||||
|
||||
#~ msgid "Contents"
|
||||
#~ msgstr "Edukiak"
|
||||
|
||||
#~ msgid "Get Help Online..."
|
||||
#~ msgstr "Lortu laguntza linean..."
|
||||
|
||||
#~ msgid "Translate This Application..."
|
||||
#~ msgstr "Itzuli aplikazio hau..."
|
||||
|
||||
#~ msgid "Go into focus mode"
|
||||
#~ msgstr "Joan fokuaren modura"
|
||||
|
||||
#~ msgid "Go into fullscreen mode"
|
||||
#~ msgstr "Joan pantaila osoko modura"
|
||||
|
||||
#~ msgid "Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
#~ msgstr "Copyright-a (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
|
||||
#~ msgid "You can not export to PDF."
|
||||
#~ msgstr "Ezin duzu PDFra esportatu."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Please install <a href=\"apt:texlive\">texlive</a> from the software "
|
||||
#~ "center."
|
||||
#~ msgstr ""
|
||||
#~ "Mesedez instalatu <a href=\"apt:texlive\">texlive</a> software-zentrotik."
|
||||
#: data/ui/WindowMenu.ui:24
|
||||
msgid "Search and Replace"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/About.ui:12
|
||||
#, fuzzy
|
||||
#~ msgid "Open examples"
|
||||
#~ msgstr "Ireki .md fitxategi bat"
|
||||
msgid "Copyright (C) 2018, Wolf Vollprecht"
|
||||
msgstr "Copyright-a (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
|
||||
#: data/ui/About.ui:14
|
||||
#, fuzzy
|
||||
#~ msgid "_Save"
|
||||
#~ msgstr "Gorde orain"
|
||||
msgid "Uberwriter website"
|
||||
msgstr "UberWriter"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Export as HTML"
|
||||
#~ msgstr "Esportatu ODT bezala"
|
||||
#: data/ui/About.ui:60
|
||||
msgid "Donations:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Export as PDF"
|
||||
#~ msgstr "Esportatu ODT bezala"
|
||||
#: data/ui/About.ui:69
|
||||
msgid "Liberapay"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/About.ui:100
|
||||
msgid "Help to translate:"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/About.ui:109
|
||||
#, fuzzy
|
||||
#~ msgid "Copy Raw HTML to Clipboard"
|
||||
#~ msgstr "Kopiatu HTML gordina arbelera"
|
||||
msgid "Poeditor"
|
||||
msgstr "_Editatu"
|
||||
|
||||
#: data/ui/Export.ui:559 data/ui/Export.ui:569
|
||||
msgid "PDF"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Export.ui:582
|
||||
#, fuzzy
|
||||
msgid "HTML"
|
||||
msgstr "HTML 5"
|
||||
|
||||
#: data/ui/Export.ui:595
|
||||
msgid "ODT"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Export.ui:607
|
||||
#, fuzzy
|
||||
msgid "Advanced"
|
||||
msgstr "Esportatze aurreratua..."
|
||||
|
||||
#: data/ui/Menu.ui:28
|
||||
#, fuzzy
|
||||
msgid "_Export"
|
||||
msgstr "Esportatu"
|
||||
|
||||
#: data/ui/Menu.ui:32
|
||||
msgid "Copy HTML"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:38 data/ui/Preferences.ui:14
|
||||
msgid "Preferences"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:44
|
||||
msgid "Open Tutorial"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Preferences.ui:45
|
||||
#, fuzzy
|
||||
msgid "Use dark mode"
|
||||
msgstr "Modu iluna"
|
||||
|
||||
#: data/ui/Preferences.ui:56
|
||||
#, fuzzy
|
||||
msgid "Autospellcheck"
|
||||
msgstr "_Egiaztatu ortografia automatikoki"
|
||||
|
||||
#: data/ui/Preferences.ui:95
|
||||
msgid "page 1"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:48
|
||||
msgid "Untitled document.md"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:372
|
||||
msgid "Please, install the TexLive extension from Gnome Software or running\n"
|
||||
""
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterExportDialog.py:375
|
||||
msgid "Please, install TexLive from your distribuiton repositories"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:894 uberwriter/UberwriterWindow.py:943
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:895 uberwriter/UberwriterWindow.py:944
|
||||
msgid "Open"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:899 uberwriter/UberwriterWindow.py:946
|
||||
#: uberwriter/UberwriterWindow.py:949
|
||||
#, fuzzy
|
||||
msgid "Open Recent"
|
||||
msgstr "Ireki oraintsuko fitxategia"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:901 uberwriter/UberwriterWindow.py:951
|
||||
#, fuzzy
|
||||
msgid "Save"
|
||||
msgstr "Gorde orain"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:904 uberwriter/UberwriterWindow.py:954
|
||||
#, fuzzy
|
||||
msgid "Search and replace"
|
||||
msgstr "Ireki oraintsuko fitxategia"
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:906 uberwriter/UberwriterWindow.py:956
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/UberwriterWindow.py:961
|
||||
#, fuzzy
|
||||
msgid "Exit Fullscreen"
|
||||
msgstr "Pantaila osoa"
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,6 @@
|
|||
import re
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk
|
||||
|
||||
import logging
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
### END LICENSE
|
||||
|
||||
import re
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import Pango
|
||||
|
||||
|
|
|
@ -23,6 +23,8 @@ import logging
|
|||
# import gettext
|
||||
|
||||
from gettext import gettext as _
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk
|
||||
|
||||
from uberwriter_lib import helpers
|
||||
|
|
|
@ -26,6 +26,8 @@ import telnetlib
|
|||
|
||||
from gettext import gettext as _
|
||||
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, GObject
|
||||
from uberwriter_lib import LatexToPNG
|
||||
from .Settings import Settings
|
||||
|
|
|
@ -16,8 +16,9 @@
|
|||
|
||||
import re
|
||||
import logging
|
||||
|
||||
from gi.repository import Gdk
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, Gdk
|
||||
# from plugins import plugins
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
import os
|
||||
import subprocess
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, Gdk
|
||||
|
||||
# from plugins import plugins
|
||||
|
@ -151,10 +153,10 @@ class UberwriterSidebar():
|
|||
filename = self.store.get_value(treeiter, 1)
|
||||
item = Gtk.MenuItem.new()
|
||||
item.set_label("Open ...")
|
||||
item.connect("activate", self.context_menu_open_file)
|
||||
item.filename = filename
|
||||
# item.connect("activate", self.context_menu_open_file)
|
||||
# item.filename = filename
|
||||
item.show()
|
||||
self.popup.append(item)
|
||||
# self.popup.append(item)
|
||||
self.popup.show()
|
||||
self.popup.popup(None, None, None, None, event.button, event.time)
|
||||
return True
|
||||
|
|
|
@ -44,14 +44,11 @@ Extending
|
|||
A TextEditor is Gtk.TextView
|
||||
|
||||
"""
|
||||
try:
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import Gdk
|
||||
from gi.repository import GObject
|
||||
from .FormatShortcuts import FormatShortcuts
|
||||
|
||||
except:
|
||||
print("couldn't load depencies")
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, Gdk, GObject
|
||||
from .FormatShortcuts import FormatShortcuts
|
||||
|
||||
import logging
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
|
@ -83,6 +80,7 @@ class UndoableDelete:
|
|||
self.mergeable = not bool(self.end - self.start > 1
|
||||
or self.text in ("\r", "\n", " "))
|
||||
|
||||
|
||||
class TextEditor(Gtk.TextView):
|
||||
"""TextEditor encapsulates management of TextBuffer and TextIter for
|
||||
common functionality, such as cut, copy, paste, undo, redo, and
|
||||
|
@ -90,14 +88,14 @@ class TextEditor(Gtk.TextView):
|
|||
"""
|
||||
|
||||
__gsignals__ = {
|
||||
'insert-italic': (GObject.SIGNAL_ACTION, None, ()),
|
||||
'insert-bold': (GObject.SIGNAL_ACTION, None, ()),
|
||||
'insert-hrule': (GObject.SIGNAL_ACTION, None, ()),
|
||||
'insert-ulistitem': (GObject.SIGNAL_ACTION, None, ()),
|
||||
'insert-heading': (GObject.SIGNAL_ACTION, None, ()),
|
||||
'insert-strikeout': (GObject.SIGNAL_ACTION, None, ()),
|
||||
'undo': (GObject.SIGNAL_ACTION, None, ()),
|
||||
'redo': (GObject.SIGNAL_ACTION, None, ())
|
||||
'insert-italic': (GObject.SignalFlags.ACTION, None, ()),
|
||||
'insert-bold': (GObject.SignalFlags.ACTION, None, ()),
|
||||
'insert-hrule': (GObject.SignalFlags.ACTION, None, ()),
|
||||
'insert-ulistitem': (GObject.SignalFlags.ACTION, None, ()),
|
||||
'insert-heading': (GObject.SignalFlags.ACTION, None, ()),
|
||||
'insert-strikeout': (GObject.SignalFlags.ACTION, None, ()),
|
||||
'undo': (GObject.SignalFlags.ACTION, None, ()),
|
||||
'redo': (GObject.SignalFlags.ACTION, None, ())
|
||||
}
|
||||
|
||||
def scroll_to_iter(self, iterable, *args):
|
||||
|
@ -111,10 +109,13 @@ class TextEditor(Gtk.TextView):
|
|||
Gtk.TextView.__init__(self)
|
||||
self.undo_max = None
|
||||
|
||||
self.insert_event = self.get_buffer().connect("insert-text", self.on_insert_text)
|
||||
self.delete_event = self.get_buffer().connect("delete-range", self.on_delete_range)
|
||||
self.insert_event = self.get_buffer().connect("insert-text",
|
||||
self.on_insert_text)
|
||||
self.delete_event = self.get_buffer().connect("delete-range",
|
||||
self.on_delete_range)
|
||||
display = self.get_display()
|
||||
self.clipboard = Gtk.Clipboard.get_for_display(display, Gdk.SELECTION_CLIPBOARD)
|
||||
self.clipboard = Gtk.Clipboard.get_for_display(display,
|
||||
Gdk.SELECTION_CLIPBOARD)
|
||||
|
||||
self.undo_stack = []
|
||||
self.redo_stack = []
|
||||
|
@ -154,7 +155,6 @@ class TextEditor(Gtk.TextView):
|
|||
def can_redo(self):
|
||||
return bool(self.redo_stack)
|
||||
|
||||
|
||||
@text.setter
|
||||
def text(self, text):
|
||||
self.get_buffer().set_text(text)
|
||||
|
@ -371,10 +371,10 @@ class TextEditor(Gtk.TextView):
|
|||
self.undo_stack.append(undo_action)
|
||||
return
|
||||
if can_be_merged(prev_delete, undo_action):
|
||||
if prev_delete.start == undo_action.start: # delete key used
|
||||
if prev_delete.start == undo_action.start: # delete key used
|
||||
prev_delete.text += undo_action.text
|
||||
prev_delete.end += (undo_action.end - undo_action.start)
|
||||
else: # Backspace used
|
||||
else: # Backspace used
|
||||
prev_delete.text = "%s%s" % (undo_action.text,
|
||||
prev_delete.text)
|
||||
prev_delete.start = undo_action.start
|
||||
|
@ -427,10 +427,10 @@ class TestWindow(Gtk.Window):
|
|||
|
||||
"""
|
||||
def __init__(self):
|
||||
#create a window a VBox to hold the controls
|
||||
# create a window a VBox to hold the controls
|
||||
Gtk.Window.__init__(self)
|
||||
self.set_title("TextEditor Test Window")
|
||||
windowbox = Gtk.VBox(False, 2)
|
||||
windowbox = Gtk.VBox(homogeneous=False, spacing=2)
|
||||
windowbox.show()
|
||||
self.add(windowbox)
|
||||
self.editor = TextEditor()
|
||||
|
@ -447,27 +447,27 @@ class TestWindow(Gtk.Window):
|
|||
self.editor.cursor_to_end()
|
||||
self.editor.cursor_to_start()
|
||||
self.editor.undo_max = 100
|
||||
cut_button = Gtk.Button("Cut")
|
||||
cut_button = Gtk.Button(label="Cut")
|
||||
cut_button.connect("clicked", self.editor.cut)
|
||||
cut_button.show()
|
||||
windowbox.pack_start(cut_button, False, False, 0)
|
||||
|
||||
copy_button = Gtk.Button("Copy")
|
||||
copy_button = Gtk.Button(label="Copy")
|
||||
copy_button.connect("clicked", self.editor.copy)
|
||||
copy_button.show()
|
||||
windowbox.pack_start(copy_button, False, False, 0)
|
||||
|
||||
paste_button = Gtk.Button("Paste")
|
||||
paste_button = Gtk.Button(label="Paste")
|
||||
paste_button.connect("clicked", self.editor.paste)
|
||||
paste_button.show()
|
||||
windowbox.pack_start(paste_button, False, False, 0)
|
||||
|
||||
undo_button = Gtk.Button("Undo")
|
||||
undo_button = Gtk.Button(label="Undo")
|
||||
undo_button.connect("clicked", self.editor.undo)
|
||||
undo_button.show()
|
||||
windowbox.pack_start(undo_button, False, False, 0)
|
||||
|
||||
redo_button = Gtk.Button("Redo")
|
||||
redo_button = Gtk.Button(label="Redo")
|
||||
redo_button.connect("clicked", self.editor.redo)
|
||||
redo_button.show()
|
||||
windowbox.pack_start(redo_button, False, False, 0)
|
||||
|
|
|
@ -28,8 +28,9 @@ import re
|
|||
from gettext import gettext as _
|
||||
|
||||
import gi
|
||||
gi.require_version('WebKit2', '4.0') # pylint: disable=wrong-import-position
|
||||
from gi.repository import Gtk, Gdk, GObject, GLib, Gio # pylint: disable=E0611
|
||||
gi.require_version('Gtk', '3.0')
|
||||
gi.require_version('WebKit2', '4.0') # pylint: disable=wrong-import-position
|
||||
from gi.repository import Gtk, Gdk, GObject, GLib, Gio
|
||||
from gi.repository import WebKit2 as WebKit
|
||||
from gi.repository import Pango # pylint: disable=E0611
|
||||
|
||||
|
@ -61,9 +62,9 @@ CONFIG_PATH = os.path.expanduser("~/.config/uberwriter/")
|
|||
|
||||
# See texteditor_lib.Window.py for more details about how this class works
|
||||
|
||||
|
||||
class UberwriterWindow(Gtk.ApplicationWindow):
|
||||
|
||||
#__gtype_name__ = "UberwriterWindow"
|
||||
WORDCOUNT = re.compile(r"(?!\-\w)[\s#*\+\-]+", re.UNICODE)
|
||||
|
||||
def __init__(self, app):
|
||||
|
@ -153,7 +154,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
# Let them disable it
|
||||
|
||||
if self.settings.get_value("gradient-overlay"):
|
||||
self.scrolled_window.connect_after("draw", self.draw_gradient)
|
||||
self.overlay = self.scrolled_window.connect_after("draw", self.draw_gradient)
|
||||
|
||||
self.smooth_scroll_starttime = 0
|
||||
self.smooth_scroll_endtime = 0
|
||||
|
@ -177,13 +178,13 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
# Init file name with None
|
||||
self.set_filename()
|
||||
|
||||
self.style_provider = Gtk.CssProvider()
|
||||
self.style_provider.load_from_path(helpers.get_media_path('style.css'))
|
||||
# self.style_provider = Gtk.CssProvider()
|
||||
# self.style_provider.load_from_path(helpers.get_media_path('arc_style.css'))
|
||||
|
||||
Gtk.StyleContext.add_provider_for_screen(
|
||||
Gdk.Screen.get_default(), self.style_provider,
|
||||
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
|
||||
)
|
||||
# Gtk.StyleContext.add_provider_for_screen(
|
||||
# Gdk.Screen.get_default(), self.style_provider,
|
||||
# Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
|
||||
# )
|
||||
|
||||
# Markup and Shortcuts for the TextBuffer
|
||||
self.markup_buffer = MarkupBuffer(
|
||||
|
@ -230,23 +231,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
|
||||
# Setting up spellcheck
|
||||
self.auto_correct = None
|
||||
try:
|
||||
self.spell_checker = SpellChecker(
|
||||
self.text_editor, locale.getdefaultlocale()[0],
|
||||
collapse=False)
|
||||
if self.auto_correct:
|
||||
self.auto_correct.set_language(self.spell_checker.language)
|
||||
self.spell_checker.connect_language_change( #pylint: disable=no-member
|
||||
self.auto_correct.set_language)
|
||||
|
||||
self.spellcheck = True
|
||||
except:
|
||||
self.spell_checker = None
|
||||
self.spellcheck = False
|
||||
|
||||
if self.spellcheck:
|
||||
self.spell_checker.append_filter('[#*]+', SpellChecker.FILTER_WORD)
|
||||
|
||||
self.toggle_spellcheck(self.settings.get_value("spellcheck"))
|
||||
self.did_change = False
|
||||
|
||||
###
|
||||
|
@ -392,7 +377,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
self.focusmode = True
|
||||
self.text_editor.grab_focus()
|
||||
self.check_scroll(self.text_buffer.get_insert())
|
||||
if self.spellcheck:
|
||||
if self.spell_checker:
|
||||
self.spell_checker._misspelled.set_property('underline', 0)
|
||||
self.click_event = self.text_editor.connect("button-release-event",
|
||||
self.on_focusmode_click)
|
||||
|
@ -410,7 +395,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
self.text_editor.grab_focus()
|
||||
self.update_line_and_char_count()
|
||||
self.check_scroll()
|
||||
if self.spellcheck:
|
||||
if self.spell_checker:
|
||||
self.spell_checker._misspelled.set_property('underline', 4)
|
||||
_click_event = self.text_editor.disconnect(self.click_event)
|
||||
|
||||
|
@ -464,7 +449,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
loc_rect = self.text_editor.get_iter_location(ins_it)
|
||||
|
||||
# alignment offset added from top
|
||||
pos_y = loc_rect.y + loc_rect.height + self.text_editor.props.top_margin # pylint: disable=no-member
|
||||
pos_y = loc_rect.y + loc_rect.height + self.text_editor.props.top_margin # pylint: disable=no-member
|
||||
|
||||
ha = self.scrolled_window.get_vadjustment()
|
||||
if ha.props.page_size < gradient_offset:
|
||||
|
@ -540,7 +525,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
self.remove_typewriter()
|
||||
self.init_typewriter()
|
||||
|
||||
if self.text_editor.props.width_request != width_request: # pylint: disable=no-member
|
||||
if self.text_editor.props.width_request != width_request: # pylint: disable=no-member
|
||||
self.text_editor.props.width_request = width_request
|
||||
self.scrolled_window.props.width_request = width_request
|
||||
alloc = self.text_editor.get_allocation()
|
||||
|
@ -715,8 +700,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
dialog.add_button(_("Close without Saving"), Gtk.ResponseType.NO)
|
||||
dialog.add_button(_("Cancel"), Gtk.ResponseType.CANCEL)
|
||||
dialog.add_button(_("Save now"), Gtk.ResponseType.YES)
|
||||
dialog.set_title(_('Unsaved changes'))
|
||||
dialog.set_default_size(200, 150)
|
||||
# dialog.set_default_size(200, 60)
|
||||
dialog.set_default_response(Gtk.ResponseType.YES)
|
||||
response = dialog.run()
|
||||
|
||||
|
@ -760,37 +744,38 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
status {gtk bool} -- Desired status of the spellchecking
|
||||
"""
|
||||
|
||||
if self.spellcheck:
|
||||
if status.get_boolean():
|
||||
self.spell_checker.enable()
|
||||
else:
|
||||
self.spell_checker.disable()
|
||||
|
||||
elif status.get_boolean():
|
||||
self.spell_checker = SpellChecker(
|
||||
self.text_editor, self, locale.getdefaultlocale()[0],
|
||||
collapse=False)
|
||||
if self.auto_correct:
|
||||
self.auto_correct.set_language(self.spell_checker.language)
|
||||
self.spell_checker.connect_language_change( # pylint: disable=no-member
|
||||
self.auto_correct.set_language)
|
||||
if status.get_boolean():
|
||||
try:
|
||||
self.spellcheck = True
|
||||
self.spell_checker.enable()
|
||||
except:
|
||||
self.spell_checker = None
|
||||
self.spellcheck = False
|
||||
dialog = Gtk.MessageDialog(self,
|
||||
Gtk.DialogFlags.MODAL \
|
||||
| Gtk.DialogFlags.DESTROY_WITH_PARENT,
|
||||
Gtk.MessageType.INFO,
|
||||
Gtk.ButtonsType.NONE,
|
||||
_("You can not enable the Spell Checker.")
|
||||
)
|
||||
dialog.format_secondary_text(
|
||||
_("Please install 'hunspell' or 'aspell' dictionarys"
|
||||
+ " for your language from the software center."))
|
||||
_response = dialog.run()
|
||||
try:
|
||||
self.spell_checker = SpellChecker(
|
||||
self.text_editor, locale.getdefaultlocale()[0],
|
||||
collapse=False)
|
||||
if self.auto_correct:
|
||||
self.auto_correct.set_language(self.spell_checker.language)
|
||||
self.spell_checker.connect_language_change( # pylint: disable=no-member
|
||||
self.auto_correct.set_language)
|
||||
except:
|
||||
self.spell_checker = None
|
||||
dialog = Gtk.MessageDialog(self,
|
||||
Gtk.DialogFlags.MODAL \
|
||||
| Gtk.DialogFlags.DESTROY_WITH_PARENT,
|
||||
Gtk.MessageType.INFO,
|
||||
Gtk.ButtonsType.NONE,
|
||||
_("You can not enable the Spell Checker.")
|
||||
)
|
||||
dialog.format_secondary_text(
|
||||
_("Please install 'hunspell' or 'aspell' dictionarys"
|
||||
+ " for your language from the software center."))
|
||||
_response = dialog.run()
|
||||
return
|
||||
return
|
||||
else:
|
||||
try:
|
||||
self.spell_checker.disable()
|
||||
except:
|
||||
pass
|
||||
return
|
||||
|
||||
def on_drag_data_received(self, _widget, drag_context, _x, _y,
|
||||
|
@ -840,7 +825,6 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
state {gtk bool} -- Desired state of the preview mode (enabled/disabled)
|
||||
"""
|
||||
|
||||
|
||||
if state.get_boolean():
|
||||
|
||||
# Insert a tag with ID to scroll to
|
||||
|
@ -1008,7 +992,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
if (self.was_motion is False
|
||||
and self.status_bar_visible
|
||||
and self.buffer_modified_for_status_bar
|
||||
and self.text_editor.props.has_focus): #pylint: disable=no-member
|
||||
and self.text_editor.props.has_focus): # pylint: disable=no-member
|
||||
# self.status_bar.set_state_flags(Gtk.StateFlags.INSENSITIVE, True)
|
||||
self.statusbar_revealer.set_reveal_child(False)
|
||||
self.headerbar.hb_revealer.set_reveal_child(False)
|
||||
|
@ -1058,7 +1042,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
"""
|
||||
bg_color = self.get_style_context().get_background_color(Gtk.StateFlags.ACTIVE)
|
||||
|
||||
lg_top = cairo.LinearGradient(0, 0, 0, 35) #pylint: disable=no-member
|
||||
lg_top = cairo.LinearGradient(0, 0, 0, 35) # pylint: disable=no-member
|
||||
lg_top.add_color_stop_rgba(
|
||||
0, bg_color.red, bg_color.green, bg_color.blue, 1)
|
||||
lg_top.add_color_stop_rgba(
|
||||
|
@ -1072,7 +1056,7 @@ class UberwriterWindow(Gtk.ApplicationWindow):
|
|||
cr.fill()
|
||||
cr.rectangle(0, height - 35, width, height)
|
||||
|
||||
lg_btm = cairo.LinearGradient(0, height - 35, 0, height) # pylint: disable=no-member
|
||||
lg_btm = cairo.LinearGradient(0, height - 35, 0, height) # pylint: disable=no-member
|
||||
lg_btm.add_color_stop_rgba(
|
||||
1, bg_color.red, bg_color.green, bg_color.blue, 1)
|
||||
lg_btm.add_color_stop_rgba(
|
||||
|
|
|
@ -18,8 +18,12 @@
|
|||
|
||||
from collections import namedtuple
|
||||
from gettext import gettext as _
|
||||
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk
|
||||
from uberwriter_lib.helpers import get_builder
|
||||
from uberwriter_lib.helpers import get_descendant
|
||||
|
||||
from uberwriter_lib.AppWindow import Application as app
|
||||
|
||||
|
@ -45,11 +49,8 @@ class MainHeaderbar: #pylint: disable=too-few-public-methods
|
|||
self.hb_container.show()
|
||||
|
||||
self.btns = buttons(app)
|
||||
self.rec = self.btns.recent
|
||||
pack_buttons(self.hb, self.btns)
|
||||
|
||||
# btns.recent.set_popup(self.generate_recent_files_menu())
|
||||
|
||||
self.hb.show_all()
|
||||
|
||||
|
||||
|
@ -107,26 +108,39 @@ def buttons(app):
|
|||
[NamedTupple] -- tupple of Gtk.Buttons
|
||||
"""
|
||||
|
||||
builder_window_menu = get_builder('Menu')
|
||||
model = builder_window_menu.get_object("Menu")
|
||||
recents_builder = get_builder('Recents')
|
||||
recents = recents_builder.get_object("recent_md_popover")
|
||||
recents_wd = recents_builder.get_object("recent_md_widget")
|
||||
recents_wd.connect('item-activated', app.on_open_recent)
|
||||
|
||||
Button = namedtuple("Button", "new open recent save search menu")
|
||||
Button = namedtuple("Button", "new open_recent save search menu")
|
||||
btn = Button(Gtk.Button().new_with_label(_("New")),
|
||||
Gtk.Button().new_with_label(_("Open")),
|
||||
Gtk.MenuButton().new(),
|
||||
Gtk.Box().new(0, 0),
|
||||
Gtk.Button().new_with_label(_("Save")),
|
||||
Gtk.Button().new_from_icon_name("system-search-symbolic",
|
||||
Gtk.IconSize.BUTTON),
|
||||
Gtk.MenuButton().new())
|
||||
|
||||
btn.recent.set_image(Gtk.Image.new_from_icon_name("go-down-symbolic",
|
||||
Gtk.IconSize.BUTTON))
|
||||
btn.recent.set_tooltip_text(_("Open Recent"))
|
||||
btn.recent.set_popover(recents)
|
||||
builder_window_menu = get_builder('Menu')
|
||||
model = builder_window_menu.get_object("Menu")
|
||||
|
||||
open_button = Gtk.Button().new_with_label(_("Open"))
|
||||
open_button.set_action_name("app.open")
|
||||
|
||||
recents_builder = get_builder('Recents')
|
||||
recents = recents_builder.get_object("recent_md_popover")
|
||||
|
||||
recents_treeview = get_descendant(recents, "recent_view", level=0)
|
||||
recents_treeview.set_activate_on_single_click(True)
|
||||
|
||||
recents_wd = recents_builder.get_object("recent_md_widget")
|
||||
recents_wd.connect('item-activated', app.on_open_recent)
|
||||
|
||||
recents_button = Gtk.MenuButton().new()
|
||||
recents_button.set_image(Gtk.Image.new_from_icon_name("pan-down-symbolic",
|
||||
Gtk.IconSize.BUTTON))
|
||||
recents_button.set_tooltip_text(_("Open Recent"))
|
||||
recents_button.set_popover(recents)
|
||||
|
||||
btn.open_recent.get_style_context().add_class("linked")
|
||||
btn.open_recent.pack_start(open_button, False, False, 0)
|
||||
btn.open_recent.pack_end(recents_button, False, False, 0)
|
||||
|
||||
btn.search.set_tooltip_text(_("Search and replace"))
|
||||
btn.menu.set_tooltip_text(_("Menu"))
|
||||
btn.menu.set_image(Gtk.Image.new_from_icon_name("open-menu-symbolic",
|
||||
|
@ -134,7 +148,6 @@ def buttons(app):
|
|||
btn.menu.set_use_popover(True)
|
||||
btn.menu.set_menu_model(model)
|
||||
btn.new.set_action_name("app.new")
|
||||
btn.open.set_action_name("app.open")
|
||||
btn.save.set_action_name("app.save")
|
||||
btn.search.set_action_name("app.search")
|
||||
|
||||
|
@ -152,8 +165,7 @@ def pack_buttons(headerbar, btn, btn_exit=None):
|
|||
"""
|
||||
|
||||
headerbar.pack_start(btn.new)
|
||||
headerbar.pack_start(btn.open)
|
||||
headerbar.pack_start(btn.recent)
|
||||
headerbar.pack_start(btn.open_recent)
|
||||
if btn_exit:
|
||||
headerbar.pack_end(btn_exit)
|
||||
headerbar.pack_end(btn.menu)
|
||||
|
|
|
@ -15,15 +15,18 @@ import webbrowser
|
|||
from gettext import gettext as _
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
|
||||
from gi.repository import GLib, Gio, Gtk, GdkPixbuf
|
||||
from gi.repository import GLib, Gio, Gtk, Gdk, GdkPixbuf
|
||||
|
||||
from uberwriter import UberwriterWindow
|
||||
from uberwriter.Settings import Settings
|
||||
from uberwriter_lib import set_up_logging
|
||||
from uberwriter_lib import helpers
|
||||
from uberwriter_lib.PreferencesDialog import PreferencesDialog
|
||||
from . helpers import get_builder, get_media_path
|
||||
|
||||
|
||||
class Application(Gtk.Application):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
@ -36,10 +39,26 @@ class Application(Gtk.Application):
|
|||
def init(self):
|
||||
"""Init main application"""
|
||||
|
||||
# set theme variant (dark/light)
|
||||
dark = self.settings.get_value("dark-mode")
|
||||
Gtk.Settings.get_default().set_property("gtk-application-prefer-dark-theme", dark)
|
||||
|
||||
# set css for current theme
|
||||
self.style_provider = Gtk.CssProvider()
|
||||
|
||||
themes = {
|
||||
"Arc": "arc_style.css",
|
||||
"Arc-Dark": "arc_style.css",
|
||||
"Arc-Darker": "arc_style.css",
|
||||
}
|
||||
|
||||
theme = Gtk.Settings.get_default().get_property("gtk-theme-name")
|
||||
self.style_provider.load_from_path(helpers.get_media_path(themes.get(theme,"adwaita_style.css")))
|
||||
|
||||
Gtk.StyleContext.add_provider_for_screen(
|
||||
Gdk.Screen.get_default(), self.style_provider,
|
||||
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
|
||||
)
|
||||
|
||||
def do_startup(self, *args, **kwargs):
|
||||
|
||||
|
@ -92,12 +111,20 @@ class Application(Gtk.Application):
|
|||
action.connect("activate", self.on_search)
|
||||
self.add_action(action)
|
||||
|
||||
set_spellcheck = self.settings.get_value("spellcheck")
|
||||
action = Gio.SimpleAction.new_stateful("spellcheck",
|
||||
None,
|
||||
GLib.Variant.new_boolean(True))
|
||||
GLib.Variant.new_boolean(set_spellcheck))
|
||||
action.connect("change-state", self.on_spellcheck)
|
||||
self.add_action(action)
|
||||
|
||||
set_gradient_overlay = self.settings.get_value("gradient-overlay")
|
||||
action = Gio.SimpleAction.new_stateful("draw_gradient",
|
||||
None,
|
||||
GLib.Variant.new_boolean(set_gradient_overlay))
|
||||
action.connect("change-state", self.on_draw_gradient)
|
||||
self.add_action(action)
|
||||
|
||||
# Menu Actions
|
||||
|
||||
action = Gio.SimpleAction.new("new", None)
|
||||
|
@ -233,8 +260,20 @@ class Application(Gtk.Application):
|
|||
|
||||
def on_spellcheck(self, action, value):
|
||||
action.set_state(value)
|
||||
self.settings.set_value("spellcheck",
|
||||
GLib.Variant("b", value))
|
||||
self.window.toggle_spellcheck(value)
|
||||
|
||||
def on_draw_gradient(self, action, value):
|
||||
action.set_state(value)
|
||||
self.settings.set_value("gradient-overlay",
|
||||
GLib.Variant("b", value))
|
||||
if value:
|
||||
self.window.overlay = self.window.scrolled_window.connect_after(
|
||||
"draw", self.window.draw_gradient)
|
||||
else:
|
||||
self.window.scrolled_window.disconnect(self.window.overlay)
|
||||
|
||||
def on_new(self, _action, _value):
|
||||
self.window.new_document()
|
||||
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
|
||||
"""this dialog adjusts values in gsettings
|
||||
"""
|
||||
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk # pylint: disable=E0611
|
||||
import logging
|
||||
logger = logging.getLogger('uberwriter_lib')
|
||||
|
|
|
@ -56,6 +56,8 @@ else:
|
|||
|
||||
if _py3k:
|
||||
# there is only the gi binding for Python 3
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk as gtk
|
||||
_pygobject = True
|
||||
else:
|
||||
|
|
|
@ -21,6 +21,11 @@ import logging
|
|||
import os
|
||||
import shutil
|
||||
|
||||
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk # pylint: disable=E0611
|
||||
|
||||
from . uberwriterconfig import get_data_file
|
||||
from . Builder import Builder
|
||||
|
||||
|
@ -125,7 +130,6 @@ def get_help_uri(page=None):
|
|||
|
||||
|
||||
def show_uri(parent, link):
|
||||
from gi.repository import Gtk # pylint: disable=E0611
|
||||
screen = parent.get_screen()
|
||||
Gtk.show_uri(screen, link, Gtk.get_current_event_time())
|
||||
|
||||
|
@ -152,3 +156,32 @@ def exist_executable(command):
|
|||
"""
|
||||
|
||||
return shutil.which(command) is not None
|
||||
|
||||
def get_descendant(widget, child_name, level, doPrint=False):
|
||||
if widget is not None:
|
||||
if doPrint: print("-"*level + str(Gtk.Buildable.get_name(widget)) +
|
||||
" :: " + widget.get_name())
|
||||
else:
|
||||
if doPrint: print("-"*level + "None")
|
||||
return None
|
||||
#/*** If it is what we are looking for ***/
|
||||
if Gtk.Buildable.get_name(widget) == child_name: # not widget.get_name() !
|
||||
return widget
|
||||
#/*** If this widget has one child only search its child ***/
|
||||
if (hasattr(widget, 'get_child') and
|
||||
callable(getattr(widget, 'get_child')) and
|
||||
child_name != ""):
|
||||
child = widget.get_child()
|
||||
if child is not None:
|
||||
return get_descendant(child, child_name, level+1,doPrint)
|
||||
# /*** Ity might have many children, so search them ***/
|
||||
elif (hasattr(widget, 'get_children') and
|
||||
callable(getattr(widget, 'get_children')) and
|
||||
child_name != ""):
|
||||
children = widget.get_children()
|
||||
# /*** For each child ***/
|
||||
found = None
|
||||
for child in children:
|
||||
if child is not None:
|
||||
found = get_descendant(child, child_name, level+1, doPrint) # //search the child
|
||||
if found: return found
|
||||
|
|
Loading…
Reference in New Issue