diff --git a/.gitignore b/.gitignore index 95b6d2f..d5e4595 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ data/ui/shortcut_handlers .vscode/ *.glade~ dist/uberwriter-2.0b0-py3.7.egg +builddir/* diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 9861c79..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -recursive-include po * diff --git a/data/de.wolfvollprecht.UberWriter.appdata.xml b/data/de.wolfvollprecht.UberWriter.appdata.xml new file mode 100644 index 0000000..ac95924 --- /dev/null +++ b/data/de.wolfvollprecht.UberWriter.appdata.xml @@ -0,0 +1,120 @@ + + + de.wolfvollprecht.UberWriter + de.wolfvollprecht.UberWriter.desktop + UberWriter + An elegant, free distraction GTK+ markdown editor + +

Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.

+

You can install the recommended TexLive extension with the command:

+

flatpak install flathub de.wolfvollprecht.UberWriter.Plugin.TexLive

+

or from Gnome-Software

+
+ + + https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main.png + + + https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main-dark.png + + + https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/formula.png + + + https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/preview.png + + + https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/focus.png + + + + + +
    +
  • Added italian language
  • +
  • Initial themes support: now uberwriter adapts his colors to the current GTK theme
  • +
  • Disabled scroll gradient, can be enabled in the preferences dialog
  • +
  • Allow to disable headerbar autohidding in Dconf
  • +
  • Now a single click is enough to open files in the recent files popover
  • +
  • Spellchecking status is now saved between sessions
  • +
  • Minor UI fixes
  • +
  • Added -d flag to enable webdev tools
  • +
+
+
+ + +

Updated css styles.

+
+
+ + +

This release features a new logo, polishes the Appmenu, fixes usability bugs and flatpak related bugs.

+
+
+ + +

This release provides a fix to a bug that caused Uberwriter to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.

+
+
+ + +

This release solves two minor bugs:

+
    +
  • One on focus mode which caused the lines to be highlighted on edit rather than on click
  • +
  • Non symbolic icons on the searchbar
  • +
+
+
+ + +

This release features a ton of UX/UI improvements, like:

+
    +
  • Drop AppMenu support
  • +
  • HeaderBar and menus redesign, with a new unified menu and quick access buttons on the headerbar
  • +
  • Now the fullscreen view shows a headerbar when the cursor approaches the top of the screen
  • +
  • A new unified export dialog, with updated options, and quick access to pdf, odt and html export
  • +
  • Bugfixes.
  • +
+
+
+ + +

Now the menu is a Popover instead a regular menu.

+

The headerbar matches the theme selected for the application.

+

Updated translations.

+
+
+ + +

Small bug fixes, updated links.

+
+
+ + +

Fix a bug with the preview mode.

+
+
+ + +

Don't use env variable to check if in flatpak.

+
+
+ + +

First re-release

+
+
+
+ CC0-1.0 + GPL-3.0+ + http://uberwriter.github.io/uberwriter + + Wolf V., Manuel G. + https://github.com/UberWriter/uberwriter/issues + https://liberapay.com/UberWriter/donate + http://uberwriter.github.io/uberwriter + https://poeditor.com/join/project/gxVzFyXb2x + manuel.genoves_at_gmail.com + uberwriter +
\ No newline at end of file diff --git a/de.wolfvollprecht.UberWriter.desktop b/data/de.wolfvollprecht.UberWriter.desktop similarity index 88% rename from de.wolfvollprecht.UberWriter.desktop rename to data/de.wolfvollprecht.UberWriter.desktop index 7b2c3c5..22f4051 100644 --- a/de.wolfvollprecht.UberWriter.desktop +++ b/data/de.wolfvollprecht.UberWriter.desktop @@ -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 diff --git a/data/de.wolfvollprecht.UberWriter.gschema.xml b/data/de.wolfvollprecht.UberWriter.gschema.xml index e256002..e7fdb28 100644 --- a/data/de.wolfvollprecht.UberWriter.gschema.xml +++ b/data/de.wolfvollprecht.UberWriter.gschema.xml @@ -13,8 +13,15 @@ asked to install them manually. - + true + Spellcheck + + Enable/disable spellchecking in the application. + + + + false Show gradient overlay Show a gradient overlay over the text at the top anf bottom of the window. diff --git a/data/lua/task-list.lua b/data/lua/task-list.lua index 6a1b365..945c4b0 100644 --- a/data/lua/task-list.lua +++ b/data/lua/task-list.lua @@ -87,7 +87,7 @@ end --- Replace the todo marker in the given block, if any. function M.replace_todo_markers (blk, format) - if blk.t ~= 'Para' and blk.t ~= 'Plain' then + if not blk or blk.t ~= 'Para' and blk.t ~= 'Plain' then return blk end local inlines = blk.content diff --git a/data/media/adwaita_style.css b/data/media/adwaita_style.css deleted file mode 100644 index 6e1b8ed..0000000 --- a/data/media/adwaita_style.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color dark_bg #353535; -@define-color light_bg #F6F5F4; - -@import url("style.css"); diff --git a/data/media/arc_style.css b/data/media/arc_style.css deleted file mode 100644 index 0fce002..0000000 --- a/data/media/arc_style.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color dark_bg #31373D; -@define-color light_bg #EDEDED; - -@import url("style.css"); diff --git a/data/media/style.css b/data/media/css/_gtk_base.css similarity index 70% rename from data/media/style.css rename to data/media/css/_gtk_base.css index 43aea46..fdbf0cf 100644 --- a/data/media/style.css +++ b/data/media/css/_gtk_base.css @@ -4,11 +4,6 @@ inclusion in templates */ -@binding-set window-bindings { - bind "w" { "close-window" () }; - bind "b" { "toggle-bibtex" () }; -} - @binding-set editor-bindings { bind "i" { "insert-italic" () }; bind "b" { "insert-bold" () }; @@ -25,21 +20,9 @@ /* Main window and text colors */ .uberwriter_window { - -gtk-key-bindings: window-bindings; /*border-radius: 7px 7px 3px 3px;*/ - background: @light_bg; - caret-color: @dark_bg; -} - -.uberwriter_window.dark_mode { - background: @dark_bg; - caret-color: @light_bg; -} - -.uberwriter_window.dark_mode .uberwriter-editor text{ - background: @dark_bg; - caret-color: @light_bg; - color: @light_bg; + background: @background_color; + caret-color: @foreground_color; } .uberwriter_window.small .uberwriter-editor { @@ -47,12 +30,7 @@ font-size: 12px; } .uberwriter_window grid { - background-color: @light_bg; -} - -.uberwriter_window.dark_mode grid, -.uberwriter_window.dark_mode scrolledwindow { - background-color: @dark_bg; + background-color: @background_color; } #UberwriterWindow.medium .uberwriter-editor { @@ -75,25 +53,22 @@ } #titlebar_container { - background: @light_bg; -} - -#titlebar_container.dark_mode { - background: @dark_bg; + background: @background_color; } .uberwriter-editor { border: none; background-color: transparent; - color: #222; + text-decoration-color: #ff0000; /*-GtkWidget-cursor-color: shade(#4D9FCE, 0.9);*/ /*-GtkWidget-cursor-aspect-ratio: 0.1;*/ -gtk-key-bindings: editor-bindings; } .uberwriter-editor text { - background-color: @light_bg; - color: #222; + background-color: @background_color; + color: @foreground_color; + caret-color: @foreground_color; } .uberwriter-editor:selected { @@ -120,7 +95,7 @@ .status_bar_box button { /* finding reset */ - background-color: @light_bg; + background-color: @background_color; text-shadow: inherit; /*icon-shadow: inherit;*/ box-shadow: initial; @@ -146,13 +121,13 @@ .status_bar_box button:hover, .status_bar_box button:checked { transition: 0s ease-in; - color: @light_bg; + color: @background_color; background-color: #666; } .status_bar_box button:hover label, .status_bar_box button:checked label { - color: @light_bg; + color: @background_color; } .status_bar_box button:active { @@ -161,22 +136,7 @@ background-image: none; box-shadow: 0 0 2px rgba(0,0,0,0.4) } -.dark_mode .status_bar_box button { - background-color: @dark_bg; -} -.dark_mode .status_bar_box label { - color: @light_bg; -} -.dark_mode .status_bar_box button:hover, -.dark_mode .status_bar_box button:checked { - background-color: @light_bg; - color: #666; -} -.dark_mode .status_bar_box button:hover label, -.dark_mode .status_bar_box button:checked label{ - color: #666; -} .status_bar_box separator { border-color: #999; border-right: none; @@ -198,9 +158,9 @@ /*font: serif 10;*/ font-family: serif; font-size: 10px; - background: @light_bg; + background: @background_color; border-radius: 4px; - border-color: @light_bg; + border-color: @background_color; margin: 5px; padding: 5px; } @@ -211,7 +171,7 @@ border: 1px solid #333; background: @ligth_bg; border-radius: 3px; - border-color: @light_bg; + border-color: @background_color; } */ #LexikonBubble label { @@ -219,9 +179,8 @@ } #LexikonBubble { - background-color: @light_bg; - border: 5px solid @light_bg; - border-color: @light_bg + background-color: @background_color; + border: 5px solid @background_color; } #LexikonBubble .lexikon_heading { @@ -240,15 +199,15 @@ } .QuickPreviewPopup { - background-color: @light_bg; + background-color: @background_color; } .QuickPreviewPopup grid { - background-color: @light_bg; - color: @dark_bg; - border-color: @light_bg; + background-color: @background_color; + color: @foreground_color; + border-color: @background_color; } .QuickPreviewPopup label { - color: @dark_bg; -} + color: @foreground_color; +} \ No newline at end of file diff --git a/data/media/css/_web_base.css b/data/media/css/_web_base.css new file mode 100644 index 0000000..3dd9ecc --- /dev/null +++ b/data/media/css/_web_base.css @@ -0,0 +1,501 @@ +@font-face { + font-family: fira-sans; + src: url("../fonts/fira-sans-v9-vietnamese_latin_cyrillic-ext_cyrillic_greek-ext_latin-ext_greek-regular.woff2") format("woff2"); +} + +@font-face { + font-family: fira-mono; + src: url("../fonts/fira-mono-v7-latin_cyrillic-ext_cyrillic_greek-ext_latin-ext_greek-regular.woff2") format("woff2"); +} + +@font-face { + font-family: color-emoji; + src: local("Noto Color Emoji"), local("Apple Color Emoji"), local("Segoe UI Emoji"), local("Segoe UI Symbol"); +} + +:root { + /* This is GitHub's default color scheme, which should be overridden per theme. */ + --text-color: #24292e; + --background-color: #ffffff; + --alt-background-color: #f6f8fa; + --link-color: #0366d6; + --blockquote-text-color: #6a737d; + --blockquote-border-color: #dfe2e5; + --header-border-color: #eaecef; + --hr-background-color: #e1e4e8; + --table-tr-border-color: #c6cbd1; + --table-td-border-color: #dfe2e5; + --kbd-text-color: #444d56; + --kbd-background-color: #fafbfc; + --kbd-border-color: #c6cbd1; + --kbd-shadow-color: #959da5; +} + +* { + box-sizing: border-box; +} + +html { + font-size: 16px; +} + +@media screen and (max-width: 799px) { + html { + font-size: 14px; + } +} + +@media screen and (min-width: 1000px) { + html { + font-size: 18px; + } +} + +body { + color: var(--text-color); + background-color: var(--background-color); + font-family: "Fira Sans", fira-sans, sans-serif, color-emoji; + line-height: 1.5; + text-size-adjust: 100%; + word-wrap: break-word; + padding: 2em; +} + +a { + background-color: transparent; + color: var(--link-color); + text-decoration: none; +} + +a:active, +a:hover { + outline-width: 0; +} + +a:hover { + text-decoration: underline; +} + +strong { + font-weight: 600; +} + +img { + border-style: none; +} + +hr { + box-sizing: content-box; + height: 0.25em; + padding: 0; + margin: 1.5em 0; + overflow: hidden; + background-color: var(--hr-background-color); + border: 0; +} + +hr::before { + display: table; + content: ""; +} + +hr::after { + display: table; + clear: both; + content: ""; +} + +input { + font-family: inherit; + font-size: inherit; + line-height: inherit; + margin: 0; + overflow: visible; +} + +[type="checkbox"] { + box-sizing: border-box; + padding: 0; +} + +table { + border-spacing: 0; + border-collapse: collapse; +} + +td, +th { + padding: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: 600; + margin: 0; +} + +h1 { + font-size: 2em; +} + +h2 { + font-size: 1.5em; +} + +h3 { + font-size: 1.25em; +} + +h4 { + font-size: 1em; +} + +h5 { + font-size: 0.875em; +} + +h6 { + font-size: 0.85em; +} + +p { + margin-top: 0; + margin-bottom: 0.625em; +} + +blockquote { + margin: 0; +} + +ul, +ol { + padding-left: 0; + margin-top: 0; + margin-bottom: 0; +} + +ol ol, +ul ol { + list-style-type: lower-roman; +} + +ul ul ol, +ul ol ol, +ol ul ol, +ol ol ol { + list-style-type: lower-alpha; +} + +dd { + margin-left: 0; +} + +code, +kbd, +pre { + font-family: "Fira Mono", fira-mono, monospace, color-emoji; + font-size: 1em; + word-wrap: normal; +} + +code { + border-radius: 0.1875em; + font-size: 0.85em; + padding: 0.2em 0.4em; + margin: 0; +} + +pre { + margin-top: 0; + margin-bottom: 0; + font-size: 0.75em; +} + +pre>code { + padding: 0; + margin: 0; + font-size: 1em; + word-break: normal; + white-space: pre; + background: transparent; + border: 0; +} + +.highlight { + margin-bottom: 1em; +} + +.highlight pre { + margin-bottom: 0; + word-break: normal; +} + +.highlight pre, +pre { + padding: 1em; + overflow: auto; + font-size: 0.85em; + line-height: 1.5; + background-color: var(--alt-background-color); + border-radius: 0.1875em; +} + +pre code { + background-color: transparent; + border: 0; + display: inline; + padding: 0; + margin: 0; + overflow: visible; + line-height: inherit; + word-wrap: normal; +} + +.pl-0 { + padding-left: 0 !important; +} + +.pl-1 { + padding-left: 0.25em !important; +} + +.pl-2 { + padding-left: 0.5em !important; +} + +.pl-3 { + padding-left: 1em !important; +} + +.pl-4 { + padding-left: 1.5em !important; +} + +.pl-5 { + padding-left: 2em !important; +} + +.pl-6 { + padding-left: 2.5em !important; +} + +.markdown-body::before { + display: table; + content: ""; +} + +.markdown-body::after { + display: table; + clear: both; + content: ""; +} + +.markdown-body>*:first-child { + margin-top: 0 !important; +} + +.markdown-body>*:last-child { + margin-bottom: 0 !important; +} + +a:not([href]) { + color: inherit; + text-decoration: none; +} + +.anchor { + float: left; + padding-right: 0.25em; + margin-left: -1.25em; + line-height: 1; +} + +.anchor:focus { + outline: none; +} + +p, +blockquote, +ul, +ol, +dl, +table, +pre { + margin-top: 0; + margin-bottom: 1em; +} + +blockquote { + padding: 0 1em; + color: var(--blockquote-text-color); + border-left: 0.25em solid var(--blockquote-border-color); +} + +blockquote>:first-child { + margin-top: 0; +} + +blockquote>:last-child { + margin-bottom: 0; +} + +kbd { + display: inline-block; + padding: 0.1875em 0.3125em; + font-size: 0.6875em; + line-height: 1; + color: var(--kbd-text-color); + vertical-align: middle; + background-color: var(--kbd-background-color); + border: solid 1px var(--kbd-border-color); + border-bottom-color: var(--kbd-shadow-color); + border-radius: 3px; + box-shadow: inset 0 -1px 0 var(--kbd-shadow-color);; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin-top: 1.5em; + margin-bottom: 1em; + font-weight: 600; + line-height: 1.25; +} + +h1:hover .anchor, +h2:hover .anchor, +h3:hover .anchor, +h4:hover .anchor, +h5:hover .anchor, +h6:hover .anchor { + text-decoration: none; +} + +h1 { + padding-bottom: 0.3em; + font-size: 2em; + border-bottom: 1px solid var(--header-border-color); +} + +h2 { + padding-bottom: 0.3em; + font-size: 1.5em; + border-bottom: 1px solid var(--header-border-color); +} + +h3 { + font-size: 1.25em; +} + +h4 { + font-size: 1em; +} + +h5 { + font-size: 0.875em; +} + +h6 { + font-size: 0.85em; + opacity: 0.67; +} + +ul, +ol { + padding-left: 2em; +} + +ul ul, +ul ol, +ol ol, +ol ul { + margin-top: 0; + margin-bottom: 0; +} + +li { + overflow-wrap: break-word; +} + +li>p { + margin-top: 1em; +} + +li+li { + margin-top: 0.25em; +} + +dl { + padding: 0; +} + +dl dt { + padding: 0; + margin-top: 1em; + font-size: 1em; + font-style: italic; + font-weight: 600; +} + +dl dd { + padding: 0 1em; + margin-bottom: 1em; +} + +table { + display: block; + width: 100%; + overflow: auto; +} + +table th { + font-weight: 600; +} + +table th, +table td { + padding: 0.375em 0.8125em; + border: 1px solid var(--table-td-border-color); +} + +table tr { + background-color: var(--background-color); + border-top: 1px solid var(--table-tr-border-color); +} + +table tr:nth-child(2n) { + background-color: var(--alt-background-color); +} + +img { + max-width: 100%; + box-sizing: content-box; +} + +img[align=right] { + padding-left: 1.25em; +} + +img[align=left] { + padding-right: 1.25em; +} + +.task-list-item { + list-style-type: none; +} + +.task-list-item+.task-list-item { + margin-top: 0.1875em; +} + +.task-list-item input { + margin: 0 0.2em 0.25em -1.6em; + vertical-align: middle; +} diff --git a/data/media/css/gtk_adwaita.css b/data/media/css/gtk_adwaita.css new file mode 100644 index 0000000..f75dcde --- /dev/null +++ b/data/media/css/gtk_adwaita.css @@ -0,0 +1,5 @@ +@define-color foreground_color #2e3436; +@define-color background_color #f6f5f4; +@define-color math_text_color #00364c; + +@import url("_gtk_base.css"); diff --git a/data/media/css/gtk_adwaita_dark.css b/data/media/css/gtk_adwaita_dark.css new file mode 100644 index 0000000..a41d20c --- /dev/null +++ b/data/media/css/gtk_adwaita_dark.css @@ -0,0 +1,5 @@ +@define-color foreground_color #eeeeec; +@define-color background_color #353535; +@define-color math_text_color #ffc9b3; + +@import url("_gtk_base.css"); diff --git a/data/media/css/gtk_arc.css b/data/media/css/gtk_arc.css new file mode 100644 index 0000000..967c919 --- /dev/null +++ b/data/media/css/gtk_arc.css @@ -0,0 +1,5 @@ +@define-color foreground_color #3b3e45; +@define-color background_color #f5f6f7; +@define-color math_text_color #00364c; + +@import url("_gtk_base.css"); diff --git a/data/media/css/gtk_arc_dark.css b/data/media/css/gtk_arc_dark.css new file mode 100644 index 0000000..3edd842 --- /dev/null +++ b/data/media/css/gtk_arc_dark.css @@ -0,0 +1,5 @@ +@define-color foreground_color #d3dae3; +@define-color background_color #383c4a; +@define-color math_text_color #ffc9b3; + +@import url("_gtk_base.css"); diff --git a/data/media/css/gtk_arc_darker.css b/data/media/css/gtk_arc_darker.css new file mode 100644 index 0000000..44c667b --- /dev/null +++ b/data/media/css/gtk_arc_darker.css @@ -0,0 +1,5 @@ +@define-color foreground_color #3b3e45; +@define-color background_color #f5f6f7; +@define-color math_text_color #00364C; + +@import url("_gtk_base.css"); diff --git a/data/media/css/gtk_high_contrast.css b/data/media/css/gtk_high_contrast.css new file mode 100644 index 0000000..254215e --- /dev/null +++ b/data/media/css/gtk_high_contrast.css @@ -0,0 +1,5 @@ +@define-color foreground_color #000000; +@define-color background_color #ffffff; +@define-color math_text_color #000000; + +@import url("_gtk_base.css"); diff --git a/data/media/css/gtk_high_contrast_inverse.css b/data/media/css/gtk_high_contrast_inverse.css new file mode 100644 index 0000000..b9790d4 --- /dev/null +++ b/data/media/css/gtk_high_contrast_inverse.css @@ -0,0 +1,5 @@ +@define-color foreground_color #ffffff; +@define-color background_color #000000; +@define-color math_text_color #ffffff; + +@import url("_gtk_base.css"); diff --git a/data/media/css/web_adwaita.css b/data/media/css/web_adwaita.css new file mode 100644 index 0000000..ecfde17 --- /dev/null +++ b/data/media/css/web_adwaita.css @@ -0,0 +1,19 @@ +@import url("_web_base.css"); + +:root { + --text-color: #2e3436; + --background-color: #f6f5f4; + --alt-background-color: #edeeef; + --link-color: #0d71de; + --blockquote-text-color: #747e85; + --blockquote-border-color: #d6d8da; + --header-border-color: #e1e2e4; + --hr-background-color: #d8dadd; + --table-tr-border-color: #bdc1c6; + --table-td-border-color: #d6d8da; + --kbd-text-color: #4e585e; + --kbd-background-color: #f1f1f1; + --kbd-border-color: #bdc1c6; + --kbd-shadow-color: #8c939a; + +} \ No newline at end of file diff --git a/data/media/css/web_adwaita_dark.css b/data/media/css/web_adwaita_dark.css new file mode 100644 index 0000000..320a657 --- /dev/null +++ b/data/media/css/web_adwaita_dark.css @@ -0,0 +1,18 @@ +@import url("_web_base.css"); + +:root { + --text-color: #eeeeec; + --background-color: #353535; + --alt-background-color: #3a3a3a; + --link-color: #b5daff; + --blockquote-text-color: #a8a8a6; + --blockquote-border-color: #525252; + --header-border-color: #474747; + --hr-background-color: #505050; + --table-tr-border-color: #696969; + --table-td-border-color: #525252; + --kbd-text-color: #cececc; + --kbd-background-color: #3c3c3c; + --kbd-border-color: #696969; + --kbd-shadow-color: #979797; +} \ No newline at end of file diff --git a/data/media/css/web_arc.css b/data/media/css/web_arc.css new file mode 100644 index 0000000..c5ccb04 --- /dev/null +++ b/data/media/css/web_arc.css @@ -0,0 +1,18 @@ +@import url("_web_base.css"); + +:root { + --text-color: #3b3e45; + --background-color: #f5f6f7; + --alt-background-color: #eceff2; + --link-color: #1a7bed; + --blockquote-text-color: #818894; + --blockquote-border-color: #d5d9dd; + --header-border-color: #e0e3e7; + --hr-background-color: #d7dbe0; + --table-tr-border-color: #bcc2c9; + --table-td-border-color: #d5d9dd; + --kbd-text-color: #5b626d; + --kbd-background-color: #f0f2f4; + --kbd-border-color: #bcc2c9; + --kbd-shadow-color: #8b949d; +} \ No newline at end of file diff --git a/data/media/css/web_arc_dark.css b/data/media/css/web_arc_dark.css new file mode 100644 index 0000000..b0c6a45 --- /dev/null +++ b/data/media/css/web_arc_dark.css @@ -0,0 +1,18 @@ +@import url("_web_base.css"); + +:root { + --text-color: #d3dae3; + --background-color: #383c4a; + --alt-background-color: #3d414f; + --link-color: #9ac6ff; + --blockquote-text-color: #8d949d; + --blockquote-border-color: #555967; + --header-border-color: #4a4e5c; + --hr-background-color: #535765; + --table-tr-border-color: #6c707e; + --table-td-border-color: #555967; + --kbd-text-color: #b3bac3; + --kbd-background-color: #3f4351; + --kbd-border-color: #6c707e; + --kbd-shadow-color: #9a9eac; +} \ No newline at end of file diff --git a/data/media/css/web_arc_darker.css b/data/media/css/web_arc_darker.css new file mode 100644 index 0000000..cc6a95e --- /dev/null +++ b/data/media/css/web_arc_darker.css @@ -0,0 +1 @@ +@import url("web_arc.css"); \ No newline at end of file diff --git a/data/media/css/web_high_contrast.css b/data/media/css/web_high_contrast.css new file mode 100644 index 0000000..b9db89e --- /dev/null +++ b/data/media/css/web_high_contrast.css @@ -0,0 +1,26 @@ +@import url("_web_base.css"); + +a { + text-decoration: underline; +} + +pre { + border: 1px solid; +} + +:root { + --text-color: #000000; + --background-color: #ffffff; + --alt-background-color: #ffffff; + --link-color: #000000; + --blockquote-text-color: #000000; + --blockquote-border-color: #000000; + --header-border-color: #000000; + --hr-background-color: #000000; + --table-tr-border-color: #000000; + --table-td-border-color: #000000; + --kbd-text-color: #000000; + --kbd-background-color: #ffffff; + --kbd-border-color: #000000; + --kbd-shadow-color: #000000; +} \ No newline at end of file diff --git a/data/media/css/web_high_contrast_inverse.css b/data/media/css/web_high_contrast_inverse.css new file mode 100644 index 0000000..646e1f0 --- /dev/null +++ b/data/media/css/web_high_contrast_inverse.css @@ -0,0 +1,26 @@ +@import url("_web_base.css"); + +a { + text-decoration: underline; +} + +pre { + border: 1px solid; +} + +:root { + --text-color: #ffffff; + --background-color: #000000; + --alt-background-color: #000000; + --link-color: #ffffff; + --blockquote-text-color: #ffffff; + --blockquote-border-color: #ffffff; + --header-border-color: #ffffff; + --hr-background-color: #ffffff; + --table-tr-border-color: #ffffff; + --table-td-border-color: #ffffff; + --kbd-text-color: #ffffff; + --kbd-background-color: #000000; + --kbd-border-color: #ffffff; + --kbd-shadow-color: #ffffff; +} \ No newline at end of file diff --git a/data/media/fonts/fira-mono-v7-latin_cyrillic-ext_cyrillic_greek-ext_latin-ext_greek-regular.woff2 b/data/media/fonts/fira-mono-v7-latin_cyrillic-ext_cyrillic_greek-ext_latin-ext_greek-regular.woff2 new file mode 100644 index 0000000..7762d83 Binary files /dev/null and b/data/media/fonts/fira-mono-v7-latin_cyrillic-ext_cyrillic_greek-ext_latin-ext_greek-regular.woff2 differ diff --git a/data/media/fonts/fira-sans-v9-vietnamese_latin_cyrillic-ext_cyrillic_greek-ext_latin-ext_greek-regular.woff2 b/data/media/fonts/fira-sans-v9-vietnamese_latin_cyrillic-ext_cyrillic_greek-ext_latin-ext_greek-regular.woff2 new file mode 100644 index 0000000..c648c80 Binary files /dev/null and b/data/media/fonts/fira-sans-v9-vietnamese_latin_cyrillic-ext_cyrillic_greek-ext_latin-ext_greek-regular.woff2 differ diff --git a/data/media/github-md-dark.css b/data/media/github-md-dark.css deleted file mode 100644 index 2dfd3eb..0000000 --- a/data/media/github-md-dark.css +++ /dev/null @@ -1,567 +0,0 @@ -@font-face { - font-family: octicons-link; - src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); -} - -body { - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; - line-height: 1.5; - color: #EDEDED; - background-color: #31373D; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - font-size: 16px; - line-height: 1.5; - word-wrap: break-word; -} - -a { - background-color: transparent; -} - -a:active, -a:hover { - outline-width: 0; -} - -strong { - font-weight: inherit; -} - -strong { - font-weight: bolder; -} - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -img { - border-style: none; -} - -code, -kbd, -pre { - font-family: monospace, monospace; - font-size: 1em; -} - -hr { - box-sizing: content-box; - height: 0; - overflow: visible; -} - -input { - font: inherit; - margin: 0; -} - -input { - overflow: visible; -} - -[type="checkbox"] { - box-sizing: border-box; - padding: 0; -} - -* { - box-sizing: border-box; -} - -input { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -a { - color: #0366d6; - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -strong { - font-weight: 600; -} - -hr { - height: 0; - margin: 15px 0; - overflow: hidden; - background: transparent; - border: 0; - border-bottom: 1px solid #dfe2e5; -} - -hr::before { - display: table; - content: ""; -} - -hr::after { - display: table; - clear: both; - content: ""; -} - -table { - border-spacing: 0; - border-collapse: collapse; -} - -td, -th { - padding: 0; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 0; - margin-bottom: 0; -} - -h1 { - font-size: 32px; - font-weight: 600; -} - -h2 { - font-size: 24px; - font-weight: 600; -} - -h3 { - font-size: 20px; - font-weight: 600; -} - -h4 { - font-size: 16px; - font-weight: 600; -} - -h5 { - font-size: 14px; - font-weight: 600; -} - -h6 { - font-size: 12px; - font-weight: 600; -} - -p { - margin-top: 0; - margin-bottom: 10px; -} - -blockquote { - margin: 0; -} - -ul, -ol { - padding-left: 0; - margin-top: 0; - margin-bottom: 0; -} - -ol ol, -ul ol { - list-style-type: lower-roman; -} - -ul ul ol, -ul ol ol, -ol ul ol, -ol ol ol { - list-style-type: lower-alpha; -} - -dd { - margin-left: 0; -} - -code { - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-size: 12px; -} - -pre { - margin-top: 0; - margin-bottom: 0; - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-size: 12px; -} - -.octicon { - vertical-align: text-bottom; -} - -.pl-0 { - padding-left: 0 !important; -} - -.pl-1 { - padding-left: 4px !important; -} - -.pl-2 { - padding-left: 8px !important; -} - -.pl-3 { - padding-left: 16px !important; -} - -.pl-4 { - padding-left: 24px !important; -} - -.pl-5 { - padding-left: 32px !important; -} - -.pl-6 { - padding-left: 40px !important; -} - -.markdown-body::before { - display: table; - content: ""; -} - -.markdown-body::after { - display: table; - clear: both; - content: ""; -} - -.markdown-body>*:first-child { - margin-top: 0 !important; -} - -.markdown-body>*:last-child { - margin-bottom: 0 !important; -} - -a:not([href]) { - color: inherit; - text-decoration: none; -} - -.anchor { - float: left; - padding-right: 4px; - margin-left: -20px; - line-height: 1; -} - -.anchor:focus { - outline: none; -} - -p, -blockquote, -ul, -ol, -dl, -table, -pre { - margin-top: 0; - margin-bottom: 16px; -} - -hr { - height: 0.25em; - padding: 0; - margin: 24px 0; - background-color: #e1e4e8; - border: 0; -} - -blockquote { - padding: 0 1em; - color: #6a737d; - border-left: 0.25em solid #dfe2e5; -} - -blockquote>:first-child { - margin-top: 0; -} - -blockquote>:last-child { - margin-bottom: 0; -} - -kbd { - display: inline-block; - padding: 3px 5px; - font-size: 11px; - line-height: 10px; - color: #444d56; - vertical-align: middle; - background-color: #fafbfc; - border: solid 1px #c6cbd1; - border-bottom-color: #959da5; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #959da5; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 24px; - margin-bottom: 16px; - font-weight: 600; - line-height: 1.25; -} - -h1 .octicon-link, -h2 .octicon-link, -h3 .octicon-link, -h4 .octicon-link, -h5 .octicon-link, -h6 .octicon-link { - color: #1b1f23; - vertical-align: middle; - visibility: hidden; -} - -h1:hover .anchor, -h2:hover .anchor, -h3:hover .anchor, -h4:hover .anchor, -h5:hover .anchor, -h6:hover .anchor { - text-decoration: none; -} - -h1:hover .anchor .octicon-link, -h2:hover .anchor .octicon-link, -h3:hover .anchor .octicon-link, -h4:hover .anchor .octicon-link, -h5:hover .anchor .octicon-link, -h6:hover .anchor .octicon-link { - visibility: visible; -} - -h1 { - padding-bottom: 0.3em; - font-size: 2em; - border-bottom: 1px solid #eaecef; -} - -h2 { - padding-bottom: 0.3em; - font-size: 1.5em; - border-bottom: 1px solid #eaecef; -} - -h3 { - font-size: 1.25em; -} - -h4 { - font-size: 1em; -} - -h5 { - font-size: 0.875em; -} - -h6 { - font-size: 0.85em; - color: #6a737d; -} - -ul, -ol { - padding-left: 2em; -} - -ul ul, -ul ol, -ol ol, -ol ul { - margin-top: 0; - margin-bottom: 0; -} - -li { - word-wrap: break-all; -} - -li>p { - margin-top: 16px; -} - -li+li { - margin-top: 0.25em; -} - -dl { - padding: 0; -} - -dl dt { - padding: 0; - margin-top: 16px; - font-size: 1em; - font-style: italic; - font-weight: 600; -} - -dl dd { - padding: 0 16px; - margin-bottom: 16px; -} - -table { - display: block; - width: 100%; - overflow: auto; -} - -table th { - font-weight: 600; -} - -table th, -table td { - padding: 6px 13px; - border: 1px solid #dfe2e5; -} - -table tr { - background-color: #fff; - border-top: 1px solid #c6cbd1; -} - -table tr:nth-child(2n) { - background-color: #f6f8fa; -} - -img { - max-width: 100%; - box-sizing: content-box; - background-color: #fff; -} - -img[align=right] { - padding-left: 20px; -} - -img[align=left] { - padding-right: 20px; -} - -code { - padding: 0.2em 0.4em; - margin: 0; - font-size: 85%; - background-color: #fafbfc9d; - color: #1b1f23; - border-radius: 3px; -} - -pre { - word-wrap: normal; -} - -pre>code { - padding: 0; - margin: 0; - font-size: 100%; - word-break: normal; - white-space: pre; - background: transparent; - border: 0; -} - -.highlight { - margin-bottom: 16px; -} - -.highlight pre { - margin-bottom: 0; - word-break: normal; -} - -.highlight pre, -pre { - padding: 16px; - overflow: auto; - font-size: 85%; - line-height: 1.45; - background-color: #f6f8faf1; - border-radius: 3px; -} - -pre code { - display: inline; - max-width: auto; - padding: 0; - margin: 0; - overflow: visible; - line-height: inherit; - word-wrap: normal; - background-color: transparent; - border: 0; -} - -.full-commit .btn-outline:not(:disabled):hover { - color: #005cc5; - border-color: #005cc5; -} - -kbd { - display: inline-block; - padding: 3px 5px; - font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; - line-height: 10px; - color: #444d56; - vertical-align: middle; - background-color: #fafbfc; - border: solid 1px #d1d5da; - border-bottom-color: #c6cbd1; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #c6cbd1; -} - -:checked+.radio-label { - position: relative; - z-index: 1; - border-color: #0366d6; -} - -.task-list-item { - list-style-type: none; -} - -.task-list-item+.task-list-item { - margin-top: 3px; -} - -.task-list-item input { - margin: 0 0.2em 0.25em -1.6em; - vertical-align: middle; -} - -hr { - border-bottom-color: #eee; -} diff --git a/data/media/github-md.css b/data/media/github-md.css deleted file mode 100644 index c014dd6..0000000 --- a/data/media/github-md.css +++ /dev/null @@ -1,566 +0,0 @@ -@font-face { - font-family: octicons-link; - src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); -} - -body { - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; - line-height: 1.5; - color: #31373D; - background-color: #EDEDED; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - font-size: 16px; - line-height: 1.5; - word-wrap: break-word; -} - -a { - background-color: transparent; -} - -a:active, -a:hover { - outline-width: 0; -} - -strong { - font-weight: inherit; -} - -strong { - font-weight: bolder; -} - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -img { - border-style: none; -} - -code, -kbd, -pre { - font-family: monospace, monospace; - font-size: 1em; -} - -hr { - box-sizing: content-box; - height: 0; - overflow: visible; -} - -input { - font: inherit; - margin: 0; -} - -input { - overflow: visible; -} - -[type="checkbox"] { - box-sizing: border-box; - padding: 0; -} - -* { - box-sizing: border-box; -} - -input { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -a { - color: #0366d6; - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -strong { - font-weight: 600; -} - -hr { - height: 0; - margin: 15px 0; - overflow: hidden; - background: transparent; - border: 0; - border-bottom: 1px solid #dfe2e5; -} - -hr::before { - display: table; - content: ""; -} - -hr::after { - display: table; - clear: both; - content: ""; -} - -table { - border-spacing: 0; - border-collapse: collapse; -} - -td, -th { - padding: 0; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 0; - margin-bottom: 0; -} - -h1 { - font-size: 32px; - font-weight: 600; -} - -h2 { - font-size: 24px; - font-weight: 600; -} - -h3 { - font-size: 20px; - font-weight: 600; -} - -h4 { - font-size: 16px; - font-weight: 600; -} - -h5 { - font-size: 14px; - font-weight: 600; -} - -h6 { - font-size: 12px; - font-weight: 600; -} - -p { - margin-top: 0; - margin-bottom: 10px; -} - -blockquote { - margin: 0; -} - -ul, -ol { - padding-left: 0; - margin-top: 0; - margin-bottom: 0; -} - -ol ol, -ul ol { - list-style-type: lower-roman; -} - -ul ul ol, -ul ol ol, -ol ul ol, -ol ol ol { - list-style-type: lower-alpha; -} - -dd { - margin-left: 0; -} - -code { - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-size: 12px; -} - -pre { - margin-top: 0; - margin-bottom: 0; - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-size: 12px; -} - -.octicon { - vertical-align: text-bottom; -} - -.pl-0 { - padding-left: 0 !important; -} - -.pl-1 { - padding-left: 4px !important; -} - -.pl-2 { - padding-left: 8px !important; -} - -.pl-3 { - padding-left: 16px !important; -} - -.pl-4 { - padding-left: 24px !important; -} - -.pl-5 { - padding-left: 32px !important; -} - -.pl-6 { - padding-left: 40px !important; -} - -.markdown-body::before { - display: table; - content: ""; -} - -.markdown-body::after { - display: table; - clear: both; - content: ""; -} - -.markdown-body>*:first-child { - margin-top: 0 !important; -} - -.markdown-body>*:last-child { - margin-bottom: 0 !important; -} - -a:not([href]) { - color: inherit; - text-decoration: none; -} - -.anchor { - float: left; - padding-right: 4px; - margin-left: -20px; - line-height: 1; -} - -.anchor:focus { - outline: none; -} - -p, -blockquote, -ul, -ol, -dl, -table, -pre { - margin-top: 0; - margin-bottom: 16px; -} - -hr { - height: 0.25em; - padding: 0; - margin: 24px 0; - background-color: #e1e4e8; - border: 0; -} - -blockquote { - padding: 0 1em; - color: #6a737d; - border-left: 0.25em solid #dfe2e5; -} - -blockquote>:first-child { - margin-top: 0; -} - -blockquote>:last-child { - margin-bottom: 0; -} - -kbd { - display: inline-block; - padding: 3px 5px; - font-size: 11px; - line-height: 10px; - color: #444d56; - vertical-align: middle; - background-color: #fafbfc; - border: solid 1px #c6cbd1; - border-bottom-color: #959da5; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #959da5; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 24px; - margin-bottom: 16px; - font-weight: 600; - line-height: 1.25; -} - -h1 .octicon-link, -h2 .octicon-link, -h3 .octicon-link, -h4 .octicon-link, -h5 .octicon-link, -h6 .octicon-link { - color: #1b1f23; - vertical-align: middle; - visibility: hidden; -} - -h1:hover .anchor, -h2:hover .anchor, -h3:hover .anchor, -h4:hover .anchor, -h5:hover .anchor, -h6:hover .anchor { - text-decoration: none; -} - -h1:hover .anchor .octicon-link, -h2:hover .anchor .octicon-link, -h3:hover .anchor .octicon-link, -h4:hover .anchor .octicon-link, -h5:hover .anchor .octicon-link, -h6:hover .anchor .octicon-link { - visibility: visible; -} - -h1 { - padding-bottom: 0.3em; - font-size: 2em; - border-bottom: 1px solid #eaecef; -} - -h2 { - padding-bottom: 0.3em; - font-size: 1.5em; - border-bottom: 1px solid #eaecef; -} - -h3 { - font-size: 1.25em; -} - -h4 { - font-size: 1em; -} - -h5 { - font-size: 0.875em; -} - -h6 { - font-size: 0.85em; - color: #6a737d; -} - -ul, -ol { - padding-left: 2em; -} - -ul ul, -ul ol, -ol ol, -ol ul { - margin-top: 0; - margin-bottom: 0; -} - -li { - word-wrap: break-all; -} - -li>p { - margin-top: 16px; -} - -li+li { - margin-top: 0.25em; -} - -dl { - padding: 0; -} - -dl dt { - padding: 0; - margin-top: 16px; - font-size: 1em; - font-style: italic; - font-weight: 600; -} - -dl dd { - padding: 0 16px; - margin-bottom: 16px; -} - -table { - display: block; - width: 100%; - overflow: auto; -} - -table th { - font-weight: 600; -} - -table th, -table td { - padding: 6px 13px; - border: 1px solid #dfe2e5; -} - -table tr { - background-color: #fff; - border-top: 1px solid #c6cbd1; -} - -table tr:nth-child(2n) { - background-color: #f6f8fa; -} - -img { - max-width: 100%; - box-sizing: content-box; - background-color: #fff; -} - -img[align=right] { - padding-left: 20px; -} - -img[align=left] { - padding-right: 20px; -} - -code { - padding: 0.2em 0.4em; - margin: 0; - font-size: 85%; - background-color: rgba(27,31,35,0.05); - border-radius: 3px; -} - -pre { - word-wrap: normal; -} - -pre>code { - padding: 0; - margin: 0; - font-size: 100%; - word-break: normal; - white-space: pre; - background: transparent; - border: 0; -} - -.highlight { - margin-bottom: 16px; -} - -.highlight pre { - margin-bottom: 0; - word-break: normal; -} - -.highlight pre, -pre { - padding: 16px; - overflow: auto; - font-size: 85%; - line-height: 1.45; - background-color: #f6f8fa; - border-radius: 3px; -} - -pre code { - display: inline; - max-width: auto; - padding: 0; - margin: 0; - overflow: visible; - line-height: inherit; - word-wrap: normal; - background-color: transparent; - border: 0; -} - -.full-commit .btn-outline:not(:disabled):hover { - color: #005cc5; - border-color: #005cc5; -} - -kbd { - display: inline-block; - padding: 3px 5px; - font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; - line-height: 10px; - color: #444d56; - vertical-align: middle; - background-color: #fafbfc; - border: solid 1px #d1d5da; - border-bottom-color: #c6cbd1; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #c6cbd1; -} - -:checked+.radio-label { - position: relative; - z-index: 1; - border-color: #0366d6; -} - -.task-list-item { - list-style-type: none; -} - -.task-list-item+.task-list-item { - margin-top: 3px; -} - -.task-list-item input { - margin: 0 0.2em 0.25em -1.6em; - vertical-align: middle; -} - -hr { - border-bottom-color: #eee; -} diff --git a/data/media/uberwriter.css b/data/media/uberwriter.css deleted file mode 100644 index 7cb0bd6..0000000 Binary files a/data/media/uberwriter.css and /dev/null differ diff --git a/data/media/uberwriter_dark.css b/data/media/uberwriter_dark.css deleted file mode 100644 index bae9e17..0000000 Binary files a/data/media/uberwriter_dark.css and /dev/null differ diff --git a/data/ui/About.ui b/data/ui/About.ui index e70f7ff..c5b788c 100644 --- a/data/ui/About.ui +++ b/data/ui/About.ui @@ -8,15 +8,20 @@ center dialog Uberwriter - 2.1.3 + 2.1.5 Copyright (C) 2018, Wolf Vollprecht http://uberwriter.github.io/uberwriter Uberwriter website Wolf Vollprecht <w.vollprecht@gmail.com> Manuel Genovés <manuel.genoves@gmail.com> - Daniel Artfors (Swedish) + +Andrea Somaini (Italian) +Daniel Artfors (Swedish) shorez (German) TomBoss (French) +Adolfo Jayme Barrientos (Catalan) +Maxence Dubois (French) +naxuroqa (German) Wolf Manuel (Spanish, Catalan) Tobias Bernard <hi@tobiasbernard.com> diff --git a/data/ui/Menu.ui b/data/ui/Menu.ui index 55319df..e07092c 100644 --- a/data/ui/Menu.ui +++ b/data/ui/Menu.ui @@ -6,6 +6,10 @@ Focus Mode app.focus_mode + + Hemingway Mode + app.hemingway_mode + Preview app.preview diff --git a/data/ui/Preferences.ui b/data/ui/Preferences.ui index 1454037..3880dc1 100644 --- a/data/ui/Preferences.ui +++ b/data/ui/Preferences.ui @@ -92,7 +92,6 @@ True True app.spellcheck - True 1 diff --git a/data/ui/Shortcuts.ui b/data/ui/Shortcuts.ui index d3c6dee..03e99c5 100644 --- a/data/ui/Shortcuts.ui +++ b/data/ui/Shortcuts.ui @@ -42,10 +42,23 @@ True - Quit + Close document <Primary>w + + + True + Quit application + <Primary>q + + + + + + + True + Modes True @@ -56,19 +69,32 @@ True - Fullscreen - F11 + Hemingway mode + <Primary>t - + True Preview <Primary>p - + + True + Fullscreen + F11 + + + + + + + True + Search + + True Search <Primary>f @@ -77,9 +103,9 @@ - + True - Editor + Markdown True @@ -108,6 +134,13 @@ <Primary>b + + + True + Strikeout + <Shift><Primary>D + + True @@ -115,27 +148,6 @@ <Primary>h - - - True - Cut - <Primary>x - - - - - True - Copy - <Primary>c - - - - - True - Paste - <Primary>v - - True @@ -145,6 +157,67 @@ + + + True + Copy and paste + + + True + Copy selected text to clipboard + <Primary>C + + + + + True + Cut selected text to clipboard + <Primary>X + + + + + True + Paste selected text from clipboard + <Primary>V + + + + + + + True + Undo and redo + + + True + Undo previous command + <Primary>Z + + + + + True + Redo previous command + <Shift><Primary>Z + + + + + + + True + Selection + + + True + Select all text + <Primary>A + + + + + diff --git a/flatpak/de.wolfvollprecht.UberWriter.appdata.xml b/flatpak/de.wolfvollprecht.UberWriter.appdata.xml deleted file mode 100644 index 2906601..0000000 --- a/flatpak/de.wolfvollprecht.UberWriter.appdata.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - de.wolfvollprecht.UberWriter.desktop - UberWriter - An elegant, free distraction GTK+ markdown editor - -

Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.

-
- - Office - TextEditor - GTK - - ​ - - The UberWriter main window - https://user-images.githubusercontent.com/8913975/39668441-37b97b9e-50ce-11e8-83b4-19f481c79468.png - - - Dark theme available - https://user-images.githubusercontent.com/8913975/39668442-37ec83b8-50ce-11e8-9896-0d2f5876ebfb.png - - - With inline preview for formulas, images, footnotes and definitions - https://user-images.githubusercontent.com/8913975/39668440-379c4236-50ce-11e8-8c89-3d03c639953e.png - - - The preview mode shows a live preview of the rendered document - https://user-images.githubusercontent.com/8913975/39668443-380813f8-50ce-11e8-8bc1-b69f97fb6080.png - - - The focus mode helps you providing a clear environment for writing - https://user-images.githubusercontent.com/8913975/39668438-375ffbb4-50ce-11e8-8abe-1109702f8656.png - - - CC0-1.0 - GPL-3.0+ - http://uberwriter.github.io/uberwriter - -
\ No newline at end of file diff --git a/po/ca_ES/LC_MESSAGES/uberwriter-ca_ES.po b/po/ca_ES/LC_MESSAGES/uberwriter-ca_ES.po index 407bd18..cea8ff2 100644 --- a/po/ca_ES/LC_MESSAGES/uberwriter-ca_ES.po +++ b/po/ca_ES/LC_MESSAGES/uberwriter-ca_ES.po @@ -1,58 +1,199 @@ msgid "" msgstr "" -"Project-Id-Version: UberWriter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-27 21:16+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ca\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: Poedit 2.2.1\n" +"Project-Id-Version: UberWriter\n" +"Language: ca\n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -msgid "Dark mode" +#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 +msgid "(no suggestions)" +msgstr "(cap suggeriment)" + +#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 +msgid "Add \"{}\" to Dictionary" +msgstr "Afegeix «{}» al diccionari" + +#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 +msgid "Ignore All" +msgstr "Ignora-ho tot" + +#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 +msgid "Languages" +msgstr "Idiomes" + +#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 +msgid "Suggestions" +msgstr "Suggeriments" + +#: ../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 senzill i lliure de distraccions" + +#: uberwriter/UberwriterInlinePreview.py:187 +msgid "Website is not available" +msgstr "El lloc web no està disponible" + +#: uberwriter/UberwriterInlinePreview.py:189 +msgid "Website is available" +msgstr "El lloc web està disponible" + +#: uberwriter/UberwriterInlinePreview.py:441 +msgid "Open Link in Webbrowser" +msgstr "Obre l'enllaç en un navegador web" + +#: uberwriter/UberwriterInlinePreview.py:503 +msgid "No matching footnote found" +msgstr "No s'ha pogut trobar la nota de peu corresponent" + +#: data/ui/UberwriterWindow.ui:66 +msgid "_File" +msgstr "_Fitxer" + +#: data/ui/UberwriterWindow.ui:96 +msgid "Open Recent File" +msgstr "Obre un fitxer recent" + +#: data/ui/UberwriterWindow.ui:175 +msgid "Export as ODT" +msgstr "Exporta com a ODT" + +#: data/ui/UberwriterWindow.ui:186 +msgid "Advanced Export..." +msgstr "Exportació avançada…" + +#: ../data/ui/UberwriterWindow.ui.h:5 +msgid "Copy raw HTML to clipboard" +msgstr "Copia el codi HTML al porta-retalls" + +#: ../data/ui/UberwriterWindow.ui.h:6 +msgid "_Edit" +msgstr "_Editor" + +#: data/ui/UberwriterWindow.ui:229 +msgid "_View" +msgstr "_Visualitza" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Light text on a dark background" +msgstr "Text clar sobre fons fosc" + +#: data/ui/WindowMenu.ui:14 +msgid "Dark Mode" msgstr "Mode fosc" -#: 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 "Si engegat, la finestra tindrà un tema fosc." +#: data/ui/UberwriterWindow.ui:261 +msgid "Switch to preview mode" +msgstr "Canvia al mode de previsualització" -#: data/de.wolfvollprecht.UberWriter.gschema.xml:18 -msgid "Open file base path" +#: data/ui/Menu.ui:12 +msgid "Preview" +msgstr "Previsualització" + +#: data/ui/UberwriterWindow.ui:298 data/ui/WindowMenu.ui:28 +msgid "Auto _Spellcheck" +msgstr "_Correcció ortogràfica automàtica" + +#: ../data/ui/UberwriterWindow.ui.h:13 +msgid "F_ormat" +msgstr "F_ormatació" + +#: ../data/ui/UberwriterWindow.ui.h:14 +msgid "Unordered List Item" +msgstr "Element de llista no ordenada" + +#: ../data/ui/UberwriterWindow.ui.h:15 +msgid "Horizontal Rule" +msgstr "Regle horitzontal" + +#: uberwriter/FormatShortcuts.py:186 +msgid "Heading" +msgstr "Encapçalament" + +#: data/ui/UberwriterWindow.ui:312 +msgid "_Help" +msgstr "Aj_uda" + +#: data/ui/UberwriterWindow.ui:322 +msgid "Contents" +msgstr "Contingut" + +#: data/ui/UberwriterWindow.ui:335 +msgid "Short Markdown Tutorial" +msgstr "Tutorial breu de Markdown" + +#: data/ui/UberwriterWindow.ui:343 +msgid "Open Pandoc Online Markdown Help ..." +msgstr "Obre l'ajuda en línea de Markdown Pandoc…" + +#: ../data/ui/UberwriterWindow.ui.h:21 +msgid "Get Help Online..." msgstr "" -#: data/de.wolfvollprecht.UberWriter.gschema.xml:19 -msgid "Open file paths of the current session" -msgstr "" +#: data/ui/UberwriterWindow.ui:359 +msgid "Translate This Application..." +msgstr "Traduïu aquesta aplicació…" -#: data/ui/About.ui:12 -msgid "Copyright (C) 2018, Wolf Vollprecht" -msgstr "Copyright (C) 2018, Wolf Vollprecht" +#: data/ui/Menu.ui:7 +msgid "Focus Mode" +msgstr "Mode de concentració" -#: data/ui/About.ui:14 -msgid "Uberwriter website" -msgstr "Pàgina web del Uberwriter" +#: data/ui/UberwriterWindow.ui:424 data/ui/UberwriterWindow.ui:425 +msgid "Go into focus mode" +msgstr "Vés al mode de concentració" -#: data/ui/About.ui:66 -msgid "Donations:" -msgstr "Donatius:" +#: data/ui/Menu.ui:17 +msgid "Fullscreen" +msgstr "Pantalla completa" -#: data/ui/About.ui:75 -msgid "Liberapay" -msgstr "Liberapay" +#: data/ui/UberwriterWindow.ui:442 data/ui/UberwriterWindow.ui:443 +msgid "Go into fullscreen mode" +msgstr "Vés al mode de pantalla completa" -#: data/ui/About.ui:106 -msgid "Help to translate:" -msgstr "Ajuda a traduir:" +#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 +msgid "Show HTML preview" +msgstr "Mostra previsualització d'HTML" -#: data/ui/About.ui:115 -msgid "Poeditor" -msgstr "Poeditor" +#: data/ui/UberwriterWindow.ui:112 +msgid "Words:" +msgstr "Paraules:" + +#: data/ui/UberwriterWindow.ui:155 +msgid "Characters:" +msgstr "Caràcters:" + +#: uberwriter_lib/AppWindow.py:246 +msgid "Show debug messages (-vv debugs uberwriter_lib also)" +msgstr "Mostra missatges de depuració (-vv depura uberwriter_lib també)" + +#: uberwriter/FormatShortcuts.py:87 +msgid "emphasized text" +msgstr "text destacat" + +#: uberwriter/FormatShortcuts.py:89 +msgid "strong text" +msgstr "text en negreta" + +#: uberwriter/FormatShortcuts.py:105 +msgid "List item" +msgstr "Element de llista" + +#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 +msgid "Export" +msgstr "Exporta" #: data/ui/Export.ui:38 data/ui/UberwriterAdvancedExportDialog.ui:98 msgid "Smart" @@ -62,6 +203,14 @@ msgstr "Intel·ligent" msgid "Pandoc can automatically make \"--\" to a long dash and more" msgstr "El Pandoc pot convertir automàticament «--» a un guió y més" +#: data/ui/UberwriterAdvancedExportDialog.ui:117 +msgid "Normalize" +msgstr "Normalitza" + +#: data/ui/UberwriterAdvancedExportDialog.ui:122 +msgid "Removes things like double spaces or spaces at the beginning of a paragraph" +msgstr "Suprimeix elements com espais o espais dobles al començament d'un paràgraf" + #: data/ui/Export.ui:56 data/ui/UberwriterAdvancedExportDialog.ui:135 msgid "Table of Contents" msgstr "Índex" @@ -71,12 +220,8 @@ msgid "Standalone" msgstr "Independent" #: 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 "" -"Utilitza la capçalera i el peu per incloure coses com fulls d'estil o " -"metainformació" +msgid "Use a header and footer to include things like stylesheets and meta information" +msgstr "Utilitza la capçalera i el peu per incloure coses com fulls d'estil o metainformació" #: data/ui/Export.ui:90 data/ui/UberwriterAdvancedExportDialog.ui:171 msgid "Number Sections" @@ -120,21 +265,13 @@ msgstr "Estil de realçat " msgid "Syntax highlighting (HTML, LaTeX)" msgstr "Realçat de sintaxi (HTML, LaTeX)" -#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Fixer de bibliografía" - #: data/ui/Export.ui:329 data/ui/UberwriterAdvancedExportDialog.ui:371 msgid "Self Contained" msgstr "Autocontingut" #: 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 "" -"Produeix HTML sense dependències externes (totes les imatges i fulls d'estil " -"estan inclosos)" +msgid "Produces a HTML that has no external dependencies (all images and stylesheets are included)" +msgstr "Produeix HTML sense dependències externes (totes les imatges i fulls d'estil estan inclosos)" #: data/ui/Export.ui:346 data/ui/UberwriterAdvancedExportDialog.ui:389 msgid "HTML 5" @@ -142,7 +279,7 @@ msgstr "HTML 5" #: data/ui/Export.ui:351 data/ui/UberwriterAdvancedExportDialog.ui:394 msgid "Use HTML 5 syntax" -msgstr "Utilitzar sintaxi HTML5" +msgstr "Utilitza la sintaxi HTML5" #: data/ui/Export.ui:369 data/ui/Export.ui:382 #: data/ui/UberwriterAdvancedExportDialog.ui:413 @@ -158,96 +295,123 @@ msgstr "Fitxer CSS" msgid "HTML Options" msgstr "Opcions d'HTML" +#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 +msgid "Bibliography File" +msgstr "Fitxer de bibliografía" + #: data/ui/Export.ui:423 data/ui/UberwriterAdvancedExportDialog.ui:510 msgid "Commandline Reference" msgstr "Referència de la línea d'ordres" -#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exporta" +#: ../data/ui/AboutUberwriterDialog.ui.h:1 +msgid "" +"# Copyright (C) 2012, Wolf Vollprecht \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 .\n" +msgstr "" +"# Drets d’autor © 2012 Wolf Vollprecht \n" +"# Aquest programa és programari lliure; modeu redistribuir-lo i/o modificar-lo \n" +"# d’acord amb els termes de la Llicència Pública General de GNU (versió 3),\n" +"# tal com ha estat publicada per la Free Software Foundation.\n" +"# \n" +"# Aquest programa es distribueix amb l’expectativa què pugui ser útil, però\n" +"# SENSE CAP GARANTIA, fins i tot sense les garanties implícites de\n" +"# COMERCIABILITAT, QUALITAT SATISFACTÒRIA o ADEQUACIÓ PER A UN PROPÒSIT\n" +"# DETERMINAT. Vegeu la Llicència Pública General de GNU per a conèixer-ne més.\n" +"# \n" +"# Heu d’haver rebut una còpia de la Llicència Pública General de GNU juntament\n" +"# amb aquest programa. Si no, vegeu .\n" -#: 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 " +msgstr "Drets d’autor © 2012 Wolf Vollprecht " -#: 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 "Deseu el vostre fitxer" -#: data/ui/Export.ui:582 -msgid "HTML" -msgstr "HTML" +#: uberwriter/UberwriterWindow.py:490 +msgid "You can not export to PDF." +msgstr "No es pot exportar a PDF." -#: data/ui/Export.ui:595 -msgid "ODT" -msgstr "ODT" +#: uberwriter/UberwriterWindow.py:492 +msgid "Please install texlive from the software center." +msgstr "Instal·leu texlive des del centre de programari." -#: data/ui/Export.ui:607 -msgid "Advanced" -msgstr "Exportació avançada" +#: uberwriter/UberwriterWindow.py:448 +msgid "MarkDown or Plain Text" +msgstr "Markdown o text simple" -#: data/ui/Menu.ui:6 -msgid "Focus Mode" -msgstr "Mode de concentració" +#: uberwriter/UberwriterWindow.py:451 +msgid "Open a .md-File" +msgstr "Obre un fitxer .md" -#: data/ui/Menu.ui:10 -msgid "Preview" -msgstr "Previsualització" +#: uberwriter/UberwriterWindow.py:473 +msgid "You have not saved your changes." +msgstr "No heu desat els canvis." -#: data/ui/Menu.ui:14 -msgid "Fullscreen" -msgstr "Pantalla completa" +#: uberwriter/UberwriterWindow.py:475 +msgid "Close without Saving" +msgstr "Tanca sense desar" -#: data/ui/Menu.ui:20 -msgid "Save _As" -msgstr "Des_a com a" +#: uberwriter/UberwriterWindow.py:476 +msgid "Cancel" +msgstr "Cancel·la" -#: data/ui/Menu.ui:24 -msgid "_Export" -msgstr "_Exporta" +#: uberwriter/UberwriterWindow.py:477 +msgid "Save now" +msgstr "Desa ara" -#: data/ui/Menu.ui:28 -msgid "Copy HTML" -msgstr "Copia HTML" +#: uberwriter/UberwriterWindow.py:478 +msgid "Unsaved changes" +msgstr "Canvis sense desar" -#: data/ui/Menu.ui:34 -msgid "Open Tutorial" -msgstr "Obri el Tutorial" +#: uberwriter/UberwriterWindow.py:537 +msgid "You can not enable the Spell Checker." +msgstr "No es pot activar el corrector ortogràfic." -#: data/ui/Menu.ui:39 +#: uberwriter/UberwriterWindow.py:540 +msgid "Please install 'hunspell' or 'aspell' dictionarys for your language from the software center." +msgstr "Instal·leu els diccionaris de «hunspell» o «aspell» per al vostre idioma des del centre de programari." + +#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 +msgid "Dark mode" +msgstr "Mode fosc" + +#: 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 "Si engegat, la finestra tindrà un tema fosc." + +#. win.change_label +#. String 1 +#: data/ui/App_menu.ui:10 +msgid "New window" +msgstr "Finestra nova" + +#: data/ui/Menu.ui:53 +msgid "_Shortcuts" +msgstr "_Dreceres" + +#: data/ui/Menu.ui:49 msgid "Pandoc _Help" msgstr "Ajuda del Pandoc" -#: data/ui/Menu.ui:44 data/ui/Preferences.ui:14 -msgid "Preferences" -msgstr "Preferències" +#: data/ui/Menu.ui:59 +msgid "_About" +msgstr "_Quant a" -#: data/ui/Menu.ui:49 -#, fuzzy -#| msgid "_Shortcuts" -msgid "_Keyboard Shortcuts" -msgstr "Dreceres" - -#: data/ui/Menu.ui:53 -#, fuzzy -#| msgid "UberWriter" -msgid "_About UberWriter" -msgstr "UberWriter" - -#: data/ui/Preferences.ui:45 -#, fuzzy -msgid "Use dark mode" -msgstr "Mode fosc" - -#: data/ui/Preferences.ui:56 -msgid "Autospellcheck" -msgstr "Correcció ortogràfica automàtica" - -#: data/ui/Preferences.ui:95 -msgid "page 1" -msgstr "pàgina 1" +#: data/ui/Menu.ui:62 +msgid "_Quit" +msgstr "_Surt" #: data/ui/Shortcuts.ui:13 msgctxt "shortcut window" @@ -272,7 +436,7 @@ msgstr "Desa" #: data/ui/Shortcuts.ui:38 msgctxt "shortcut window" msgid "Save as" -msgstr "Desa com a" +msgstr "Anomena i desa" #: data/ui/Shortcuts.ui:45 msgctxt "shortcut window" @@ -349,350 +513,241 @@ msgctxt "shortcut window" msgid "Select all" msgstr "Selecciona-ho tot" -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalitza" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Suprimeix elements com espais o espais dobles al començament d'un paràgraf" - #: data/ui/UberwriterWindow.ui:19 msgid "Next Match" msgstr "Següent coincidència" -#: data/ui/UberwriterWindow.ui:36 +#: data/ui/UberwriterWindow.ui:41 msgid "Open Replace" msgstr "Reemplaçar" -#: data/ui/UberwriterWindow.ui:96 -msgid "Words:" -msgstr "Paraules:" +#: data/ui/UberwriterWindow.ui:52 +msgid "Activate Regex" +msgstr "Expressió regular" -#: data/ui/UberwriterWindow.ui:139 -msgid "Characters:" -msgstr "Caràcters:" +#: data/ui/UberwriterWindow.ui:74 +msgid "_New" +msgstr "_Nou" -#: data/ui/UberwriterWindow.ui:279 +#: data/ui/UberwriterWindow.ui:84 +msgid "_Open" +msgstr "_Obre" + +#: data/ui/UberwriterWindow.ui:102 +msgid "Open examples" +msgstr "Exemples" + +#: data/ui/UberwriterWindow.ui:114 +msgid "_Quick markdown tutorial" +msgstr "Tutorial breu de Markdown" + +#: data/ui/UberwriterWindow.ui:131 +msgid "_Save" +msgstr "De_sa" + +#: data/ui/Menu.ui:24 +msgid "Save _As" +msgstr "_Anomena i desa" + +#: data/ui/UberwriterWindow.ui:157 +msgid "Export as HTML" +msgstr "Exporta com a HTML" + +#: data/ui/UberwriterWindow.ui:166 +msgid "Export as PDF" +msgstr "Exporta com a PDF" + +#: data/ui/UberwriterWindow.ui:201 +msgid "Copy Raw HTML to Clipboard" +msgstr "Copia el codi HTML al porta-retalls" + +#: data/ui/UberwriterWindow.ui:254 +msgid "Sidebar" +msgstr "Barra lateral" + +#: data/ui/UberwriterWindow.ui:270 +msgid "Open Search and Replace" +msgstr "Cerca i reemplaça" + +#: data/ui/UberwriterWindow.ui:271 +msgid "Search and Replace ..." +msgstr "Cerca i reemplaça..." + +#: data/ui/UberwriterWindow.ui:295 msgid "Previous Match" msgstr "Coincidència anterior" -#: data/ui/UberwriterWindow.ui:320 -msgid "aA" -msgstr "" - -#: data/ui/UberwriterWindow.ui:324 +#: data/ui/UberwriterWindow.ui:339 msgid "Case Sensitive" msgstr "Coincidència de majúscules i minúscules" -#: data/ui/UberwriterWindow.ui:334 -msgid "(.*)" -msgstr "" - -#: data/ui/UberwriterWindow.ui:427 +#: data/ui/UberwriterWindow.ui:443 msgid "Replace" msgstr "Reemplaça" -#: data/ui/UberwriterWindow.ui:441 +#: data/ui/UberwriterWindow.ui:457 msgid "Replace all" -msgstr "Reemplaça tot" +msgstr "Reemplaça-ho tot" -#: uberwriter/FormatShortcuts.py:99 -msgid "emphasized text" -msgstr "text destacat" - -#: uberwriter/FormatShortcuts.py:101 -msgid "strong text" -msgstr "text en negreta" - -#: uberwriter/FormatShortcuts.py:103 +#: uberwriter/FormatShortcuts.py:91 msgid "striked out text" -msgstr "text destacat" +msgstr "text ratllat" -#: uberwriter/FormatShortcuts.py:121 -msgid "List item" -msgstr "Element de llista" +#: 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 "Encapçalament" - -#: uberwriter/UberwriterExportDialog.py:48 -msgid "Untitled document.md" -msgstr "Sense títol.md" - -#: uberwriter/UberwriterExportDialog.py:372 -msgid "Please, install the TexLive extension from Gnome Software or running\n" -msgstr "" -"Per favor, instal·leu la extensió del TexLive des de Gnome Software o " -"executant\n" - -#: uberwriter/UberwriterExportDialog.py:375 -msgid "Please, install TexLive from your distribuiton repositories" -msgstr "Per favor, instal·leu TexLive dels repositoris del vostre sistema" - -#: uberwriter/UberwriterInlinePreview.py:183 -msgid "Website is not available" -msgstr "La pàgina web no està disponible" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is available" -msgstr "La pàgina web està disponible" - -#: uberwriter/UberwriterInlinePreview.py:435 -msgid "Open Link in Webbrowser" -msgstr "Obre l'enllaç en un navegador web" - -#: uberwriter/UberwriterInlinePreview.py:500 -msgid "No matching footnote found" -msgstr "No s'ha pogut trobar la nota de peu corresponent" - -#: uberwriter/UberwriterWindow.py:572 -msgid "Save your File" -msgstr "Deseu el vostre fitxer" - -#: uberwriter/UberwriterWindow.py:678 -msgid "MarkDown or Plain Text" -msgstr "Markdown o text simple" - -#: uberwriter/UberwriterWindow.py:681 -msgid "Open a .md-File" -msgstr "Obre un fitxer .md" - -#: uberwriter/UberwriterWindow.py:706 -msgid "You have not saved your changes." -msgstr "No heu desat els canvis." - -#: uberwriter/UberwriterWindow.py:708 -msgid "Close without Saving" -msgstr "Tanca sense desar" - -#: uberwriter/UberwriterWindow.py:709 -msgid "Cancel" -msgstr "Cancel·la" - -#: uberwriter/UberwriterWindow.py:710 -msgid "Save now" -msgstr "Desa ara" - -#: uberwriter/UberwriterWindow.py:711 -msgid "Unsaved changes" -msgstr "Canvis sense desar" - -#: uberwriter/UberwriterWindow.py:742 -#, fuzzy -#| msgid "CSS File" -msgid "New File" -msgstr "Fitxer CSS" - -#: uberwriter/UberwriterWindow.py:780 -msgid "You can not enable the Spell Checker." -msgstr "No es pot activar el corrector ortogràfic." - -#: uberwriter/UberwriterWindow.py:783 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Instal·leu els diccionaris de «hunspell» o «aspell» per al vostre idioma des " -"del centre de programari." - -#: uberwriter/headerbars.py:76 -msgid "Exit Fullscreen" -msgstr "Sortir de pantalla completa" - -#: uberwriter/headerbars.py:118 -msgid "New" -msgstr "Nou" - -#: uberwriter/headerbars.py:119 -msgid "Open" -msgstr "Obre" - -#: uberwriter/headerbars.py:121 -msgid "Save" -msgstr "Desa" - -#: uberwriter/headerbars.py:128 -msgid "Open Recent" -msgstr "Obre un fitxer recent" - -#: uberwriter/headerbars.py:130 -msgid "Search and replace" -msgstr "Cerca i reemplaça" - -#: uberwriter/headerbars.py:131 -msgid "Menu" -msgstr "Menú" - -#: uberwriter_lib/AppWindow.py:173 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Mostra missatges de depuració (-vv depura uberwriter_lib també)" - -#: uberwriter_lib/AppWindow.py:175 +#: uberwriter_lib/AppWindow.py:248 msgid "Use experimental features" msgstr "Utilitzar característiques experimentals" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" +msgstr "el connector «{}» no és un fitxer ZIP vàlid" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" +msgstr "el connector «{}» no conté un registre de diccionaris XML vàlid" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 msgid "unable to move extension, file with same name exists within move_path" -msgstr "" +msgstr "no s’ha pogut moure el connector; ja existeix un fitxer amb el mateix nom a move_path" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 msgid "unable to move extension, move_path is not a directory" -msgstr "" +msgstr "no s’ha pogut moure el connector; move_path no és un directori" #: uberwriter_lib/gtkspellcheck/spellcheck.py:105 msgid "Unknown" msgstr "Desconegut" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(cap suggeriment)" +#: 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 "Afegeix «{}» al diccionari" +#: 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 "Ignora-ho tot" +#: 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 "Idiomes" +#: 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 "Suggeriments" +#: data/ui/WindowMenu.ui:24 +msgid "Search and Replace" +msgstr "" -#~ msgid "_File" -#~ msgstr "_Fitxer" +#: data/ui/About.ui:12 +msgid "Copyright (C) 2018, Wolf Vollprecht" +msgstr "Copyright (C) 2018, Wolf Vollprecht" -#~ msgid "Open Recent File" -#~ msgstr "Obre un fitxer recent" +#: data/ui/About.ui:14 +msgid "Uberwriter website" +msgstr "Lloc web del Uberwriter" -#~ msgid "Export as ODT" -#~ msgstr "Exporta com a ODT" +#: data/ui/About.ui:60 +msgid "Donations:" +msgstr "Donatius:" -#~ msgid "Advanced Export..." -#~ msgstr "Exportació avançada…" +#: data/ui/About.ui:69 +msgid "Liberapay" +msgstr "Liberapay" -#~ msgid "Copy raw HTML to clipboard" -#~ msgstr "Copia el codi HTML al porta-retalls" +#: data/ui/About.ui:100 +msgid "Help to translate:" +msgstr "Ajudeu a traduir-ne:" -#~ msgid "_Edit" -#~ msgstr "_Editor" +#: data/ui/About.ui:109 +msgid "Poeditor" +msgstr "Poeditor" -#~ msgid "_View" -#~ msgstr "_Visualitza" +#: data/ui/Export.ui:559 data/ui/Export.ui:569 +msgid "PDF" +msgstr "PDF" -#~ msgid "Light text on a dark background" -#~ msgstr "Text clar sobre fons fosc" +#: data/ui/Export.ui:582 +msgid "HTML" +msgstr "HTML" -#~ msgid "Dark Mode" -#~ msgstr "Mode fosc" +#: data/ui/Export.ui:595 +msgid "ODT" +msgstr "ODT" -#~ msgid "Switch to preview mode" -#~ msgstr "Canvia al mode de previsualització" +#: data/ui/Export.ui:607 +msgid "Advanced" +msgstr "Exportació avançada" -#~ msgid "Auto _Spellcheck" -#~ msgstr "_Correcció ortogràfica automàtica" +#: data/ui/Menu.ui:28 +msgid "_Export" +msgstr "_Exporta" -#~ msgid "F_ormat" -#~ msgstr "F_ormat" +#: data/ui/Menu.ui:32 +msgid "Copy HTML" +msgstr "Copia l’HTML" -#~ msgid "Horizontal Rule" -#~ msgstr "Regle horitzontal" +#: data/ui/Menu.ui:38 data/ui/Preferences.ui:14 +msgid "Preferences" +msgstr "Preferències" -#~ msgid "_Help" -#~ msgstr "A_juda" +#: data/ui/Menu.ui:44 +msgid "Open Tutorial" +msgstr "Obre el tutorial" -#~ msgid "Contents" -#~ msgstr "Contingut" +#: data/ui/Preferences.ui:45 +msgid "Use dark mode" +msgstr "Utilitza el mode fosc" -#~ msgid "Short Markdown Tutorial" -#~ msgstr "Tutorial breu de Markdown" +#: data/ui/Preferences.ui:56 +msgid "Autospellcheck" +msgstr "Correcció ortogràfica automàtica" -#~ msgid "Open Pandoc Online Markdown Help ..." -#~ msgstr "Obre l'ajuda en línea de Markdown Pandoc…" +#: data/ui/Preferences.ui:95 +msgid "page 1" +msgstr "pàgina 1" -#~ msgid "Translate This Application..." -#~ msgstr "Traduïu aquesta aplicació…" +#: uberwriter/UberwriterExportDialog.py:48 +msgid "Untitled document.md" +msgstr "Document sense títol.md" -#~ msgid "Go into focus mode" -#~ msgstr "Vés al mode de concentració" +#: uberwriter/UberwriterExportDialog.py:372 +msgid "Please, install the TexLive extension from Gnome Software or running\n" +msgstr "Instal·leu el connector del TexLive mitjançant Programari del GNOME o executant\n" -#~ msgid "Go into fullscreen mode" -#~ msgstr "Vés al mode de pantalla completa" +#: uberwriter/UberwriterExportDialog.py:375 +msgid "Please, install TexLive from your distribuiton repositories" +msgstr "Instal·leu el TexLive des dels repositoris de la distribució" -#~ msgid "Show HTML preview" -#~ msgstr "Mostra previsualització d'HTML" +#: uberwriter/UberwriterWindow.py:894 uberwriter/UberwriterWindow.py:943 +msgid "New" +msgstr "Nou" -#~ msgid "You can not export to PDF." -#~ msgstr "No es pot exportar a PDF." +#: uberwriter/UberwriterWindow.py:895 uberwriter/UberwriterWindow.py:944 +msgid "Open" +msgstr "Obre" -#~ msgid "" -#~ "Please install texlive from the software " -#~ "center." -#~ msgstr "" -#~ "Instal·leu texlive des del centre de " -#~ "programari." +#: uberwriter/UberwriterWindow.py:899 uberwriter/UberwriterWindow.py:946 +#: uberwriter/UberwriterWindow.py:949 +msgid "Open Recent" +msgstr "Obre un fitxer recent" -#~ msgid "New window" -#~ msgstr "Nova finestra" +#: uberwriter/UberwriterWindow.py:901 uberwriter/UberwriterWindow.py:951 +msgid "Save" +msgstr "Desa" -#~ msgid "_About" -#~ msgstr "_Acerca de" +#: uberwriter/UberwriterWindow.py:904 uberwriter/UberwriterWindow.py:954 +msgid "Search and replace" +msgstr "Cerca i reemplaça" -#~ msgid "_Quit" -#~ msgstr "Surt" +#: uberwriter/UberwriterWindow.py:906 uberwriter/UberwriterWindow.py:956 +msgid "Menu" +msgstr "Menú" -#~ msgid "Activate Regex" -#~ msgstr "Expressió regular" - -#~ msgid "_New" -#~ msgstr "_Nou" - -#~ msgid "_Open" -#~ msgstr "_Obre" - -#~ msgid "Open examples" -#~ msgstr "Exemples" - -#~ msgid "_Quick markdown tutorial" -#~ msgstr "Tutorial breu de Markdown" - -#~ msgid "_Save" -#~ msgstr "De_sa" - -#~ msgid "Export as HTML" -#~ msgstr "Exporta com HTML" - -#~ msgid "Export as PDF" -#~ msgstr "Exporta com a PDF" - -#~ msgid "Copy Raw HTML to Clipboard" -#~ msgstr "Copia el codi HTML al porta-retalls" - -#~ msgid "Sidebar" -#~ msgstr "Barra lateral" - -#~ msgid "Open Search and Replace" -#~ msgstr "Cerca i reemplaça" - -#~ msgid "Search and Replace ..." -#~ msgstr "Cerca i reemplaça..." +#: uberwriter/UberwriterWindow.py:961 +msgid "Exit Fullscreen" +msgstr "Sortir de pantalla completa" diff --git a/po/ca_ES/LC_MESSAGES/uberwriter.mo b/po/ca_ES/LC_MESSAGES/uberwriter.mo index 56e0499..c9a5e1e 100644 Binary files a/po/ca_ES/LC_MESSAGES/uberwriter.mo and b/po/ca_ES/LC_MESSAGES/uberwriter.mo differ diff --git a/po/cs/LC_MESSAGES/uberwriter-cs.mo b/po/cs/LC_MESSAGES/uberwriter-cs.mo deleted file mode 100644 index c63c29f..0000000 Binary files a/po/cs/LC_MESSAGES/uberwriter-cs.mo and /dev/null differ diff --git a/po/de/LC_MESSAGES/uberwriter-de.mo b/po/de/LC_MESSAGES/uberwriter-de.mo deleted file mode 100644 index 8ff76f6..0000000 Binary files a/po/de/LC_MESSAGES/uberwriter-de.mo and /dev/null differ diff --git a/po/de/LC_MESSAGES/uberwriter-de.po b/po/de/LC_MESSAGES/uberwriter-de.po index 289a607..e628c55 100644 --- a/po/de/LC_MESSAGES/uberwriter-de.po +++ b/po/de/LC_MESSAGES/uberwriter-de.po @@ -1,65 +1,196 @@ 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: de\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: de\n" -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -msgid "Dark mode" -msgstr "Abgedunkelter Modus" +#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 +msgid "(no suggestions)" +msgstr "(keine Vorschläge)" -#: 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 "" -"Wenn aktiviert, wird der dunkle Modus verwendet. Andernfalls wird der helle " -"Modus aktiviert." +#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 +msgid "Add \"{}\" to Dictionary" +msgstr "\"{}\" zum Wörterbuch hinzufügen" -#: 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 "Alle Ignorieren" -#: 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 "Sprachauswahl" -#: data/ui/About.ui:12 -#, fuzzy -msgid "Copyright (C) 2018, Wolf Vollprecht" -msgstr "Copyright (C) 2012, Wolf Vollprecht " +#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 +msgid "Suggestions" +msgstr "Vorschläge" -#: 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:" -msgstr "" +#: ../uberwriter.desktop.in.h:2 +msgid "UberWriter, a simple and distraction free Markdown Editor" +msgstr "UberWriter, ein einfacher, ablenkungsfreier Markdown Editor" -#: data/ui/About.ui:75 -msgid "Liberapay" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:187 +msgid "Website is not available" +msgstr "Webseite nicht erreichbar" -#: data/ui/About.ui:106 -msgid "Help to translate:" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:189 +msgid "Website is available" +msgstr "Webseite erreichbar" -#: data/ui/About.ui:115 -#, fuzzy -msgid "Poeditor" +#: uberwriter/UberwriterInlinePreview.py:441 +msgid "Open Link in Webbrowser" +msgstr "Link im Browser öffnen" + +#: uberwriter/UberwriterInlinePreview.py:503 +msgid "No matching footnote found" +msgstr "Keine zugehörige Fussnote gefunden" + +#: data/ui/UberwriterWindow.ui:66 +msgid "_File" +msgstr "_Datei" + +#: data/ui/UberwriterWindow.ui:96 +msgid "Open Recent File" +msgstr "Zuletzt benutzte Datei öffnen" + +#: data/ui/UberwriterWindow.ui:175 +msgid "Export as ODT" +msgstr "Als ODT exportieren" + +#: data/ui/UberwriterWindow.ui:186 +msgid "Advanced Export..." +msgstr "Erweiterter Export" + +#: ../data/ui/UberwriterWindow.ui.h:5 +msgid "Copy raw HTML to clipboard" +msgstr "Rohes HTML in die Zwischenablage kopieren" + +#: ../data/ui/UberwriterWindow.ui.h:6 +msgid "_Edit" msgstr "_Bearbeiten" +#: data/ui/UberwriterWindow.ui:229 +msgid "_View" +msgstr "_Ansicht" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Light text on a dark background" +msgstr "Heller Text auf dunklem Hintergrund" + +#: data/ui/WindowMenu.ui:14 +msgid "Dark Mode" +msgstr "Abgedunkelter Modus" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Switch to preview mode" +msgstr "In den Vorschaumodus wechseln" + +#: data/ui/Menu.ui:12 +msgid "Preview" +msgstr "Vorschau" + +#: data/ui/UberwriterWindow.ui:298 data/ui/WindowMenu.ui:28 +msgid "Auto _Spellcheck" +msgstr "Rechtschreibprüfung" + +#: ../data/ui/UberwriterWindow.ui.h:13 +msgid "F_ormat" +msgstr "F_ormatieren" + +#: ../data/ui/UberwriterWindow.ui.h:14 +msgid "Unordered List Item" +msgstr "Element einer ungeordneten Liste" + +#: ../data/ui/UberwriterWindow.ui.h:15 +msgid "Horizontal Rule" +msgstr "Horizontale Linie" + +#: uberwriter/FormatShortcuts.py:186 +msgid "Heading" +msgstr "Überschrift" + +#: data/ui/UberwriterWindow.ui:312 +msgid "_Help" +msgstr "_Hilfe" + +#: data/ui/UberwriterWindow.ui:322 +msgid "Contents" +msgstr "Inhalte" + +#: data/ui/UberwriterWindow.ui:335 +msgid "Short Markdown Tutorial" +msgstr "Kurzes Markdown Tutorial (englisch)" + +#: data/ui/UberwriterWindow.ui:343 +msgid "Open Pandoc Online Markdown Help ..." +msgstr "Pandoc Online Markdown Hilfe Öffnen" + +#: ../data/ui/UberwriterWindow.ui.h:21 +msgid "Get Help Online..." +msgstr "Online Hilfe erhalten" + +#: data/ui/UberwriterWindow.ui:359 +msgid "Translate This Application..." +msgstr "Diese Anwendung übersetzen..." + +#: data/ui/Menu.ui:7 +msgid "Focus Mode" +msgstr "Fokusmodus" + +#: data/ui/UberwriterWindow.ui:424 data/ui/UberwriterWindow.ui:425 +msgid "Go into focus mode" +msgstr "In Fokusmodus wechseln" + +#: data/ui/Menu.ui:17 +msgid "Fullscreen" +msgstr "Vollbildmodus" + +#: data/ui/UberwriterWindow.ui:442 data/ui/UberwriterWindow.ui:443 +msgid "Go into fullscreen mode" +msgstr "In Vollbildmodus wechseln" + +#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 +msgid "Show HTML preview" +msgstr "HTML Vorschau ansehen" + +#: data/ui/UberwriterWindow.ui:112 +msgid "Words:" +msgstr "Wörter:" + +#: data/ui/UberwriterWindow.ui:155 +msgid "Characters:" +msgstr "Zeichen:" + +#: uberwriter_lib/AppWindow.py:246 +msgid "Show debug messages (-vv debugs uberwriter_lib also)" +msgstr "Debugnachrichten anzeigen (auch \"-vv debugs uberwriter_lib\")" + +#: uberwriter/FormatShortcuts.py:87 +msgid "emphasized text" +msgstr "kursiver Text" + +#: uberwriter/FormatShortcuts.py:89 +msgid "strong text" +msgstr "fettgedruckter Text" + +#: uberwriter/FormatShortcuts.py:105 +msgid "List item" +msgstr "Listeneintrag" + +#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 +msgid "Export" +msgstr "_Exportieren" + #: data/ui/Export.ui:38 data/ui/UberwriterAdvancedExportDialog.ui:98 msgid "Smart" msgstr "Intelligent" @@ -68,6 +199,14 @@ msgstr "Intelligent" msgid "Pandoc can automatically make \"--\" to a long dash and more" msgstr "Pandoc kann \"--\" automatisch zu einem langen Strich machen und mehr" +#: data/ui/UberwriterAdvancedExportDialog.ui:117 +msgid "Normalize" +msgstr "Normalisieren" + +#: data/ui/UberwriterAdvancedExportDialog.ui:122 +msgid "Removes things like double spaces or spaces at the beginning of a paragraph" +msgstr "Enfernt doppelte Leerzeichen oder Leerzeichen am Anfang eines Paragraphs" + #: data/ui/Export.ui:56 data/ui/UberwriterAdvancedExportDialog.ui:135 msgid "Table of Contents" msgstr "Inhaltsverzeichnis" @@ -77,11 +216,8 @@ msgid "Standalone" msgstr "Eigenständig" #: 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 "" -"Meta-Informationen können durch einen Kopf- und Fußteil hinzugefügt werden" +msgid "Use a header and footer to include things like stylesheets and meta information" +msgstr "Meta-Informationen können durch einen Kopf- und Fußteil hinzugefügt werden" #: data/ui/Export.ui:90 data/ui/UberwriterAdvancedExportDialog.ui:171 msgid "Number Sections" @@ -125,18 +261,13 @@ msgstr "Stil der Hervorhebung " msgid "Syntax highlighting (HTML, LaTeX)" msgstr "Syntax-Hervorhebung (HTML, LaTeX)" -#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Literaturverzeichnis" - +#. "Als Container" gibt keinen Sinn! #: data/ui/Export.ui:329 data/ui/UberwriterAdvancedExportDialog.ui:371 msgid "Self Contained" msgstr "Eigenständig" #: 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)" +msgid "Produces a HTML that has no external dependencies (all images and stylesheets are included)" msgstr "Erzeugt ein HTML-Dokument, das alle Bilder und Stylesheets enthält" #: data/ui/Export.ui:346 data/ui/UberwriterAdvancedExportDialog.ui:389 @@ -161,102 +292,121 @@ msgstr "CSS-Datei" msgid "HTML Options" msgstr "HTML-Einstellungen" +#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 +msgid "Bibliography File" +msgstr "Literaturverzeichnis" + #: data/ui/Export.ui:423 data/ui/UberwriterAdvancedExportDialog.ui:510 msgid "Commandline Reference" msgstr "Befehlszeilenargumente" -#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "_Exportieren" +#: ../data/ui/AboutUberwriterDialog.ui.h:1 +msgid "# Copyright (C) 2012, Wolf Vollprecht \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 .\n" +"" +msgstr "#Copyright (C) 2012, Wolf Vollprecht \n" +"#\n" +"#Dieses Programm ist freie Software. Sie können es unter den Bedingungen der #GNU General Public License, wie von der Free Software Foundation veröffentlicht, #weitergeben und/oder modifizieren, entweder gemäß Version 3 der Lizenz oder #nach Ihrer Option) jeder späteren Version.\n" +"#\n" +"#Die Veröffentlichung dieses Programms erfolgt in der Hoffnung, daß es Ihnen von #Nutzen sein wird, aber OHNE IRGENDEINE GARANTIE, sogar ohne die implizite #Garantie der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN #BESTIMMTEN ZWECK. Details finden Sie in der GNU General Public License.\n" +"#\n" +"#Sie sollten ein Exemplar der GNU General Public License zusammen mit diesem #Programm erhalten haben. Falls nicht, siehe .\n" +"\n" +"" -#: data/ui/Export.ui:559 data/ui/Export.ui:569 -msgid "PDF" -msgstr "" +#: ../data/ui/AboutUberwriterDialog.ui.h:14 +msgid "Copyright (C) 2012, Wolf Vollprecht " +msgstr "Copyright (C) 2012, Wolf Vollprecht " -#: 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 "Bezeichnung" +#: uberwriter/UberwriterWindow.py:347 +msgid "Save your File" +msgstr "Datei speichern" -#: data/ui/Export.ui:582 -#, fuzzy -msgid "HTML" -msgstr "HTML 5" +#: uberwriter/UberwriterWindow.py:490 +msgid "You can not export to PDF." +msgstr "PDF-Export nicht möglich" -#: data/ui/Export.ui:595 -msgid "ODT" -msgstr "" +#. Direkte Rede vermeiden +#: uberwriter/UberwriterWindow.py:492 +msgid "Please install texlive from the software center." +msgstr "Bitte das Paket texlive aus dem Software-Center installieren" -#: data/ui/Export.ui:607 -#, fuzzy -msgid "Advanced" -msgstr "Erweiterter Export" +#: uberwriter/UberwriterWindow.py:448 +msgid "MarkDown or Plain Text" +msgstr "MarkDown oder unformatierter Text" -#: data/ui/Menu.ui:6 -msgid "Focus Mode" -msgstr "Fokusmodus" +#: uberwriter/UberwriterWindow.py:451 +msgid "Open a .md-File" +msgstr ".md-Datei öffnen" -#: data/ui/Menu.ui:10 -msgid "Preview" -msgstr "Vorschau" +#: uberwriter/UberwriterWindow.py:473 +msgid "You have not saved your changes." +msgstr "Sie haben ihre Änderungen nicht gespeichert." -#: data/ui/Menu.ui:14 -msgid "Fullscreen" -msgstr "Vollbildmodus" +#: uberwriter/UberwriterWindow.py:475 +msgid "Close without Saving" +msgstr "Schließen, ohne zu speichern" -#: data/ui/Menu.ui:20 -#, fuzzy -msgid "Save _As" -msgstr "Speichern _Unter" +#: uberwriter/UberwriterWindow.py:476 +msgid "Cancel" +msgstr "Abbrechen" -#: data/ui/Menu.ui:24 -#, fuzzy -msgid "_Export" -msgstr "_Exportieren" +#: uberwriter/UberwriterWindow.py:477 +msgid "Save now" +msgstr "Jetzt speichern" -#: data/ui/Menu.ui:28 -#, fuzzy -msgid "Copy HTML" -msgstr "Kopieren" +#: uberwriter/UberwriterWindow.py:478 +msgid "Unsaved changes" +msgstr "Ungespeicherte Änderungen" -#: data/ui/Menu.ui:34 -msgid "Open Tutorial" -msgstr "" +#: uberwriter/UberwriterWindow.py:537 +msgid "You can not enable the Spell Checker." +msgstr "Die Rechtschreib-Korrektur konnte nicht aktiviert werden." -#: data/ui/Menu.ui:39 +#. Direkte Rede vermeiden +#: uberwriter/UberwriterWindow.py:540 +msgid "Please install 'hunspell' or 'aspell' dictionarys for your language from the software center." +msgstr "Bitte die Pakete 'hunspell' oder 'aspell' für die gewünschte Sprache aus dem Software-Center installieren." + +#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 +msgid "Dark mode" +msgstr "Abgedunkelter Modus" + +#: 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 "Wenn aktiviert, wird der dunkle Modus verwendet. Andernfalls wird der helle Modus aktiviert." + +#. win.change_label +#. String 1 +#: data/ui/App_menu.ui:10 +msgid "New window" +msgstr "Neues Fenster" + +#: data/ui/Menu.ui:53 +msgid "_Shortcuts" +msgstr "_Tastenkürzel" + +#: data/ui/Menu.ui:49 msgid "Pandoc _Help" msgstr "Pandoc _Hilfe" -#: data/ui/Menu.ui:44 data/ui/Preferences.ui:14 -msgid "Preferences" -msgstr "" +#: data/ui/Menu.ui:59 +msgid "_About" +msgstr "_Über" -#: data/ui/Menu.ui:49 -#, fuzzy -#| msgid "_Shortcuts" -msgid "_Keyboard Shortcuts" -msgstr "_Tastenkürzel" - -#: data/ui/Menu.ui:53 -#, fuzzy -#| msgid "UberWriter" -msgid "_About UberWriter" -msgstr "UberWriter" - -#: data/ui/Preferences.ui:45 -#, fuzzy -msgid "Use dark mode" -msgstr "Abgedunkelter Modus" - -#: data/ui/Preferences.ui:56 -#, fuzzy -msgid "Autospellcheck" -msgstr "Rechtschreibprüfung" - -#: data/ui/Preferences.ui:95 -msgid "page 1" -msgstr "" +#: data/ui/Menu.ui:62 +msgid "_Quit" +msgstr "_Beenden" #: data/ui/Shortcuts.ui:13 msgctxt "shortcut window" @@ -289,19 +439,16 @@ msgid "Quit" msgstr "Beenden" #: data/ui/Shortcuts.ui:52 -#, fuzzy msgctxt "shortcut window" msgid "Focus mode" msgstr "Fokusmodus" #: data/ui/Shortcuts.ui:59 -#, fuzzy msgctxt "shortcut window" msgid "Fullscreen" msgstr "Vollbildmodus" #: data/ui/Shortcuts.ui:66 -#, fuzzy msgctxt "shortcut window" msgid "Preview" msgstr "Vorschau" @@ -312,10 +459,9 @@ msgid "Search" msgstr "Suchen" #: data/ui/Shortcuts.ui:82 -#, fuzzy msgctxt "shortcut window" msgid "Editor" -msgstr "_Bearbeiten" +msgstr "Editor" #: data/ui/Shortcuts.ui:86 msgctxt "shortcut window" @@ -323,7 +469,6 @@ msgid "Separator" msgstr "Trennzeichen" #: data/ui/Shortcuts.ui:93 -#, fuzzy msgctxt "shortcut window" msgid "List item" msgstr "Listeneintrag" @@ -339,7 +484,6 @@ msgid "Bold" msgstr "Fett" #: data/ui/Shortcuts.ui:114 -#, fuzzy msgctxt "shortcut window" msgid "Header" msgstr "Überschrift" @@ -364,193 +508,95 @@ msgctxt "shortcut window" msgid "Select all" msgstr "Alle auswählen" -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalisieren" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Enfernt doppelte Leerzeichen oder Leerzeichen am Anfang eines Paragraphs" - #: data/ui/UberwriterWindow.ui:19 msgid "Next Match" msgstr "Nächster Treffer" -#: data/ui/UberwriterWindow.ui:36 +#: data/ui/UberwriterWindow.ui:41 #, fuzzy msgid "Open Replace" msgstr "Zuletzt benutzte Datei öffnen" -#: data/ui/UberwriterWindow.ui:96 -msgid "Words:" -msgstr "Wörter:" +#: data/ui/UberwriterWindow.ui:52 +msgid "Activate Regex" +msgstr "Regex aktivieren" -#: data/ui/UberwriterWindow.ui:139 -msgid "Characters:" -msgstr "Zeichen:" +#: data/ui/UberwriterWindow.ui:74 +msgid "_New" +msgstr "_Neu" -#: data/ui/UberwriterWindow.ui:279 +#: data/ui/UberwriterWindow.ui:84 +msgid "_Open" +msgstr "_Öffnen" + +#: data/ui/UberwriterWindow.ui:102 +#, fuzzy +msgid "Open examples" +msgstr "Eine .md-Datei öffnen" + +#: data/ui/UberwriterWindow.ui:114 +msgid "_Quick markdown tutorial" +msgstr "Kurzes Markdown Tutorial (englisch)" + +#: data/ui/UberwriterWindow.ui:131 +msgid "_Save" +msgstr "_Speichern" + +#: data/ui/Menu.ui:24 +msgid "Save _As" +msgstr "Speichern _Unter" + +#: data/ui/UberwriterWindow.ui:157 +msgid "Export as HTML" +msgstr "Als HTML exportieren" + +#: data/ui/UberwriterWindow.ui:166 +msgid "Export as PDF" +msgstr "Als PDF exportieren" + +#: data/ui/UberwriterWindow.ui:201 +msgid "Copy Raw HTML to Clipboard" +msgstr "Rohes HTML in die Zwischenablage kopieren" + +#: data/ui/UberwriterWindow.ui:254 +msgid "Sidebar" +msgstr "Seitenleiste" + +#: data/ui/UberwriterWindow.ui:270 +msgid "Open Search and Replace" +msgstr "Suchen & Ersetzen öffnen" + +#: data/ui/UberwriterWindow.ui:271 +msgid "Search and Replace ..." +msgstr "Suchen & Ersetzen ..." + +#: data/ui/UberwriterWindow.ui:295 msgid "Previous Match" msgstr "Vorheriger Treffer" -#: data/ui/UberwriterWindow.ui:320 -msgid "aA" -msgstr "" - -#: data/ui/UberwriterWindow.ui:324 +#: data/ui/UberwriterWindow.ui:339 msgid "Case Sensitive" msgstr "Berücksichtigung von Groß- und Kleinschreibung" -#: data/ui/UberwriterWindow.ui:334 -msgid "(.*)" -msgstr "" - -#: data/ui/UberwriterWindow.ui:427 +#: data/ui/UberwriterWindow.ui:443 msgid "Replace" msgstr "Ersetzen" -#: data/ui/UberwriterWindow.ui:441 +#: data/ui/UberwriterWindow.ui:457 msgid "Replace all" msgstr "Alle Ersetzen" -#: uberwriter/FormatShortcuts.py:99 -msgid "emphasized text" -msgstr "kursiver Text" - -#: uberwriter/FormatShortcuts.py:101 -msgid "strong text" -msgstr "fettgedruckter Text" - -#: uberwriter/FormatShortcuts.py:103 +#: uberwriter/FormatShortcuts.py:91 msgid "striked out text" msgstr "durchgestrichener Text" -#: uberwriter/FormatShortcuts.py:121 -msgid "List item" -msgstr "Listeneintrag" +#: 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 "Bezeichnung" -#: uberwriter/FormatShortcuts.py:181 -msgid "Heading" -msgstr "Überschrift" - -#: 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/UberwriterInlinePreview.py:183 -msgid "Website is not available" -msgstr "Webseite nicht erreichbar" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is available" -msgstr "Webseite erreichbar" - -#: uberwriter/UberwriterInlinePreview.py:435 -msgid "Open Link in Webbrowser" -msgstr "Link im Browser öffnen" - -#: uberwriter/UberwriterInlinePreview.py:500 -msgid "No matching footnote found" -msgstr "Keine zugehörige Fussnote gefunden" - -#: uberwriter/UberwriterWindow.py:572 -msgid "Save your File" -msgstr "Datei speichern" - -#: uberwriter/UberwriterWindow.py:678 -msgid "MarkDown or Plain Text" -msgstr "MarkDown oder unformatierter Text" - -#: uberwriter/UberwriterWindow.py:681 -msgid "Open a .md-File" -msgstr ".md-Datei öffnen" - -#: uberwriter/UberwriterWindow.py:706 -msgid "You have not saved your changes." -msgstr "Sie haben ihre Änderungen nicht gespeichert." - -#: uberwriter/UberwriterWindow.py:708 -msgid "Close without Saving" -msgstr "Schließen, ohne zu speichern" - -#: uberwriter/UberwriterWindow.py:709 -msgid "Cancel" -msgstr "Abbrechen" - -#: uberwriter/UberwriterWindow.py:710 -msgid "Save now" -msgstr "Jetzt speichern" - -#: uberwriter/UberwriterWindow.py:711 -msgid "Unsaved changes" -msgstr "Ungespeicherte Änderungen" - -#: uberwriter/UberwriterWindow.py:742 -#, fuzzy -#| msgid "CSS File" -msgid "New File" -msgstr "CSS-Datei" - -#: uberwriter/UberwriterWindow.py:780 -msgid "You can not enable the Spell Checker." -msgstr "Die Rechtschreib-Korrektur konnte nicht aktiviert werden." - -#: uberwriter/UberwriterWindow.py:783 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Bitte die Pakete 'hunspell' oder 'aspell' für die gewünschte Sprache aus dem " -"Software-Center installieren." - -#: uberwriter/headerbars.py:76 -#, fuzzy -msgid "Exit Fullscreen" -msgstr "Vollbildmodus" - -#: uberwriter/headerbars.py:118 -#, fuzzy -msgid "New" -msgstr "Neu" - -#: uberwriter/headerbars.py:119 -#, fuzzy -msgid "Open" -msgstr "Öffnen" - -#: uberwriter/headerbars.py:121 -#, fuzzy -msgid "Save" -msgstr "Speichern" - -#: uberwriter/headerbars.py:128 -#, fuzzy -msgid "Open Recent" -msgstr "Zuletzt benutzte Datei öffnen" - -#: uberwriter/headerbars.py:130 -msgid "Search and replace" -msgstr "Suchen & Ersetzen" - -#: uberwriter/headerbars.py:131 -msgid "Menu" -msgstr "" - -#: uberwriter_lib/AppWindow.py:173 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Debugnachrichten anzeigen (auch \"-vv debugs uberwriter_lib\")" - -#: uberwriter_lib/AppWindow.py:175 +#: uberwriter_lib/AppWindow.py:248 msgid "Use experimental features" msgstr "Experimentelle Funktionen verwenden" @@ -564,9 +610,7 @@ msgstr "Erweiterung \"{}\" hat keine gültige XML-Wörterbuch-Bibliothek" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 msgid "unable to move extension, file with same name exists within move_path" -msgstr "" -"Erweiterung kann nicht verschoben werden, da eine Datei mit demselben Namen " -"in move_pah exisitiert" +msgstr "Erweiterung kann nicht verschoben werden, da eine Datei mit demselben Namen in move_pah exisitiert" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 msgid "unable to move extension, move_path is not a directory" @@ -576,192 +620,139 @@ msgstr "Erweiterung kann nicht verschoben werden, da move_path kein Ordner ist" msgid "Unknown" msgstr "Unbekannt" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(keine Vorschläge)" +#: 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 "\"{}\" zum Wörterbuch hinzufügen" +#: data/de.wolfvollprecht.UberWriter.gschema.xml:19 +msgid "Open file paths of the current session" +msgstr "Öffne Dateipfade der aktuellen Sitzung" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Alle Ignorieren" +#: 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 "Sprachauswahl" +#: data/ui/App_menu.ui:40 +msgid "Donate to the project" +msgstr "An das Projekt Spenden" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Vorschläge" +#: data/ui/WindowMenu.ui:24 +msgid "Search and Replace" +msgstr "Suchen und Ersetzen" -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, ein einfacher, ablenkungsfreier Markdown Editor" +#: data/ui/About.ui:12 +msgid "Copyright (C) 2018, Wolf Vollprecht" +msgstr "Copyright (C) 2018, Wolf Vollprecht" -#~ msgid "_File" -#~ msgstr "_Datei" +#: data/ui/About.ui:14 +msgid "Uberwriter website" +msgstr "UberWriter Webseite" -#~ msgid "Open Recent File" -#~ msgstr "Zuletzt benutzte Datei öffnen" +#: data/ui/About.ui:60 +msgid "Donations:" +msgstr "Spenden:" -#~ msgid "Export as ODT" -#~ msgstr "Als ODT exportieren" +#: data/ui/About.ui:69 +msgid "Liberapay" +msgstr "Liberapay" -#~ msgid "Advanced Export..." -#~ msgstr "Erweiterter Export" +#: data/ui/About.ui:100 +msgid "Help to translate:" +msgstr "" -#~ msgid "Copy raw HTML to clipboard" -#~ msgstr "Rohes HTML in die Zwischenablage kopieren" +#: data/ui/About.ui:109 +msgid "Poeditor" +msgstr "Poeditor" -#~ msgid "_Edit" -#~ msgstr "_Bearbeiten" +#: data/ui/Export.ui:559 data/ui/Export.ui:569 +msgid "PDF" +msgstr "PDF" -#~ msgid "_View" -#~ msgstr "_Ansicht" +#: data/ui/Export.ui:582 +msgid "HTML" +msgstr "HTML" -#~ msgid "Light text on a dark background" -#~ msgstr "Heller Text auf dunklem Hintergrund" - -#~ msgid "Dark Mode" -#~ msgstr "Abgedunkelter Modus" - -#~ msgid "Switch to preview mode" -#~ msgstr "In den Vorschaumodus wechseln" - -#~ msgid "Auto _Spellcheck" -#~ msgstr "Rechtschreibprüfung" - -#~ msgid "F_ormat" -#~ msgstr "F_ormatieren" - -#~ msgid "Unordered List Item" -#~ msgstr "Element einer ungeordneten Liste" - -#~ msgid "Horizontal Rule" -#~ msgstr "Horizontale Linie" - -#~ msgid "_Help" -#~ msgstr "_Hilfe" - -#~ msgid "Contents" -#~ msgstr "Inhalte" - -#~ msgid "Short Markdown Tutorial" -#~ msgstr "Kurzes Markdown Tutorial (englisch)" - -#~ msgid "Open Pandoc Online Markdown Help ..." -#~ msgstr "Pandoc Online Markdown Hilfe Öffnen" - -#~ msgid "Get Help Online..." -#~ msgstr "Online Hilfe erhalten" - -#~ msgid "Translate This Application..." -#~ msgstr "Diese Anwendung übersetzen..." - -#~ msgid "Go into focus mode" -#~ msgstr "In Fokusmodus wechseln" - -#~ msgid "Go into fullscreen mode" -#~ msgstr "In Vollbildmodus wechseln" - -#~ msgid "Show HTML preview" -#~ msgstr "HTML Vorschau ansehen" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \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 .\n" -#~ msgstr "" -#~ "#Copyright (C) 2012, Wolf Vollprecht \n" -#~ "#\n" -#~ "#Dieses Programm ist freie Software. Sie können es unter den Bedingungen " -#~ "der #GNU General Public License, wie von der Free Software Foundation " -#~ "veröffentlicht, #weitergeben und/oder modifizieren, entweder gemäß " -#~ "Version 3 der Lizenz oder #nach Ihrer Option) jeder späteren Version.\n" -#~ "#\n" -#~ "#Die Veröffentlichung dieses Programms erfolgt in der Hoffnung, daß es " -#~ "Ihnen von #Nutzen sein wird, aber OHNE IRGENDEINE GARANTIE, sogar ohne " -#~ "die implizite #Garantie der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN " -#~ "#BESTIMMTEN ZWECK. Details finden Sie in der GNU General Public License.\n" -#~ "#\n" -#~ "#Sie sollten ein Exemplar der GNU General Public License zusammen mit " -#~ "diesem #Programm erhalten haben. Falls nicht, siehe .\n" -#~ "\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " - -#~ msgid "You can not export to PDF." -#~ msgstr "PDF-Export nicht möglich" - -#~ msgid "" -#~ "Please install texlive from the software " -#~ "center." -#~ msgstr "" -#~ "Bitte das Paket texlive aus dem Software-" -#~ "Center installieren" - -#~ msgid "New window" -#~ msgstr "Neues Fenster" - -#~ msgid "_About" -#~ msgstr "_Über" - -#~ msgid "_Quit" -#~ msgstr "_Beenden" - -#~ msgid "Activate Regex" -#~ msgstr "Regex aktivieren" - -#~ msgid "_New" -#~ msgstr "_Neu" - -#~ msgid "_Open" -#~ msgstr "_Öffnen" +#: data/ui/Export.ui:595 +msgid "ODT" +msgstr "ODT" +#: data/ui/Export.ui:607 #, fuzzy -#~ msgid "Open examples" -#~ msgstr "Eine .md-Datei öffnen" +msgid "Advanced" +msgstr "Erweiterter Export" +#: data/ui/Menu.ui:28 +msgid "_Export" +msgstr "_Exportieren" + +#: data/ui/Menu.ui:32 +msgid "Copy HTML" +msgstr "Kopiere HTML" + +#: data/ui/Menu.ui:38 data/ui/Preferences.ui:14 +msgid "Preferences" +msgstr "Einstellungen" + +#: data/ui/Menu.ui:44 +msgid "Open Tutorial" +msgstr "Öffne Tutorial" + +#: data/ui/Preferences.ui:45 +msgid "Use dark mode" +msgstr "Benutze abgedunkelten Modus" + +#: data/ui/Preferences.ui:56 +msgid "Autospellcheck" +msgstr "Rechtschreibprüfung" + +#. I guess that is in here by mistake? +#: data/ui/Preferences.ui:95 +msgid "page 1" +msgstr "Seite 1" + +#: uberwriter/UberwriterExportDialog.py:48 +msgid "Untitled document.md" +msgstr "Unbenanntes Dokument.md" + +#: 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 "Bitte installieren Sie TexLive von ihrer Distribution." + +#: uberwriter/UberwriterWindow.py:894 uberwriter/UberwriterWindow.py:943 #, fuzzy -#~ msgid "_Quick markdown tutorial" -#~ msgstr "Kurzes Markdown Tutorial (englisch)" +msgid "New" +msgstr "Neu" -#~ msgid "_Save" -#~ msgstr "_Speichern" +#: uberwriter/UberwriterWindow.py:895 uberwriter/UberwriterWindow.py:944 +#, fuzzy +msgid "Open" +msgstr "Öffnen" -#~ msgid "Export as HTML" -#~ msgstr "Als HTML exportieren" +#: uberwriter/UberwriterWindow.py:899 uberwriter/UberwriterWindow.py:946 +#: uberwriter/UberwriterWindow.py:949 +#, fuzzy +msgid "Open Recent" +msgstr "Zuletzt benutzte Datei öffnen" -#~ msgid "Export as PDF" -#~ msgstr "Als PDF exportieren" +#: uberwriter/UberwriterWindow.py:901 uberwriter/UberwriterWindow.py:951 +#, fuzzy +msgid "Save" +msgstr "Speichern" -#~ msgid "Copy Raw HTML to Clipboard" -#~ msgstr "Rohes HTML in die Zwischenablage kopieren" +#: uberwriter/UberwriterWindow.py:904 uberwriter/UberwriterWindow.py:954 +msgid "Search and replace" +msgstr "Suchen & Ersetzen" -#~ msgid "Sidebar" -#~ msgstr "Seitenleiste" +#: uberwriter/UberwriterWindow.py:906 uberwriter/UberwriterWindow.py:956 +msgid "Menu" +msgstr "Menü" -#~ msgid "Open Search and Replace" -#~ msgstr "Suchen & Ersetzen öffnen" +#: uberwriter/UberwriterWindow.py:961 +msgid "Exit Fullscreen" +msgstr "Vollbildmodus verlassen" -#~ msgid "Search and Replace ..." -#~ msgstr "Suchen & Ersetzen ..." diff --git a/po/de/LC_MESSAGES/uberwriter.mo b/po/de/LC_MESSAGES/uberwriter.mo index 8ff76f6..879ce1e 100644 Binary files a/po/de/LC_MESSAGES/uberwriter.mo and b/po/de/LC_MESSAGES/uberwriter.mo differ diff --git a/po/en_GB/LC_MESSAGES/uberwriter-en_GB.mo b/po/en_GB/LC_MESSAGES/uberwriter-en_GB.mo deleted file mode 100644 index f1d0e53..0000000 Binary files a/po/en_GB/LC_MESSAGES/uberwriter-en_GB.mo and /dev/null differ diff --git a/po/en_GB/LC_MESSAGES/uberwriter-en_GB.po b/po/en_GB/LC_MESSAGES/uberwriter-en_GB.po index 637990f..030222c 100644 --- a/po/en_GB/LC_MESSAGES/uberwriter-en_GB.po +++ b/po/en_GB/LC_MESSAGES/uberwriter-en_GB.po @@ -1,63 +1,196 @@ 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: en_GB\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: en-gb\n" -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -msgid "Dark mode" -msgstr "Dark Mode" +#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 +msgid "(no suggestions)" +msgstr "(no suggestions)" -#: 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 "Add '{}' to Dictionary" -#: 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 "Ignore All" -#: 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 "Languages" -#: data/ui/About.ui:12 -#, fuzzy -msgid "Copyright (C) 2018, Wolf Vollprecht" -msgstr "Copyright (C) 2012, Wolf Vollprecht " +#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 +msgid "Suggestions" +msgstr "Suggestions" -#: 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:" -msgstr "" +#: ../uberwriter.desktop.in.h:2 +msgid "UberWriter, a simple and distraction free Markdown Editor" +msgstr "UberWriter, a simple and distraction free Markdown Editor" -#: data/ui/About.ui:75 -msgid "Liberapay" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:187 +msgid "Website is not available" +msgstr "Website is not available" -#: data/ui/About.ui:106 -msgid "Help to translate:" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:189 +msgid "Website is available" +msgstr "Website is available" -#: data/ui/About.ui:115 -#, fuzzy -msgid "Poeditor" +#: uberwriter/UberwriterInlinePreview.py:441 +msgid "Open Link in Webbrowser" +msgstr "Open Link in Web Browser" + +#: uberwriter/UberwriterInlinePreview.py:503 +msgid "No matching footnote found" +msgstr "No matching footnote found" + +#: data/ui/UberwriterWindow.ui:66 +msgid "_File" +msgstr "_File" + +#: data/ui/UberwriterWindow.ui:96 +msgid "Open Recent File" +msgstr "Open Recent File" + +#: data/ui/UberwriterWindow.ui:175 +msgid "Export as ODT" +msgstr "Export as ODT" + +#: data/ui/UberwriterWindow.ui:186 +msgid "Advanced Export..." +msgstr "Advanced Export…" + +#: ../data/ui/UberwriterWindow.ui.h:5 +msgid "Copy raw HTML to clipboard" +msgstr "Copy raw HTML to clipboard" + +#: ../data/ui/UberwriterWindow.ui.h:6 +msgid "_Edit" msgstr "_Edit" +#: data/ui/UberwriterWindow.ui:229 +msgid "_View" +msgstr "_View" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Light text on a dark background" +msgstr "Light text on a dark background" + +#: data/ui/WindowMenu.ui:14 +msgid "Dark Mode" +msgstr "Dark Mode" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Switch to preview mode" +msgstr "Switch to preview mode" + +#: data/ui/Menu.ui:12 +msgid "Preview" +msgstr "Preview" + +#: data/ui/UberwriterWindow.ui:298 data/ui/WindowMenu.ui:28 +msgid "Auto _Spellcheck" +msgstr "Auto _Spellcheck" + +#: ../data/ui/UberwriterWindow.ui.h:13 +msgid "F_ormat" +msgstr "F_ormat" + +#: ../data/ui/UberwriterWindow.ui.h:14 +msgid "Unordered List Item" +msgstr "Unordered List Item" + +#: ../data/ui/UberwriterWindow.ui.h:15 +msgid "Horizontal Rule" +msgstr "Horizontal Rule" + +#: uberwriter/FormatShortcuts.py:186 +msgid "Heading" +msgstr "Heading" + +#: data/ui/UberwriterWindow.ui:312 +msgid "_Help" +msgstr "_Help" + +#: data/ui/UberwriterWindow.ui:322 +msgid "Contents" +msgstr "Contents" + +#: data/ui/UberwriterWindow.ui:335 +msgid "Short Markdown Tutorial" +msgstr "Short Markdown Tutorial" + +#: data/ui/UberwriterWindow.ui:343 +msgid "Open Pandoc Online Markdown Help ..." +msgstr "Open Pandoc Online Markdown Help…" + +#: ../data/ui/UberwriterWindow.ui.h:21 +msgid "Get Help Online..." +msgstr "Get Help Online…" + +#: data/ui/UberwriterWindow.ui:359 +msgid "Translate This Application..." +msgstr "Translate This Application…" + +#: data/ui/Menu.ui:7 +msgid "Focus Mode" +msgstr "Focus Mode" + +#: data/ui/UberwriterWindow.ui:424 data/ui/UberwriterWindow.ui:425 +msgid "Go into focus mode" +msgstr "Go into focus mode" + +#: data/ui/Menu.ui:17 +msgid "Fullscreen" +msgstr "Fullscreen" + +#: data/ui/UberwriterWindow.ui:442 data/ui/UberwriterWindow.ui:443 +msgid "Go into fullscreen mode" +msgstr "Go into fullscreen mode" + +#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 +msgid "Show HTML preview" +msgstr "Show HTML preview" + +#: data/ui/UberwriterWindow.ui:112 +msgid "Words:" +msgstr "Words:" + +#: data/ui/UberwriterWindow.ui:155 +msgid "Characters:" +msgstr "Characters:" + +#: uberwriter_lib/AppWindow.py:246 +msgid "Show debug messages (-vv debugs uberwriter_lib also)" +msgstr "Show debug messages (-vv debugs uberwriter_lib also)" + +#: uberwriter/FormatShortcuts.py:87 +msgid "emphasized text" +msgstr "emphasised text" + +#: uberwriter/FormatShortcuts.py:89 +msgid "strong text" +msgstr "strong text" + +#: uberwriter/FormatShortcuts.py:105 +msgid "List item" +msgstr "List item" + +#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 +msgid "Export" +msgstr "Export" + #: data/ui/Export.ui:38 data/ui/UberwriterAdvancedExportDialog.ui:98 msgid "Smart" msgstr "Smart" @@ -66,6 +199,14 @@ msgstr "Smart" msgid "Pandoc can automatically make \"--\" to a long dash and more" msgstr "Pandoc can automatically make '--' to a long dash and more" +#: data/ui/UberwriterAdvancedExportDialog.ui:117 +msgid "Normalize" +msgstr "Normalise" + +#: data/ui/UberwriterAdvancedExportDialog.ui:122 +msgid "Removes things like double spaces or spaces at the beginning of a paragraph" +msgstr "Removes things like double spaces or spaces at the beginning of a paragraph" + #: data/ui/Export.ui:56 data/ui/UberwriterAdvancedExportDialog.ui:135 msgid "Table of Contents" msgstr "Table of Contents" @@ -75,12 +216,8 @@ msgid "Standalone" msgstr "Stand-alone" #: 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 "" -"Use a header and footer to include things like stylesheets and meta " -"information" +msgid "Use a header and footer to include things like stylesheets and meta information" +msgstr "Use a header and footer to include things like stylesheets and meta information" #: data/ui/Export.ui:90 data/ui/UberwriterAdvancedExportDialog.ui:171 msgid "Number Sections" @@ -124,21 +261,13 @@ msgstr "Highlight style " msgid "Syntax highlighting (HTML, LaTeX)" msgstr "Syntax highlighting (HTML, LaTeX)" -#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Bibliography File" - #: data/ui/Export.ui:329 data/ui/UberwriterAdvancedExportDialog.ui:371 msgid "Self Contained" msgstr "Self Contained" #: 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 "" -"Produces a HTML that has no external dependencies (all images and " -"stylesheets are included)" +msgid "Produces a HTML that has no external dependencies (all images and stylesheets are included)" +msgstr "Produces a HTML that has no external dependencies (all images and stylesheets are included)" #: data/ui/Export.ui:346 data/ui/UberwriterAdvancedExportDialog.ui:389 msgid "HTML 5" @@ -162,98 +291,123 @@ msgstr "CSS File" msgid "HTML Options" msgstr "HTML Options" +#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 +msgid "Bibliography File" +msgstr "Bibliography File" + #: data/ui/Export.ui:423 data/ui/UberwriterAdvancedExportDialog.ui:510 msgid "Commandline Reference" msgstr "Commandline Reference" -#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Export" +#: ../data/ui/AboutUberwriterDialog.ui.h:1 +msgid "# Copyright (C) 2012, Wolf Vollprecht \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 .\n" +"" +msgstr "# Copyright (C) 2012, Wolf Vollprecht \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 .\n" +"" -#: data/ui/Export.ui:559 data/ui/Export.ui:569 -msgid "PDF" -msgstr "" +#: ../data/ui/AboutUberwriterDialog.ui.h:14 +msgid "Copyright (C) 2012, Wolf Vollprecht " +msgstr "Copyright (C) 2012, Wolf Vollprecht " -#: 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/UberwriterWindow.py:347 +msgid "Save your File" +msgstr "Save your file" -#: data/ui/Export.ui:582 -#, fuzzy -msgid "HTML" -msgstr "HTML 5" +#: uberwriter/UberwriterWindow.py:490 +msgid "You can not export to PDF." +msgstr "You can not export to PDF." -#: data/ui/Export.ui:595 -msgid "ODT" -msgstr "" +#: uberwriter/UberwriterWindow.py:492 +msgid "Please install texlive from the software center." +msgstr "Please install texlive from the software center." -#: data/ui/Export.ui:607 -#, fuzzy -msgid "Advanced" -msgstr "Advanced Export…" +#: uberwriter/UberwriterWindow.py:448 +msgid "MarkDown or Plain Text" +msgstr "MarkDown or Plain Text" -#: data/ui/Menu.ui:6 -msgid "Focus Mode" -msgstr "Focus Mode" +#: uberwriter/UberwriterWindow.py:451 +msgid "Open a .md-File" +msgstr "Open a .md-File" -#: data/ui/Menu.ui:10 -msgid "Preview" -msgstr "Preview" +#: uberwriter/UberwriterWindow.py:473 +msgid "You have not saved your changes." +msgstr "You have not saved your changes." -#: data/ui/Menu.ui:14 -msgid "Fullscreen" -msgstr "Fullscreen" +#: uberwriter/UberwriterWindow.py:475 +msgid "Close without Saving" +msgstr "Close without saving" -#: data/ui/Menu.ui:20 -#, fuzzy -msgid "Save _As" +#: uberwriter/UberwriterWindow.py:476 +msgid "Cancel" +msgstr "Cancel" + +#: uberwriter/UberwriterWindow.py:477 +msgid "Save now" msgstr "Save now" -#: data/ui/Menu.ui:24 +#: uberwriter/UberwriterWindow.py:478 +msgid "Unsaved changes" +msgstr "Unsaved changes" + +#: uberwriter/UberwriterWindow.py:537 +msgid "You can not enable the Spell Checker." +msgstr "You can not enable the Spell Checker." + +#: uberwriter/UberwriterWindow.py:540 +msgid "Please install 'hunspell' or 'aspell' dictionarys for your language from the software center." +msgstr "Please install 'hunspell' or 'aspell' dictionaries for your language from the software center." + +#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 #, fuzzy -msgid "_Export" -msgstr "Export" +msgid "Dark mode" +msgstr "Dark Mode" -#: 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" +#. win.change_label +#. String 1 +#: 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 "Dark Mode" +#: data/ui/Menu.ui:49 +msgid "Pandoc _Help" +msgstr "" -#: data/ui/Preferences.ui:56 -#, fuzzy -msgid "Autospellcheck" -msgstr "Auto _Spellcheck" +#: 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,193 +518,102 @@ msgctxt "shortcut window" msgid "Select all" msgstr "" -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normalise" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Removes things like double spaces or spaces at the beginning of a paragraph" - #: data/ui/UberwriterWindow.ui:19 msgid "Next Match" msgstr "" -#: data/ui/UberwriterWindow.ui:36 +#: data/ui/UberwriterWindow.ui:41 #, fuzzy msgid "Open Replace" msgstr "Open Recent File" -#: data/ui/UberwriterWindow.ui:96 -msgid "Words:" -msgstr "Words:" +#: data/ui/UberwriterWindow.ui:52 +msgid "Activate Regex" +msgstr "" -#: data/ui/UberwriterWindow.ui:139 -msgid "Characters:" -msgstr "Characters:" +#: 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 "Open a .md-File" + +#: data/ui/UberwriterWindow.ui:114 +#, fuzzy +msgid "_Quick markdown tutorial" +msgstr "Short Markdown Tutorial" + +#: data/ui/UberwriterWindow.ui:131 +#, fuzzy +msgid "_Save" +msgstr "Save now" + +#: data/ui/Menu.ui:24 +#, fuzzy +msgid "Save _As" +msgstr "Save now" + +#: data/ui/UberwriterWindow.ui:157 +#, fuzzy +msgid "Export as HTML" +msgstr "Export as ODT" + +#: data/ui/UberwriterWindow.ui:166 +#, fuzzy +msgid "Export as PDF" +msgstr "Export as ODT" + +#: data/ui/UberwriterWindow.ui:201 +#, fuzzy +msgid "Copy Raw HTML to Clipboard" +msgstr "Copy raw HTML to clipboard" + +#: 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 "emphasised text" - -#: uberwriter/FormatShortcuts.py:101 -msgid "strong text" -msgstr "strong text" - -#: uberwriter/FormatShortcuts.py:103 +#: uberwriter/FormatShortcuts.py:91 #, fuzzy msgid "striked out text" msgstr "strong text" -#: uberwriter/FormatShortcuts.py:121 -msgid "List item" -msgstr "List item" - -#: uberwriter/FormatShortcuts.py:181 -msgid "Heading" -msgstr "Heading" - -#: 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 "Website is not available" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is available" -msgstr "Website is available" - -#: uberwriter/UberwriterInlinePreview.py:435 -msgid "Open Link in Webbrowser" -msgstr "Open Link in Web Browser" - -#: uberwriter/UberwriterInlinePreview.py:500 -msgid "No matching footnote found" -msgstr "No matching footnote found" - -#: uberwriter/UberwriterWindow.py:572 -msgid "Save your File" -msgstr "Save your file" - -#: uberwriter/UberwriterWindow.py:678 -msgid "MarkDown or Plain Text" -msgstr "MarkDown or Plain Text" - -#: uberwriter/UberwriterWindow.py:681 -msgid "Open a .md-File" -msgstr "Open a .md-File" - -#: uberwriter/UberwriterWindow.py:706 -msgid "You have not saved your changes." -msgstr "You have not saved your changes." - -#: uberwriter/UberwriterWindow.py:708 -msgid "Close without Saving" -msgstr "Close without saving" - -#: uberwriter/UberwriterWindow.py:709 -msgid "Cancel" -msgstr "Cancel" - -#: uberwriter/UberwriterWindow.py:710 -msgid "Save now" -msgstr "Save now" - -#: uberwriter/UberwriterWindow.py:711 -msgid "Unsaved changes" -msgstr "Unsaved changes" - -#: uberwriter/UberwriterWindow.py:742 -#, fuzzy -#| msgid "CSS File" -msgid "New File" -msgstr "CSS File" - -#: uberwriter/UberwriterWindow.py:780 -msgid "You can not enable the Spell Checker." -msgstr "You can not enable the Spell Checker." - -#: uberwriter/UberwriterWindow.py:783 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Please install 'hunspell' or 'aspell' dictionaries for your language from " -"the software center." - -#: uberwriter/headerbars.py:76 -#, fuzzy -msgid "Exit Fullscreen" -msgstr "Fullscreen" - -#: uberwriter/headerbars.py:118 -msgid "New" -msgstr "" - -#: uberwriter/headerbars.py:119 -msgid "Open" -msgstr "" - -#: uberwriter/headerbars.py:121 -#, fuzzy -msgid "Save" -msgstr "Save now" - -#: uberwriter/headerbars.py:128 -#, fuzzy -msgid "Open Recent" -msgstr "Open Recent File" - -#: uberwriter/headerbars.py:130 -#, fuzzy -msgid "Search and replace" -msgstr "Open Recent File" - -#: uberwriter/headerbars.py:131 -msgid "Menu" -msgstr "" - -#: uberwriter_lib/AppWindow.py:173 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Show debug messages (-vv debugs uberwriter_lib also)" - -#: uberwriter_lib/AppWindow.py:175 +#: uberwriter_lib/AppWindow.py:248 msgid "Use experimental features" msgstr "" @@ -574,168 +637,145 @@ msgstr "" msgid "Unknown" msgstr "" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(no suggestions)" +#: 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 "Add '{}' to Dictionary" +#: 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 "Ignore All" +#: 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 "Languages" +#: 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 "Suggestions" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, a simple and distraction free Markdown Editor" - -#~ msgid "_File" -#~ msgstr "_File" - -#~ msgid "Open Recent File" -#~ msgstr "Open Recent File" - -#~ msgid "Export as ODT" -#~ msgstr "Export as ODT" - -#~ msgid "Advanced Export..." -#~ msgstr "Advanced Export…" - -#~ msgid "Copy raw HTML to clipboard" -#~ msgstr "Copy raw HTML to clipboard" - -#~ msgid "_Edit" -#~ msgstr "_Edit" - -#~ msgid "_View" -#~ msgstr "_View" - -#~ msgid "Light text on a dark background" -#~ msgstr "Light text on a dark background" - -#~ msgid "Dark Mode" -#~ msgstr "Dark Mode" - -#~ msgid "Switch to preview mode" -#~ msgstr "Switch to preview mode" - -#~ msgid "Auto _Spellcheck" -#~ msgstr "Auto _Spellcheck" - -#~ msgid "F_ormat" -#~ msgstr "F_ormat" - -#~ msgid "Unordered List Item" -#~ msgstr "Unordered List Item" - -#~ msgid "Horizontal Rule" -#~ msgstr "Horizontal Rule" - -#~ msgid "_Help" -#~ msgstr "_Help" - -#~ msgid "Contents" -#~ msgstr "Contents" - -#~ msgid "Short Markdown Tutorial" -#~ msgstr "Short Markdown Tutorial" - -#~ msgid "Open Pandoc Online Markdown Help ..." -#~ msgstr "Open Pandoc Online Markdown Help…" - -#~ msgid "Get Help Online..." -#~ msgstr "Get Help Online…" - -#~ msgid "Translate This Application..." -#~ msgstr "Translate This Application…" - -#~ msgid "Go into focus mode" -#~ msgstr "Go into focus mode" - -#~ msgid "Go into fullscreen mode" -#~ msgstr "Go into fullscreen mode" - -#~ msgid "Show HTML preview" -#~ msgstr "Show HTML preview" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \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 .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \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 .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " - -#~ msgid "You can not export to PDF." -#~ msgstr "You can not export to PDF." - -#~ msgid "" -#~ "Please install texlive from the software " -#~ "center." -#~ msgstr "" -#~ "Please install texlive from the software " -#~ "center." +#: data/ui/WindowMenu.ui:24 +msgid "Search and Replace" +msgstr "" +#: data/ui/About.ui:12 #, fuzzy -#~ msgid "Open examples" -#~ msgstr "Open a .md-File" +msgid "Copyright (C) 2018, Wolf Vollprecht" +msgstr "Copyright (C) 2012, Wolf Vollprecht " +#: data/ui/About.ui:14 #, fuzzy -#~ msgid "_Quick markdown tutorial" -#~ msgstr "Short Markdown Tutorial" +msgid "Uberwriter website" +msgstr "UberWriter" -#, fuzzy -#~ msgid "_Save" -#~ msgstr "Save now" +#: data/ui/About.ui:60 +msgid "Donations:" +msgstr "" -#, fuzzy -#~ msgid "Export as HTML" -#~ msgstr "Export as ODT" +#: data/ui/About.ui:69 +msgid "Liberapay" +msgstr "" -#, fuzzy -#~ msgid "Export as PDF" -#~ msgstr "Export as ODT" +#: data/ui/About.ui:100 +msgid "Help to translate:" +msgstr "" +#: data/ui/About.ui:109 #, fuzzy -#~ msgid "Copy Raw HTML to Clipboard" -#~ msgstr "Copy raw HTML to clipboard" +msgid "Poeditor" +msgstr "_Edit" + +#: 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 "Advanced Export…" + +#: data/ui/Menu.ui:28 +#, fuzzy +msgid "_Export" +msgstr "Export" + +#: 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 "Dark Mode" + +#: data/ui/Preferences.ui:56 +#, fuzzy +msgid "Autospellcheck" +msgstr "Auto _Spellcheck" + +#: 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 "Open Recent File" + +#: uberwriter/UberwriterWindow.py:901 uberwriter/UberwriterWindow.py:951 +#, fuzzy +msgid "Save" +msgstr "Save now" + +#: uberwriter/UberwriterWindow.py:904 uberwriter/UberwriterWindow.py:954 +#, fuzzy +msgid "Search and replace" +msgstr "Open Recent File" + +#: uberwriter/UberwriterWindow.py:906 uberwriter/UberwriterWindow.py:956 +msgid "Menu" +msgstr "" + +#: uberwriter/UberwriterWindow.py:961 +#, fuzzy +msgid "Exit Fullscreen" +msgstr "Fullscreen" + diff --git a/po/en_GB/LC_MESSAGES/uberwriter.mo b/po/en_GB/LC_MESSAGES/uberwriter.mo index f1d0e53..a981e71 100644 Binary files a/po/en_GB/LC_MESSAGES/uberwriter.mo and b/po/en_GB/LC_MESSAGES/uberwriter.mo differ diff --git a/po/es/LC_MESSAGES/uberwriter-es.mo b/po/es/LC_MESSAGES/uberwriter-es.mo deleted file mode 100644 index 712d3f0..0000000 Binary files a/po/es/LC_MESSAGES/uberwriter-es.mo and /dev/null differ diff --git a/po/es/LC_MESSAGES/uberwriter-es.po b/po/es/LC_MESSAGES/uberwriter-es.po index 250591f..c23b517 100644 --- a/po/es/LC_MESSAGES/uberwriter-es.po +++ b/po/es/LC_MESSAGES/uberwriter-es.po @@ -1,58 +1,199 @@ 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: Poedit 2.2.1\n" +"Project-Id-Version: UberWriter\n" +"Language: es\n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \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 +203,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 +220,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 +265,13 @@ msgstr "Estilo de resaltado " msgid "Syntax highlighting (HTML, LaTeX)" msgstr "Resaltado de sintaxis (HTML, LaTeX)" -#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Archivo de bibliografía" - #: 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 +295,111 @@ msgstr "Archivo CSS" msgid "HTML Options" msgstr "Opciones de HTML" +#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 +msgid "Bibliography File" +msgstr "Archivo de bibliografía" + #: 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 \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 .\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 " +msgstr "Derechos de autor © 2012 Wolf Vollprecht " -#: 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 texlive from the software center." +msgstr "Instale texlive 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 "" + +#. win.change_label +#. String 1 +#: 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 +479,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 +501,241 @@ 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 +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\n" -#~ 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 texlive from the software " -#~ "center." -#~ msgstr "" -#~ "Instale texlive 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" - -#~ 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..." +#: uberwriter/UberwriterWindow.py:961 +msgid "Exit Fullscreen" +msgstr "Salir de pantalla completa" diff --git a/po/es/LC_MESSAGES/uberwriter.mo b/po/es/LC_MESSAGES/uberwriter.mo index 712d3f0..be6d2fd 100644 Binary files a/po/es/LC_MESSAGES/uberwriter.mo and b/po/es/LC_MESSAGES/uberwriter.mo differ diff --git a/po/eu/LC_MESSAGES/uberwriter-eu.mo b/po/eu/LC_MESSAGES/uberwriter-eu.mo deleted file mode 100644 index 5579ad6..0000000 Binary files a/po/eu/LC_MESSAGES/uberwriter-eu.mo and /dev/null differ diff --git a/po/eu/LC_MESSAGES/uberwriter-eu.po b/po/eu/LC_MESSAGES/uberwriter-eu.po index e4d7216..0298e6e 100644 --- a/po/eu/LC_MESSAGES/uberwriter-eu.po +++ b/po/eu/LC_MESSAGES/uberwriter-eu.po @@ -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 " +#: 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 "Syntax highlighting (HTML, LaTeX)" msgstr "Sintaxiaren nabarmentzea (HTML, LaTeX)" -#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Bibliografia-fitxategia" - #: 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 "HTML Options" msgstr "HTML aukerak" +#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 +msgid "Bibliography File" +msgstr "Bibliografia-fitxategia" + #: 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 \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 .\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 " +msgstr "Copyright-a (C) 2012, Wolf Vollprecht " -#: 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 texlive from the software center." +msgstr "Mesedez instalatu texlive 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" +#. win.change_label +#. String 1 +#: 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 " -#~ msgstr "Copyright-a (C) 2012, Wolf Vollprecht " - -#~ msgid "You can not export to PDF." -#~ msgstr "Ezin duzu PDFra esportatu." - -#~ msgid "" -#~ "Please install texlive from the software " -#~ "center." -#~ msgstr "" -#~ "Mesedez instalatu texlive 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 " +#: 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" + diff --git a/po/eu/LC_MESSAGES/uberwriter.mo b/po/eu/LC_MESSAGES/uberwriter.mo index 5579ad6..eb93e3b 100644 Binary files a/po/eu/LC_MESSAGES/uberwriter.mo and b/po/eu/LC_MESSAGES/uberwriter.mo differ diff --git a/po/fr/LC_MESSAGES/uberwriter-fr.mo b/po/fr/LC_MESSAGES/uberwriter-fr.mo deleted file mode 100644 index 886fb69..0000000 Binary files a/po/fr/LC_MESSAGES/uberwriter-fr.mo and /dev/null differ diff --git a/po/fr/LC_MESSAGES/uberwriter-fr.po b/po/fr/LC_MESSAGES/uberwriter-fr.po index 4bcb2c0..a40e2c8 100644 --- a/po/fr/LC_MESSAGES/uberwriter-fr.po +++ b/po/fr/LC_MESSAGES/uberwriter-fr.po @@ -1,66 +1,200 @@ 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: fr\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: Poedit 2.2.1\n" +"Project-Id-Version: UberWriter\n" +"Language: fr\n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -#, fuzzy -msgid "Dark mode" -msgstr "Mode sombre" +#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 +msgid "(no suggestions)" +msgstr "(aucune suggestion)" -#: 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 "" -"S'il est activé, la fenêtre s'affichera avec le thème sombre. Si non, la " -"fenêtre s'affichera avec le thème clair telle qu'elle est lors de " -"l'installation initiale." +#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 +msgid "Add \"{}\" to Dictionary" +msgstr "Ajouter \"{}\" au dictionnaire" -#: 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 "Ignorer tout" -#: 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 "Langues" -#: data/ui/About.ui:12 -#, fuzzy -msgid "Copyright (C) 2018, Wolf Vollprecht" -msgstr "Copyright (C) 2012, Wolf Vollprecht " +#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 +msgid "Suggestions" +msgstr "Suggestions" -#: 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:" -msgstr "" +#: ../uberwriter.desktop.in.h:2 +msgid "UberWriter, a simple and distraction free Markdown Editor" +msgstr "UberWriter, un éditeur Markdown simple et sans distractions" -#: data/ui/About.ui:75 -msgid "Liberapay" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:187 +msgid "Website is not available" +msgstr "Site web indisponible" -#: data/ui/About.ui:106 -msgid "Help to translate:" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:189 +msgid "Website is available" +msgstr "Site web disponible" -#: data/ui/About.ui:115 -#, fuzzy -msgid "Poeditor" +#: uberwriter/UberwriterInlinePreview.py:441 +msgid "Open Link in Webbrowser" +msgstr "Ouvrir le lien dans le navigateur" + +#: uberwriter/UberwriterInlinePreview.py:503 +msgid "No matching footnote found" +msgstr "Aucune note de bas de page correspondante" + +#: data/ui/UberwriterWindow.ui:66 +msgid "_File" +msgstr "_Fichier" + +#: data/ui/UberwriterWindow.ui:96 +msgid "Open Recent File" +msgstr "Ouvrir un document récent" + +#: data/ui/UberwriterWindow.ui:175 +msgid "Export as ODT" +msgstr "Exporter en ODT" + +#: data/ui/UberwriterWindow.ui:186 +msgid "Advanced Export..." +msgstr "Export avancé…" + +#: ../data/ui/UberwriterWindow.ui.h:5 +msgid "Copy raw HTML to clipboard" +msgstr "Copier le HTML brut dans le presse-papiers" + +#: ../data/ui/UberwriterWindow.ui.h:6 +msgid "_Edit" msgstr "_Édition" +#: data/ui/UberwriterWindow.ui:229 +msgid "_View" +msgstr "_Affichage" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Light text on a dark background" +msgstr "Texte clair sur fond sombre" + +#: data/ui/WindowMenu.ui:14 +msgid "Dark Mode" +msgstr "Mode sombre" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Switch to preview mode" +msgstr "Basculer vers l'aperçu" + +#: data/ui/Menu.ui:12 +msgid "Preview" +msgstr "Aperçu" + +#: data/ui/UberwriterWindow.ui:298 data/ui/WindowMenu.ui:28 +msgid "Auto _Spellcheck" +msgstr "Auto _Correction" + +#: ../data/ui/UberwriterWindow.ui.h:13 +msgid "F_ormat" +msgstr "F_ormat" + +#: ../data/ui/UberwriterWindow.ui.h:14 +msgid "Unordered List Item" +msgstr "Liste non ordonnée" + +#: ../data/ui/UberwriterWindow.ui.h:15 +msgid "Horizontal Rule" +msgstr "Ligne horizontale" + +#: uberwriter/FormatShortcuts.py:186 +msgid "Heading" +msgstr "Entête" + +#: data/ui/UberwriterWindow.ui:312 +msgid "_Help" +msgstr "_Aide" + +#: data/ui/UberwriterWindow.ui:322 +msgid "Contents" +msgstr "Table des matières" + +#: data/ui/UberwriterWindow.ui:335 +msgid "Short Markdown Tutorial" +msgstr "Tutoriel Markdown rapide" + +#: data/ui/UberwriterWindow.ui:343 +msgid "Open Pandoc Online Markdown Help ..." +msgstr "Ouvrir l'aide en ligne de Markdown pour Pandoc…" + +#: ../data/ui/UberwriterWindow.ui.h:21 +msgid "Get Help Online..." +msgstr "Obtenir de l'aide en ligne…" + +#: data/ui/UberwriterWindow.ui:359 +msgid "Translate This Application..." +msgstr "Traduire cette application..." + +#: data/ui/Menu.ui:7 +msgid "Focus Mode" +msgstr "Mode focus" + +#: data/ui/UberwriterWindow.ui:424 data/ui/UberwriterWindow.ui:425 +msgid "Go into focus mode" +msgstr "Basculer vers le mode focus" + +#: data/ui/Menu.ui:17 +msgid "Fullscreen" +msgstr "Plein écran" + +#: data/ui/UberwriterWindow.ui:442 data/ui/UberwriterWindow.ui:443 +msgid "Go into fullscreen mode" +msgstr "Basculer vers le mode plein écran" + +#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 +msgid "Show HTML preview" +msgstr "Montrer l'aperçu HTML" + +#: data/ui/UberwriterWindow.ui:112 +msgid "Words:" +msgstr "Mots :" + +#: data/ui/UberwriterWindow.ui:155 +msgid "Characters:" +msgstr "Caractères :" + +#: uberwriter_lib/AppWindow.py:246 +msgid "Show debug messages (-vv debugs uberwriter_lib also)" +msgstr "Montrer les messages de débogage" + +#: uberwriter/FormatShortcuts.py:87 +msgid "emphasized text" +msgstr "surligner le texte" + +#: uberwriter/FormatShortcuts.py:89 +msgid "strong text" +msgstr "texte en gras" + +#: uberwriter/FormatShortcuts.py:105 +msgid "List item" +msgstr "Liste ordonnée" + +#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 +msgid "Export" +msgstr "Exporter" + #: data/ui/Export.ui:38 data/ui/UberwriterAdvancedExportDialog.ui:98 msgid "Smart" msgstr "Intelligente" @@ -69,6 +203,14 @@ msgstr "Intelligente" msgid "Pandoc can automatically make \"--\" to a long dash and more" msgstr "Pandoc peut automatiquement remplacer \"--\" par un tiret long et plus" +#: data/ui/UberwriterAdvancedExportDialog.ui:117 +msgid "Normalize" +msgstr "Normaliser" + +#: data/ui/UberwriterAdvancedExportDialog.ui:122 +msgid "Removes things like double spaces or spaces at the beginning of a paragraph" +msgstr "Supprime par exemple les doubles espaces ou les espaces en début de paragraphe" + #: data/ui/Export.ui:56 data/ui/UberwriterAdvancedExportDialog.ui:135 msgid "Table of Contents" msgstr "Table des matières" @@ -78,12 +220,8 @@ msgid "Standalone" msgstr "Autonome" #: 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 "" -"Utiliser une en-tête et un pied de page pour incorporer les feuilles de " -"styles et les meta informations" +msgid "Use a header and footer to include things like stylesheets and meta information" +msgstr "Utiliser une en-tête et un pied de page pour incorporer les feuilles de styles et les meta informations" #: data/ui/Export.ui:90 data/ui/UberwriterAdvancedExportDialog.ui:171 msgid "Number Sections" @@ -127,21 +265,13 @@ msgstr "Style de coloration " msgid "Syntax highlighting (HTML, LaTeX)" msgstr "Coloration syntaxique (HTML, LaTeX)" -#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "Fichier de bibliographie" - #: data/ui/Export.ui:329 data/ui/UberwriterAdvancedExportDialog.ui:371 msgid "Self Contained" msgstr "Autonome" #: 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 "" -"Génère un HTML sans dépendances externes (toutes les images et styles sont " -"inclus)" +msgid "Produces a HTML that has no external dependencies (all images and stylesheets are included)" +msgstr "Génère un HTML sans dépendances externes (toutes les images et styles sont inclus)" #: data/ui/Export.ui:346 data/ui/UberwriterAdvancedExportDialog.ui:389 msgid "HTML 5" @@ -165,101 +295,124 @@ msgstr "Fichier CSS" msgid "HTML Options" msgstr "Options HTML" +#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 +msgid "Bibliography File" +msgstr "Fichier de bibliographie" + #: data/ui/Export.ui:423 data/ui/UberwriterAdvancedExportDialog.ui:510 msgid "Commandline Reference" msgstr "Référence de Ligne de Commande" -#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" -msgstr "Exporter" - -#: data/ui/Export.ui:559 data/ui/Export.ui:569 -msgid "PDF" +#: ../data/ui/AboutUberwriterDialog.ui.h:1 +msgid "" +"# Copyright (C) 2012, Wolf Vollprecht \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 .\n" msgstr "" +"# Copyright (C) 2012, Wolf Vollprecht \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 .\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 "" +#: ../data/ui/AboutUberwriterDialog.ui.h:14 +msgid "Copyright (C) 2012, Wolf Vollprecht " +msgstr "Copyright (C) 2012, Wolf Vollprecht " -#: data/ui/Export.ui:582 +#: uberwriter/UberwriterWindow.py:347 +msgid "Save your File" +msgstr "Sauvegarder le document" + +#: uberwriter/UberwriterWindow.py:490 +msgid "You can not export to PDF." +msgstr "Impossible d'exporter en PDF." + +#: uberwriter/UberwriterWindow.py:492 +msgid "Please install texlive from the software center." +msgstr "Veuillez installer texlive du software center." + +#: uberwriter/UberwriterWindow.py:448 +msgid "MarkDown or Plain Text" +msgstr "Markdown ou texte brut" + +#: uberwriter/UberwriterWindow.py:451 +msgid "Open a .md-File" +msgstr "Ouvrir un fichier .md" + +#: uberwriter/UberwriterWindow.py:473 +msgid "You have not saved your changes." +msgstr "Vous n'avez pas sauvegardé vos modifications." + +#: uberwriter/UberwriterWindow.py:475 +msgid "Close without Saving" +msgstr "Fermer sans sauvegarder" + +#: uberwriter/UberwriterWindow.py:476 +msgid "Cancel" +msgstr "Annuler" + +#: uberwriter/UberwriterWindow.py:477 +msgid "Save now" +msgstr "Enregistrer maintenant" + +#: uberwriter/UberwriterWindow.py:478 +msgid "Unsaved changes" +msgstr "Modifications non enregistrées" + +#: uberwriter/UberwriterWindow.py:537 +msgid "You can not enable the Spell Checker." +msgstr "Vous ne pouvez pas activer le Correcteur orthographique." + +#: uberwriter/UberwriterWindow.py:540 +msgid "Please install 'hunspell' or 'aspell' dictionarys for your language from the software center." +msgstr "Veuillez installer les dictionnaires 'hunspell' ou 'aspell' pour votre langue depuis le software center." + +#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 #, fuzzy -msgid "HTML" -msgstr "HTML 5" +msgid "Dark mode" +msgstr "Mode sombre" -#: data/ui/Export.ui:595 -msgid "ODT" -msgstr "" +#: 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 "S'il est activé, la fenêtre s'affichera avec le thème sombre. Si non, la fenêtre s'affichera avec le thème clair telle qu'elle est lors de l'installation initiale." -#: data/ui/Export.ui:607 -msgid "Advanced" -msgstr "Export avancé" +#. win.change_label +#. String 1 +#: data/ui/App_menu.ui:10 +msgid "New window" +msgstr "Nouvelle fenêtre" -#: data/ui/Menu.ui:6 -msgid "Focus Mode" -msgstr "Mode focus" +#: data/ui/Menu.ui:53 +msgid "_Shortcuts" +msgstr "_Mots clés" -#: data/ui/Menu.ui:10 -msgid "Preview" -msgstr "Aperçu" - -#: data/ui/Menu.ui:14 -msgid "Fullscreen" -msgstr "Plein écran" - -#: data/ui/Menu.ui:20 -#, fuzzy -msgid "Save _As" -msgstr "Enregistrer comme" - -#: data/ui/Menu.ui:24 -#, fuzzy -msgid "_Export" -msgstr "Exporter" - -#: data/ui/Menu.ui:28 -#, fuzzy -msgid "Copy HTML" -msgstr "Copier" - -#: data/ui/Menu.ui:34 -msgid "Open Tutorial" -msgstr "" - -#: data/ui/Menu.ui:39 +#: data/ui/Menu.ui:49 msgid "Pandoc _Help" msgstr "Aide _Pandoc" -#: data/ui/Menu.ui:44 data/ui/Preferences.ui:14 -msgid "Preferences" -msgstr "" +#: data/ui/Menu.ui:59 +msgid "_About" +msgstr "_À propos" -#: data/ui/Menu.ui:49 -#, fuzzy -#| msgid "_Shortcuts" -msgid "_Keyboard Shortcuts" -msgstr "_Mots clés" - -#: data/ui/Menu.ui:53 -#, fuzzy -#| msgid "UberWriter" -msgid "_About UberWriter" -msgstr "UberWriter" - -#: data/ui/Preferences.ui:45 -#, fuzzy -msgid "Use dark mode" -msgstr "Mode sombre" - -#: data/ui/Preferences.ui:56 -#, fuzzy -msgid "Autospellcheck" -msgstr "_Vérifier l’orthographe" - -#: data/ui/Preferences.ui:95 -msgid "page 1" -msgstr "" +#: data/ui/Menu.ui:62 +msgid "_Quit" +msgstr "_Quitter" #: data/ui/Shortcuts.ui:13 msgctxt "shortcut window" @@ -319,7 +472,7 @@ msgstr "Rechercher" #, fuzzy msgctxt "shortcut window" msgid "Editor" -msgstr "_Édition" +msgstr "Édition" #: data/ui/Shortcuts.ui:86 msgctxt "shortcut window" @@ -368,406 +521,261 @@ msgctxt "shortcut window" msgid "Select all" msgstr "Sélectionner tout" -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "Normaliser" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" -"Supprime par exemple les doubles espaces ou les espaces en début de " -"paragraphe" - #: data/ui/UberwriterWindow.ui:19 msgid "Next Match" msgstr "Suivant" -#: data/ui/UberwriterWindow.ui:36 +#: data/ui/UberwriterWindow.ui:41 #, fuzzy msgid "Open Replace" msgstr "Ouvrir remplacer" -#: data/ui/UberwriterWindow.ui:96 -msgid "Words:" -msgstr "Mots :" +#: data/ui/UberwriterWindow.ui:52 +msgid "Activate Regex" +msgstr "Activer les expressions régulières" -#: data/ui/UberwriterWindow.ui:139 -msgid "Characters:" -msgstr "Caractères :" +#: data/ui/UberwriterWindow.ui:74 +msgid "_New" +msgstr "_Nouveau" -#: data/ui/UberwriterWindow.ui:279 +#: data/ui/UberwriterWindow.ui:84 +msgid "_Open" +msgstr "_Ouvrir" + +#: data/ui/UberwriterWindow.ui:102 +#, fuzzy +msgid "Open examples" +msgstr "Ouvrir les exemples" + +#: data/ui/UberwriterWindow.ui:114 +#, fuzzy +msgid "_Quick markdown tutorial" +msgstr "_Tutoriel Markdown rapide" + +#: data/ui/UberwriterWindow.ui:131 +#, fuzzy +msgid "_Save" +msgstr "_Enregistrer" + +#: data/ui/Menu.ui:24 +#, fuzzy +msgid "Save _As" +msgstr "Enregistrer _Sous" + +#: data/ui/UberwriterWindow.ui:157 +#, fuzzy +msgid "Export as HTML" +msgstr "Exporter en HTML" + +#: data/ui/UberwriterWindow.ui:166 +#, fuzzy +msgid "Export as PDF" +msgstr "Exporter en PDF" + +#: data/ui/UberwriterWindow.ui:201 +#, fuzzy +msgid "Copy Raw HTML to Clipboard" +msgstr "Copier le HTML brut dans le presse-papiers" + +#: data/ui/UberwriterWindow.ui:254 +msgid "Sidebar" +msgstr "Barre de navigation" + +#: data/ui/UberwriterWindow.ui:270 +msgid "Open Search and Replace" +msgstr "Ouvrir Rechercher et remplacer" + +#: data/ui/UberwriterWindow.ui:271 +msgid "Search and Replace ..." +msgstr "Rechercher et remplacer..." + +#: data/ui/UberwriterWindow.ui:295 msgid "Previous Match" -msgstr "" +msgstr "Précédent" -#: data/ui/UberwriterWindow.ui:320 -msgid "aA" -msgstr "" - -#: data/ui/UberwriterWindow.ui:324 +#: data/ui/UberwriterWindow.ui:339 msgid "Case Sensitive" -msgstr "" +msgstr "Sensible à la Casse" -#: data/ui/UberwriterWindow.ui:334 -msgid "(.*)" -msgstr "" - -#: data/ui/UberwriterWindow.ui:427 +#: data/ui/UberwriterWindow.ui:443 msgid "Replace" msgstr "Remplacer" -#: data/ui/UberwriterWindow.ui:441 +#: data/ui/UberwriterWindow.ui:457 msgid "Replace all" -msgstr "" +msgstr "Tout remplacer" -#: uberwriter/FormatShortcuts.py:99 -msgid "emphasized text" -msgstr "surligner le texte" - -#: uberwriter/FormatShortcuts.py:101 -msgid "strong text" -msgstr "texte en gras" - -#: uberwriter/FormatShortcuts.py:103 +#: uberwriter/FormatShortcuts.py:91 #, fuzzy msgid "striked out text" -msgstr "texte en gras" +msgstr "texte barré" -#: uberwriter/FormatShortcuts.py:121 -msgid "List item" -msgstr "Liste ordonnée" +#: 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/FormatShortcuts.py:181 -msgid "Heading" -msgstr "Entête" +#: uberwriter_lib/AppWindow.py:248 +msgid "Use experimental features" +msgstr "Utiliser les fonctions expérimentales" + +#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 +msgid "extension \"{}\" is not a valid ZIP file" +msgstr "l'extension \"{}\" n'est pas un fichier ZIP valide" + +#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 +msgid "extension \"{}\" has no valid XML dictionary registry" +msgstr "l'extension \"{}\" n'est pas un dictionnaire XML valide" + +#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 +msgid "unable to move extension, file with same name exists within move_path" +msgstr "impossible de modifier l'extension, un fichier portant le même nom existe dans la destination" + +#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 +msgid "unable to move extension, move_path is not a directory" +msgstr "impossible de modifier l'extension, la destination n'est pas un dossier" + +#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 +msgid "Unknown" +msgstr "Inconnu" + +#: data/de.wolfvollprecht.UberWriter.gschema.xml:18 +msgid "Open file base path" +msgstr "" + +#: data/de.wolfvollprecht.UberWriter.gschema.xml:19 +msgid "Open file paths of the current session" +msgstr "" + +#: data/ui/App_menu.ui:36 +msgid "Help to _translate" +msgstr "Aider à la _traduction" + +#: data/ui/App_menu.ui:40 +msgid "Donate to the project" +msgstr "Donner au projet" + +#: data/ui/WindowMenu.ui:24 +msgid "Search and Replace" +msgstr "Rechercher et remplacer" + +#: data/ui/About.ui:12 +#, fuzzy +msgid "Copyright (C) 2018, Wolf Vollprecht" +msgstr "Copyright (C) 2018, Wolf Vollprecht" + +#: data/ui/About.ui:14 +#, fuzzy +msgid "Uberwriter website" +msgstr "Site de UberWriter" + +#: data/ui/About.ui:60 +msgid "Donations:" +msgstr "Donations :" + +#: data/ui/About.ui:69 +msgid "Liberapay" +msgstr "" + +#: data/ui/About.ui:100 +msgid "Help to translate:" +msgstr "Aider à la _traduction:" + +#: data/ui/About.ui:109 +msgid "Poeditor" +msgstr "" + +#: data/ui/Export.ui:559 data/ui/Export.ui:569 +msgid "PDF" +msgstr "" + +#: data/ui/Export.ui:582 +msgid "HTML" +msgstr "" + +#: data/ui/Export.ui:595 +msgid "ODT" +msgstr "" + +#: data/ui/Export.ui:607 +msgid "Advanced" +msgstr "Export avancé" + +#: data/ui/Menu.ui:28 +#, fuzzy +msgid "_Export" +msgstr "_Exporter" + +#: data/ui/Menu.ui:32 +#, fuzzy +msgid "Copy HTML" +msgstr "Copier le HTML" + +#: data/ui/Menu.ui:38 data/ui/Preferences.ui:14 +msgid "Preferences" +msgstr "" + +#: data/ui/Menu.ui:44 +msgid "Open Tutorial" +msgstr "Ouvrir le tutoriel" + +#: data/ui/Preferences.ui:45 +#, fuzzy +msgid "Use dark mode" +msgstr "Mode sombre" + +#: data/ui/Preferences.ui:56 +#, fuzzy +msgid "Autospellcheck" +msgstr "Autocorrection" + +#: data/ui/Preferences.ui:95 +msgid "page 1" +msgstr "" #: uberwriter/UberwriterExportDialog.py:48 msgid "Untitled document.md" -msgstr "" +msgstr "Sans titre.md" #: uberwriter/UberwriterExportDialog.py:372 msgid "Please, install the TexLive extension from Gnome Software or running\n" -msgstr "" +msgstr "Veuillez installer l'extension TexLive depuis la logithèque de Gnome\n" #: uberwriter/UberwriterExportDialog.py:375 msgid "Please, install TexLive from your distribuiton repositories" -msgstr "" +msgstr "Veuillez installer l'extension TexLive depuis les dépôts" -#: uberwriter/UberwriterInlinePreview.py:183 -msgid "Website is not available" -msgstr "Site web indisponible" - -#: uberwriter/UberwriterInlinePreview.py:185 -msgid "Website is available" -msgstr "Site web disponible" - -#: uberwriter/UberwriterInlinePreview.py:435 -msgid "Open Link in Webbrowser" -msgstr "Ouvrir le lien dans le navigateur" - -#: uberwriter/UberwriterInlinePreview.py:500 -msgid "No matching footnote found" -msgstr "Aucun note de bas de page correspondante" - -#: uberwriter/UberwriterWindow.py:572 -msgid "Save your File" -msgstr "Sauvegarder le document" - -#: uberwriter/UberwriterWindow.py:678 -msgid "MarkDown or Plain Text" -msgstr "Markdown ou texte brut" - -#: uberwriter/UberwriterWindow.py:681 -msgid "Open a .md-File" -msgstr "Ouvrir un fichier .md" - -#: uberwriter/UberwriterWindow.py:706 -msgid "You have not saved your changes." -msgstr "Vous n'avez pas sauvegardé vos modifications." - -#: uberwriter/UberwriterWindow.py:708 -msgid "Close without Saving" -msgstr "Fermer sans sauvegarder" - -#: uberwriter/UberwriterWindow.py:709 -msgid "Cancel" -msgstr "Annuler" - -#: uberwriter/UberwriterWindow.py:710 -msgid "Save now" -msgstr "Enregistrer maintenant" - -#: uberwriter/UberwriterWindow.py:711 -msgid "Unsaved changes" -msgstr "Modifications non enregistrées" - -#: uberwriter/UberwriterWindow.py:742 -#, fuzzy -#| msgid "CSS File" -msgid "New File" -msgstr "Fichier CSS" - -#: uberwriter/UberwriterWindow.py:780 -msgid "You can not enable the Spell Checker." -msgstr "Vous ne pouvez pas activer le Correcteur orthographique." - -#: uberwriter/UberwriterWindow.py:783 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" -"Veuillez installer les dictionnaires 'hunspell' ou 'aspell' pour votre " -"langue depuis le software center." - -#: uberwriter/headerbars.py:76 -#, fuzzy -msgid "Exit Fullscreen" -msgstr "Plein écran" - -#: uberwriter/headerbars.py:118 +#: uberwriter/UberwriterWindow.py:894 uberwriter/UberwriterWindow.py:943 #, fuzzy msgid "New" msgstr "Nouveau" -#: uberwriter/headerbars.py:119 +#: uberwriter/UberwriterWindow.py:895 uberwriter/UberwriterWindow.py:944 #, fuzzy msgid "Open" msgstr "Ouvrir" -#: uberwriter/headerbars.py:121 -#, fuzzy -msgid "Save" -msgstr "Enregistrer" - -#: uberwriter/headerbars.py:128 +#: uberwriter/UberwriterWindow.py:899 uberwriter/UberwriterWindow.py:946 +#: uberwriter/UberwriterWindow.py:949 #, fuzzy msgid "Open Recent" msgstr "Ouvrir un document récent" -#: uberwriter/headerbars.py:130 +#: uberwriter/UberwriterWindow.py:901 uberwriter/UberwriterWindow.py:951 +#, fuzzy +msgid "Save" +msgstr "Enregistrer" + +#: uberwriter/UberwriterWindow.py:904 uberwriter/UberwriterWindow.py:954 msgid "Search and replace" msgstr "Rechercher et remplacer" -#: uberwriter/headerbars.py:131 +#: uberwriter/UberwriterWindow.py:906 uberwriter/UberwriterWindow.py:956 msgid "Menu" msgstr "" -#: uberwriter_lib/AppWindow.py:173 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "Montrer les messages de débogage" - -#: uberwriter_lib/AppWindow.py:175 -msgid "Use experimental features" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 -msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 -msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 -msgid "unable to move extension, file with same name exists within move_path" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 -msgid "unable to move extension, move_path is not a directory" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:105 -msgid "Unknown" -msgstr "" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "(aucune suggestion)" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "Ajouter \"{}\" au dictionnaire" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "Ignorer tout" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "Langues" - -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "Suggestions" - -#~ msgid "UberWriter, a simple and distraction free Markdown Editor" -#~ msgstr "UberWriter, un éditeur Markdown simple et sans distractions" - -#~ msgid "_File" -#~ msgstr "_Fichier" - -#~ msgid "Open Recent File" -#~ msgstr "Ouvrir un document récent" - -#~ msgid "Export as ODT" -#~ msgstr "Exporter en ODT" - -#~ msgid "Advanced Export..." -#~ msgstr "Export avancé…" - -#~ msgid "Copy raw HTML to clipboard" -#~ msgstr "Copier le HTML brut dans le presse-papiers" - -#~ msgid "_Edit" -#~ msgstr "_Édition" - -#~ msgid "_View" -#~ msgstr "_Affichage" - -#~ msgid "Light text on a dark background" -#~ msgstr "Texte clair sur fond sombre" - -#~ msgid "Dark Mode" -#~ msgstr "Mode sombre" - -#~ msgid "Switch to preview mode" -#~ msgstr "Basculer vers l'aperçu" - -#~ msgid "Auto _Spellcheck" -#~ msgstr "_Vérifier l’orthographe" - -#~ msgid "F_ormat" -#~ msgstr "F_ormat" - -#~ msgid "Unordered List Item" -#~ msgstr "Liste non ordonnée" - -#~ msgid "Horizontal Rule" -#~ msgstr "Ligne horizontale" - -#~ msgid "_Help" -#~ msgstr "_Aide" - -#~ msgid "Contents" -#~ msgstr "Table des matières" - -#~ msgid "Short Markdown Tutorial" -#~ msgstr "Tutoriel Markdown rapide" - -#~ msgid "Open Pandoc Online Markdown Help ..." -#~ msgstr "Ouvrir l'aide en ligne de Markdown pour Pandoc…" - -#~ msgid "Get Help Online..." -#~ msgstr "Obtenir de l'aide en ligne…" - -#~ msgid "Translate This Application..." -#~ msgstr "Traduire cette application..." - -#~ msgid "Go into focus mode" -#~ msgstr "Basculer vers le mode focus" - -#~ msgid "Go into fullscreen mode" -#~ msgstr "Basculer vers le mode plein écran" - -#~ msgid "Show HTML preview" -#~ msgstr "Montrer l'aperçu HTML" - -#~ msgid "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \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 .\n" -#~ msgstr "" -#~ "# Copyright (C) 2012, Wolf Vollprecht \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 .\n" - -#~ msgid "Copyright (C) 2012, Wolf Vollprecht " -#~ msgstr "Copyright (C) 2012, Wolf Vollprecht " - -#~ msgid "You can not export to PDF." -#~ msgstr "Impossible d'exporter en PDF" - -#~ msgid "" -#~ "Please install texlive from the software " -#~ "center." -#~ msgstr "" -#~ "Veuillez installer texlive du software center." - -#~ msgid "New window" -#~ msgstr "Nouvelle fenêtre" - -#~ msgid "_About" -#~ msgstr "_À propos" - -#~ msgid "_Quit" -#~ msgstr "_Quitter" - -#~ msgid "Activate Regex" -#~ msgstr "Activer les expressions régulières" - -#~ msgid "_New" -#~ msgstr "_Nouveau" - -#~ msgid "_Open" -#~ msgstr "_Ouvrir" - +#: uberwriter/UberwriterWindow.py:961 #, fuzzy -#~ msgid "Open examples" -#~ msgstr "Ouvrir les exemples" - -#, fuzzy -#~ msgid "_Quick markdown tutorial" -#~ msgstr "Tutoriel Markdown rapide" - -#, fuzzy -#~ msgid "_Save" -#~ msgstr "Enregistrer" - -#, fuzzy -#~ msgid "Export as HTML" -#~ msgstr "Exporter en HTML" - -#, fuzzy -#~ msgid "Export as PDF" -#~ msgstr "Exporter en PDF" - -#, fuzzy -#~ msgid "Copy Raw HTML to Clipboard" -#~ msgstr "Copier le HTML brut dans le presse-papiers" - -#~ msgid "Sidebar" -#~ msgstr "Barre de navigation" - -#~ msgid "Open Search and Replace" -#~ msgstr "Ouvrir Rechercher et remplacer" - -#~ msgid "Search and Replace ..." -#~ msgstr "Rechercher et remplacer..." +msgid "Exit Fullscreen" +msgstr "Sortir du Plein écran" diff --git a/po/fr/LC_MESSAGES/uberwriter.mo b/po/fr/LC_MESSAGES/uberwriter.mo index 886fb69..be52b3d 100644 Binary files a/po/fr/LC_MESSAGES/uberwriter.mo and b/po/fr/LC_MESSAGES/uberwriter.mo differ diff --git a/po/hu/LC_MESSAGES/uberwriter-hu.mo b/po/hu/LC_MESSAGES/uberwriter-hu.mo deleted file mode 100644 index 5c9bd78..0000000 Binary files a/po/hu/LC_MESSAGES/uberwriter-hu.mo and /dev/null differ diff --git a/po/it/LC_MESSAGES/uberwriter-it.po b/po/it/LC_MESSAGES/uberwriter-it.po index 60f486e..f354d6f 100644 --- a/po/it/LC_MESSAGES/uberwriter-it.po +++ b/po/it/LC_MESSAGES/uberwriter-it.po @@ -1,574 +1,755 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# msgid "" msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-27 21:21+0100\n" -"PO-Revision-Date: 2018-12-10 22:40+0100\n" -"Language-Team: \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-Poedit-Basepath: ..\n" +"X-Generator: Poedit 2.2.1\n" +"Project-Id-Version: UberWriter\n" +"Language: it\n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" "Last-Translator: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Language: it_IT\n" -"X-Poedit-SearchPath-0: uberwriter\n" -"X-Poedit-SearchPath-1: uberwriter_lib\n" -"X-Poedit-SearchPath-2: data\n" +"Language-Team: \n" -#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 -msgid "Dark mode" -msgstr "" +#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 +msgid "(no suggestions)" +msgstr "(nessun suggerimento)" -#: 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 "Aggiungi \"{}\" al Dizionario" -#: 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 "Ignora Tutto" -#: 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 "Linguaggi" -#: data/ui/About.ui:12 -msgid "Copyright (C) 2018, Wolf Vollprecht" -msgstr "" +#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 +#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 +msgid "Suggestions" +msgstr "Suggerimenti" -#: data/ui/About.ui:14 -msgid "Uberwriter website" -msgstr "" +#: ../uberwriter.desktop.in.h:1 +msgid "UberWriter" +msgstr "UberWriter" -#: data/ui/About.ui:66 -msgid "Donations:" -msgstr "" +#: ../uberwriter.desktop.in.h:2 +msgid "UberWriter, a simple and distraction free Markdown Editor" +msgstr "Uberwriter, un Editor per Markdown semplice e privo di fonti di distrazione" -#: data/ui/About.ui:75 -msgid "Liberapay" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:187 +msgid "Website is not available" +msgstr "Sito web non disponibile" -#: data/ui/About.ui:106 -msgid "Help to translate:" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:189 +msgid "Website is available" +msgstr "Il sito web è disponibile" -#: data/ui/About.ui:115 -msgid "Poeditor" -msgstr "" +#: uberwriter/UberwriterInlinePreview.py:441 +msgid "Open Link in Webbrowser" +msgstr "Apri il Link in un browser web" + +#: uberwriter/UberwriterInlinePreview.py:503 +msgid "No matching footnote found" +msgstr "Nessun piè di pagina trovato" + +#: data/ui/UberwriterWindow.ui:66 +msgid "_File" +msgstr "_File" + +#: data/ui/UberwriterWindow.ui:96 +msgid "Open Recent File" +msgstr "Apri File Recenti" + +#: data/ui/UberwriterWindow.ui:175 +msgid "Export as ODT" +msgstr "Esporta come ODT" + +#: data/ui/UberwriterWindow.ui:186 +msgid "Advanced Export..." +msgstr "Esportazione Avanzata..." + +#: ../data/ui/UberwriterWindow.ui.h:5 +msgid "Copy raw HTML to clipboard" +msgstr "Copia versione HTML" + +#: ../data/ui/UberwriterWindow.ui.h:6 +msgid "_Edit" +msgstr "_Modifica" + +#: data/ui/UberwriterWindow.ui:229 +msgid "_View" +msgstr "_Visualizza" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Light text on a dark background" +msgstr "Testo chiaro su sfondo scuro" + +#: data/ui/WindowMenu.ui:14 +msgid "Dark Mode" +msgstr "Modulità scura" + +#: data/ui/UberwriterWindow.ui:261 +msgid "Switch to preview mode" +msgstr "Modalità anteprima" + +#: data/ui/Menu.ui:12 +msgid "Preview" +msgstr "Anteprima" + +#: data/ui/UberwriterWindow.ui:298 data/ui/WindowMenu.ui:28 +msgid "Auto _Spellcheck" +msgstr "Controllo ortografico automatico" + +#: ../data/ui/UberwriterWindow.ui.h:13 +msgid "F_ormat" +msgstr "Formato" + +#: ../data/ui/UberwriterWindow.ui.h:14 +msgid "Unordered List Item" +msgstr "Elemento della Lista non Ordinata" + +#: ../data/ui/UberwriterWindow.ui.h:15 +msgid "Horizontal Rule" +msgstr "Linea Orizzontale" + +#: uberwriter/FormatShortcuts.py:186 +msgid "Heading" +msgstr "Intestazione" + +#: data/ui/UberwriterWindow.ui:312 +msgid "_Help" +msgstr "_Aiuto" + +#: data/ui/UberwriterWindow.ui:322 +msgid "Contents" +msgstr "Contenuti" + +#: data/ui/UberwriterWindow.ui:335 +msgid "Short Markdown Tutorial" +msgstr "Breve Tutorial su Markdown" + +#: data/ui/UberwriterWindow.ui:343 +msgid "Open Pandoc Online Markdown Help ..." +msgstr "Apri Documentazione Online su Pandoc..." + +#: ../data/ui/UberwriterWindow.ui.h:21 +msgid "Get Help Online..." +msgstr "Aiuto Online..." + +#: data/ui/UberwriterWindow.ui:359 +msgid "Translate This Application..." +msgstr "Traduci Questa Applicazione..." + +#: data/ui/Menu.ui:7 +msgid "Focus Mode" +msgstr "Modalità Concentrazione" + +#: data/ui/UberwriterWindow.ui:424 data/ui/UberwriterWindow.ui:425 +msgid "Go into focus mode" +msgstr "Passa a Modalità Concentrazione" + +#: data/ui/Menu.ui:17 +msgid "Fullscreen" +msgstr "Schermo Intero" + +#: data/ui/UberwriterWindow.ui:442 data/ui/UberwriterWindow.ui:443 +msgid "Go into fullscreen mode" +msgstr "Passa a Schermo Intero" + +#: data/ui/UberwriterWindow.ui:460 data/ui/UberwriterWindow.ui:461 +msgid "Show HTML preview" +msgstr "Breve Anteprima HTML" + +#: data/ui/UberwriterWindow.ui:112 +msgid "Words:" +msgstr "Parole:" + +#: data/ui/UberwriterWindow.ui:155 +msgid "Characters:" +msgstr "Caratteri:" + +#: uberwriter_lib/AppWindow.py:246 +msgid "Show debug messages (-vv debugs uberwriter_lib also)" +msgstr "Mostra messaggi di debug (-vv debugga anche uberwriter_lib)" + +#: uberwriter/FormatShortcuts.py:87 +msgid "emphasized text" +msgstr "testo sottolineato" + +#: uberwriter/FormatShortcuts.py:89 +msgid "strong text" +msgstr "testo grassettato" + +#: uberwriter/FormatShortcuts.py:105 +msgid "List item" +msgstr "Elemento di una Lista" + +#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 +msgid "Export" +msgstr "Esporta" #: data/ui/Export.ui:38 data/ui/UberwriterAdvancedExportDialog.ui:98 msgid "Smart" -msgstr "" +msgstr "Smart" #: data/ui/Export.ui:43 data/ui/UberwriterAdvancedExportDialog.ui:103 msgid "Pandoc can automatically make \"--\" to a long dash and more" -msgstr "" +msgstr "Pandoc trasforma automaticamente \"--\" in una linea lunga" + +#: data/ui/UberwriterAdvancedExportDialog.ui:117 +msgid "Normalize" +msgstr "Normalizza" + +#: data/ui/UberwriterAdvancedExportDialog.ui:122 +msgid "Removes things like double spaces or spaces at the beginning of a paragraph" +msgstr "Rimuovi cose come doppi spazi all'inizio di un paragrafo" #: data/ui/Export.ui:56 data/ui/UberwriterAdvancedExportDialog.ui:135 msgid "Table of Contents" -msgstr "" +msgstr "Sommario" #: data/ui/Export.ui:72 data/ui/UberwriterAdvancedExportDialog.ui:152 msgid "Standalone" -msgstr "" +msgstr "Standalone" #: 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 "" +msgid "Use a header and footer to include things like stylesheets and meta information" +msgstr "Usa un header o un footer per includere fogli di stile o meta information" #: data/ui/Export.ui:90 data/ui/UberwriterAdvancedExportDialog.ui:171 msgid "Number Sections" -msgstr "" +msgstr "Sezione Numero" #: data/ui/Export.ui:106 data/ui/UberwriterAdvancedExportDialog.ui:188 msgid "Strict Markdown" -msgstr "" +msgstr "Markdown Preciso" #: data/ui/Export.ui:111 data/ui/UberwriterAdvancedExportDialog.ui:193 msgid "Use \"strict\" markdown instead of \"pandoc\" markdown" -msgstr "" +msgstr "Utilizza Markdown preciso invece di quello di Pandoc" #: data/ui/Export.ui:123 data/ui/UberwriterAdvancedExportDialog.ui:206 msgid "Slideshow incremental bullets" -msgstr "" +msgstr "Presentazione con numeri incrementali" #: data/ui/Export.ui:128 data/ui/UberwriterAdvancedExportDialog.ui:211 msgid "Show one bullet point after another in a slideshow" -msgstr "" +msgstr "Mostra un punto di una lista dopo l'altro in una presentazione" #: data/ui/Export.ui:146 data/ui/UberwriterAdvancedExportDialog.ui:230 msgid "General Options" -msgstr "" +msgstr "Opzioni Generali" #: data/ui/Export.ui:182 data/ui/UberwriterAdvancedExportDialog.ui:263 msgid "Highlight syntax" -msgstr "" +msgstr "Evidenzia la sintassi" #: data/ui/Export.ui:205 data/ui/Export.ui:218 #: data/ui/UberwriterAdvancedExportDialog.ui:287 #: data/ui/UberwriterAdvancedExportDialog.ui:300 msgid "Choose a color theme for syntax highlighting" -msgstr "" +msgstr "Scegli un tema dei colori per l'evidenziazione della sintassi" #: data/ui/Export.ui:206 data/ui/UberwriterAdvancedExportDialog.ui:288 msgid "Highlight style " -msgstr "" +msgstr "Stile di evidenziazione " #: data/ui/Export.ui:253 data/ui/UberwriterAdvancedExportDialog.ui:337 msgid "Syntax highlighting (HTML, LaTeX)" -msgstr "" - -#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 -msgid "Bibliography File" -msgstr "" +msgstr "Evidenziazione Sintassi (HTML, LaTeX)" #: data/ui/Export.ui:329 data/ui/UberwriterAdvancedExportDialog.ui:371 msgid "Self Contained" -msgstr "" +msgstr "Autonomo" #: 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 "" +msgid "Produces a HTML that has no external dependencies (all images and stylesheets are included)" +msgstr "Produce una pagina HTML senza dipendenze esterne ( le immagini e i fogli di stile sono inclusi)" #: data/ui/Export.ui:346 data/ui/UberwriterAdvancedExportDialog.ui:389 msgid "HTML 5" -msgstr "" +msgstr "HTML 5" #: data/ui/Export.ui:351 data/ui/UberwriterAdvancedExportDialog.ui:394 msgid "Use HTML 5 syntax" -msgstr "" +msgstr "Usa sintassi HTML 5" #: data/ui/Export.ui:369 data/ui/Export.ui:382 #: data/ui/UberwriterAdvancedExportDialog.ui:413 #: data/ui/UberwriterAdvancedExportDialog.ui:427 msgid "Choose a CSS File that you want to use" -msgstr "" +msgstr "Scegli un file CSS da utilizzare" #: data/ui/Export.ui:370 data/ui/UberwriterAdvancedExportDialog.ui:415 msgid "CSS File" -msgstr "" +msgstr "File CSS" #: data/ui/Export.ui:405 data/ui/UberwriterAdvancedExportDialog.ui:451 msgid "HTML Options" -msgstr "" +msgstr "Opzioni HTML" + +#: data/ui/Export.ui:289 data/ui/UberwriterAdvancedExportDialog.ui:491 +msgid "Bibliography File" +msgstr "Bibliografia File" #: data/ui/Export.ui:423 data/ui/UberwriterAdvancedExportDialog.ui:510 msgid "Commandline Reference" -msgstr "" +msgstr "Documentazione sui comandi da terminale" -#: data/ui/Export.ui:517 data/ui/UberwriterAdvancedExportDialog.ui:36 -msgid "Export" +#. Leaving as it is since it is a license. +#. La lascio così com'è dal momento che è una licenza +#: ../data/ui/AboutUberwriterDialog.ui.h:1 +msgid "" +"# Copyright (C) 2012, Wolf Vollprecht \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 .\n" msgstr "" +"# Copyright (C) 2012, Wolf Vollprecht \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 .\n" -#: data/ui/Export.ui:559 data/ui/Export.ui:569 -msgid "PDF" -msgstr "" +#: ../data/ui/AboutUberwriterDialog.ui.h:14 +msgid "Copyright (C) 2012, Wolf Vollprecht " +msgstr "Copyright (C) 2012, Wolf Vollprecht " + +#: uberwriter/UberwriterWindow.py:347 +msgid "Save your File" +msgstr "Salva il tuo File" + +#: uberwriter/UberwriterWindow.py:490 +msgid "You can not export to PDF." +msgstr "Non puoi esportare in PDF." + +#: uberwriter/UberwriterWindow.py:492 +msgid "Please install texlive from the software center." +msgstr "Installa texlive dal centro software." + +#: uberwriter/UberwriterWindow.py:448 +msgid "MarkDown or Plain Text" +msgstr "Markdown o Testo Normale" + +#: uberwriter/UberwriterWindow.py:451 +msgid "Open a .md-File" +msgstr "Apri un File .md" + +#: uberwriter/UberwriterWindow.py:473 +msgid "You have not saved your changes." +msgstr "Non hai salvato le tue preferenze." + +#: uberwriter/UberwriterWindow.py:475 +msgid "Close without Saving" +msgstr "Chiudi senza Salvare" + +#: uberwriter/UberwriterWindow.py:476 +msgid "Cancel" +msgstr "Annulla" + +#: uberwriter/UberwriterWindow.py:477 +msgid "Save now" +msgstr "Salva ora" + +#: uberwriter/UberwriterWindow.py:478 +msgid "Unsaved changes" +msgstr "Modifiche non salvate" + +#: uberwriter/UberwriterWindow.py:537 +msgid "You can not enable the Spell Checker." +msgstr "Non puoi attivare il Controllo dell'Ortografia." + +#: uberwriter/UberwriterWindow.py:540 +msgid "Please install 'hunspell' or 'aspell' dictionarys for your language from the software center." +msgstr "Installa i dizionari 'hunspell' o 'aspell' per il tuo linguaggio dal centro software." + +#: data/de.wolfvollprecht.UberWriter.gschema.xml:9 +msgid "Dark mode" +msgstr "Modalità scura" + +#: 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 "Se abilitata, la finestra sarà scura, altrimenti sarà chiara." + +#. win.change_label +#. String 1 +#: data/ui/App_menu.ui:10 +msgid "New window" +msgstr "Nuova finestra" + +#: data/ui/Menu.ui:53 +msgid "_Shortcuts" +msgstr "_Scorciatoie da Tastiera" + +#: data/ui/Menu.ui:49 +msgid "Pandoc _Help" +msgstr "_Aiuto Pandoc" + +#: data/ui/Menu.ui:59 +msgid "_About" +msgstr "_Informazioni" + +#: data/ui/Menu.ui:62 +msgid "_Quit" +msgstr "_Esci" + +#: data/ui/Shortcuts.ui:13 +msgctxt "shortcut window" +msgid "General" +msgstr "Generale" + +#: data/ui/Shortcuts.ui:17 +msgctxt "shortcut window" +msgid "New" +msgstr "Nuovo" + +#: data/ui/Shortcuts.ui:24 +msgctxt "shortcut window" +msgid "Open" +msgstr "Apri" + +#: data/ui/Shortcuts.ui:31 +msgctxt "shortcut window" +msgid "Save" +msgstr "Salva" + +#: data/ui/Shortcuts.ui:38 +msgctxt "shortcut window" +msgid "Save as" +msgstr "Salva Come" + +#: data/ui/Shortcuts.ui:45 +msgctxt "shortcut window" +msgid "Quit" +msgstr "Esci" + +#: data/ui/Shortcuts.ui:52 +msgctxt "shortcut window" +msgid "Focus mode" +msgstr "Modalità concentrazione" + +#: data/ui/Shortcuts.ui:59 +msgctxt "shortcut window" +msgid "Fullscreen" +msgstr "Schermo Intero" + +#: data/ui/Shortcuts.ui:66 +msgctxt "shortcut window" +msgid "Preview" +msgstr "Anteprima" + +#: data/ui/Shortcuts.ui:73 +msgctxt "shortcut window" +msgid "Search" +msgstr "Cerca" + +#: data/ui/Shortcuts.ui:82 +msgctxt "shortcut window" +msgid "Editor" +msgstr "Editor" + +#: data/ui/Shortcuts.ui:86 +msgctxt "shortcut window" +msgid "Separator" +msgstr "Separatore" + +#: data/ui/Shortcuts.ui:93 +msgctxt "shortcut window" +msgid "List item" +msgstr "Elemento di una Lista" + +#: data/ui/Shortcuts.ui:100 +msgctxt "shortcut window" +msgid "Italic" +msgstr "Corsivo" + +#: data/ui/Shortcuts.ui:107 +msgctxt "shortcut window" +msgid "Bold" +msgstr "Grassetto" + +#: data/ui/Shortcuts.ui:114 +msgctxt "shortcut window" +msgid "Header" +msgstr "Intestazione" + +#: data/ui/Shortcuts.ui:121 +msgctxt "shortcut window" +msgid "Cut" +msgstr "Taglia" + +#: data/ui/Shortcuts.ui:128 +msgctxt "shortcut window" +msgid "Copy" +msgstr "Copia" + +#: data/ui/Shortcuts.ui:135 +msgctxt "shortcut window" +msgid "Paste" +msgstr "Incolla" + +#: data/ui/Shortcuts.ui:142 +msgctxt "shortcut window" +msgid "Select all" +msgstr "Seleziona tutto" + +#: data/ui/UberwriterWindow.ui:19 +msgid "Next Match" +msgstr "Risultato Successivo" + +#: data/ui/UberwriterWindow.ui:41 +msgid "Open Replace" +msgstr "Apri Sostituisci" + +#: data/ui/UberwriterWindow.ui:52 +msgid "Activate Regex" +msgstr "Attiva Regex" + +#: data/ui/UberwriterWindow.ui:74 +msgid "_New" +msgstr "_Nuovo" + +#: data/ui/UberwriterWindow.ui:84 +msgid "_Open" +msgstr "_Apri" + +#: data/ui/UberwriterWindow.ui:102 +msgid "Open examples" +msgstr "Apri esempi" + +#: data/ui/UberwriterWindow.ui:114 +msgid "_Quick markdown tutorial" +msgstr "_Breve Tutorial Markdown" + +#: data/ui/UberwriterWindow.ui:131 +msgid "_Save" +msgstr "_Salva" + +#: data/ui/Menu.ui:24 +msgid "Save _As" +msgstr "Salva _Come" + +#: data/ui/UberwriterWindow.ui:157 +msgid "Export as HTML" +msgstr "Esporta come html" + +#: data/ui/UberwriterWindow.ui:166 +msgid "Export as PDF" +msgstr "Esporta come PDF" + +#: data/ui/UberwriterWindow.ui:201 +msgid "Copy Raw HTML to Clipboard" +msgstr "Copia codice HTML" + +#: data/ui/UberwriterWindow.ui:254 +msgid "Sidebar" +msgstr "Barra a lato" + +#: data/ui/UberwriterWindow.ui:270 +msgid "Open Search and Replace" +msgstr "Mostra Cerca e Sostituisci" + +#: data/ui/UberwriterWindow.ui:271 +msgid "Search and Replace ..." +msgstr "Cerca e Sostituisci..." + +#: data/ui/UberwriterWindow.ui:295 +msgid "Previous Match" +msgstr "Risultato Precedente" + +#: data/ui/UberwriterWindow.ui:339 +msgid "Case Sensitive" +msgstr "Case Sensitive" + +#: data/ui/UberwriterWindow.ui:443 +msgid "Replace" +msgstr "Sostituisci" + +#: data/ui/UberwriterWindow.ui:457 +msgid "Replace all" +msgstr "Sostituisci tutti" + +#: uberwriter/FormatShortcuts.py:91 +msgid "striked out text" +msgstr "testo barrato" #: 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 "" +msgstr "label" -#: data/ui/Export.ui:582 -msgid "HTML" -msgstr "" - -#: data/ui/Export.ui:595 -msgid "ODT" -msgstr "" - -#: data/ui/Export.ui:607 -msgid "Advanced" -msgstr "" - -#: data/ui/Menu.ui:6 -msgid "Focus Mode" -msgstr "" - -#: data/ui/Menu.ui:10 -msgid "Preview" -msgstr "" - -#: data/ui/Menu.ui:14 -msgid "Fullscreen" -msgstr "" - -#: data/ui/Menu.ui:20 -msgid "Save _As" -msgstr "" - -#: data/ui/Menu.ui:24 -msgid "_Export" -msgstr "" - -#: data/ui/Menu.ui:28 -msgid "Copy HTML" -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" -msgstr "" - -#: data/ui/Menu.ui:53 -msgid "_About UberWriter" -msgstr "" - -#: data/ui/Preferences.ui:45 -msgid "Use dark mode" -msgstr "" - -#: data/ui/Preferences.ui:56 -msgid "Autospellcheck" -msgstr "" - -#: data/ui/Preferences.ui:95 -msgid "page 1" -msgstr "" - -#: data/ui/Shortcuts.ui:13 -msgctxt "shortcut window" -msgid "General" -msgstr "" - -#: data/ui/Shortcuts.ui:17 -msgctxt "shortcut window" -msgid "New" -msgstr "" - -#: data/ui/Shortcuts.ui:24 -msgctxt "shortcut window" -msgid "Open" -msgstr "" - -#: data/ui/Shortcuts.ui:31 -msgctxt "shortcut window" -msgid "Save" -msgstr "" - -#: data/ui/Shortcuts.ui:38 -msgctxt "shortcut window" -msgid "Save as" -msgstr "" - -#: data/ui/Shortcuts.ui:45 -msgctxt "shortcut window" -msgid "Quit" -msgstr "" - -#: data/ui/Shortcuts.ui:52 -msgctxt "shortcut window" -msgid "Focus mode" -msgstr "" - -#: data/ui/Shortcuts.ui:59 -msgctxt "shortcut window" -msgid "Fullscreen" -msgstr "" - -#: data/ui/Shortcuts.ui:66 -msgctxt "shortcut window" -msgid "Preview" -msgstr "" - -#: data/ui/Shortcuts.ui:73 -msgctxt "shortcut window" -msgid "Search" -msgstr "" - -#: data/ui/Shortcuts.ui:82 -msgctxt "shortcut window" -msgid "Editor" -msgstr "" - -#: data/ui/Shortcuts.ui:86 -msgctxt "shortcut window" -msgid "Separator" -msgstr "" - -#: data/ui/Shortcuts.ui:93 -msgctxt "shortcut window" -msgid "List item" -msgstr "" - -#: data/ui/Shortcuts.ui:100 -msgctxt "shortcut window" -msgid "Italic" -msgstr "" - -#: data/ui/Shortcuts.ui:107 -msgctxt "shortcut window" -msgid "Bold" -msgstr "" - -#: data/ui/Shortcuts.ui:114 -msgctxt "shortcut window" -msgid "Header" -msgstr "" - -#: data/ui/Shortcuts.ui:121 -msgctxt "shortcut window" -msgid "Cut" -msgstr "" - -#: data/ui/Shortcuts.ui:128 -msgctxt "shortcut window" -msgid "Copy" -msgstr "" - -#: data/ui/Shortcuts.ui:135 -msgctxt "shortcut window" -msgid "Paste" -msgstr "" - -#: data/ui/Shortcuts.ui:142 -msgctxt "shortcut window" -msgid "Select all" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:117 -msgid "Normalize" -msgstr "" - -#: data/ui/UberwriterAdvancedExportDialog.ui:122 -msgid "" -"Removes things like double spaces or spaces at the beginning of a paragraph" -msgstr "" - -#: data/ui/UberwriterWindow.ui:19 -msgid "Next Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:36 -msgid "Open Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:96 -msgid "Words:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:139 -msgid "Characters:" -msgstr "" - -#: data/ui/UberwriterWindow.ui:279 -msgid "Previous Match" -msgstr "" - -#: data/ui/UberwriterWindow.ui:320 -msgid "aA" -msgstr "" - -#: data/ui/UberwriterWindow.ui:324 -msgid "Case Sensitive" -msgstr "" - -#: data/ui/UberwriterWindow.ui:334 -msgid "(.*)" -msgstr "" - -#: data/ui/UberwriterWindow.ui:427 -msgid "Replace" -msgstr "" - -#: data/ui/UberwriterWindow.ui:441 -msgid "Replace all" -msgstr "" - -#: uberwriter/FormatShortcuts.py:99 -msgid "emphasized text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:101 -msgid "strong text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:103 -msgid "striked out text" -msgstr "" - -#: uberwriter/FormatShortcuts.py:121 -msgid "List item" -msgstr "" - -#: uberwriter/FormatShortcuts.py:181 -msgid "Heading" -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/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 "" - -#: uberwriter/UberwriterWindow.py:678 -msgid "MarkDown or Plain Text" -msgstr "" - -#: uberwriter/UberwriterWindow.py:681 -msgid "Open a .md-File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:706 -msgid "You have not saved your changes." -msgstr "" - -#: uberwriter/UberwriterWindow.py:708 -msgid "Close without Saving" -msgstr "" - -#: uberwriter/UberwriterWindow.py:709 -msgid "Cancel" -msgstr "" - -#: uberwriter/UberwriterWindow.py:710 -msgid "Save now" -msgstr "" - -#: uberwriter/UberwriterWindow.py:711 -msgid "Unsaved changes" -msgstr "" - -#: uberwriter/UberwriterWindow.py:742 -msgid "New File" -msgstr "" - -#: uberwriter/UberwriterWindow.py:780 -msgid "You can not enable the Spell Checker." -msgstr "" - -#: uberwriter/UberwriterWindow.py:783 -msgid "" -"Please install 'hunspell' or 'aspell' dictionarys for your language from the " -"software center." -msgstr "" - -#: uberwriter/headerbars.py:76 -msgid "Exit Fullscreen" -msgstr "" - -#: uberwriter/headerbars.py:118 -msgid "New" -msgstr "" - -#: uberwriter/headerbars.py:119 -msgid "Open" -msgstr "" - -#: uberwriter/headerbars.py:121 -msgid "Save" -msgstr "" - -#: uberwriter/headerbars.py:128 -msgid "Open Recent" -msgstr "" - -#: uberwriter/headerbars.py:130 -msgid "Search and replace" -msgstr "" - -#: uberwriter/headerbars.py:131 -msgid "Menu" -msgstr "" - -#: uberwriter_lib/AppWindow.py:173 -msgid "Show debug messages (-vv debugs uberwriter_lib also)" -msgstr "" - -#: uberwriter_lib/AppWindow.py:175 +#: uberwriter_lib/AppWindow.py:248 msgid "Use experimental features" -msgstr "" +msgstr "Usa funzioni sperimentali" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:259 msgid "extension \"{}\" is not a valid ZIP file" -msgstr "" +msgstr "L'estensione \"{}\" non è valida per un file ZIP" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:265 msgid "extension \"{}\" has no valid XML dictionary registry" -msgstr "" +msgstr "L'estensione \"{}\" non ha alcun dizonario XML" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:285 msgid "unable to move extension, file with same name exists within move_path" -msgstr "" +msgstr "impossibile spostare estensione, esista già un file con lo stesso nome in move_path" #: uberwriter_lib/gtkspellcheck/oxt_extract.py:293 msgid "unable to move extension, move_path is not a directory" -msgstr "" +msgstr "impossibile spostare estensione, move_path non è una directory" #: uberwriter_lib/gtkspellcheck/spellcheck.py:105 msgid "Unknown" -msgstr "" +msgstr "Sconosciuto" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:487 -msgid "(no suggestions)" -msgstr "" +#: data/de.wolfvollprecht.UberWriter.gschema.xml:18 +msgid "Open file base path" +msgstr "Apri file con percorso base" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:509 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:512 -msgid "Add \"{}\" to Dictionary" -msgstr "" +#: data/de.wolfvollprecht.UberWriter.gschema.xml:19 +msgid "Open file paths of the current session" +msgstr "Apri percorsi file della sessione corrente" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:516 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:518 -msgid "Ignore All" -msgstr "" +#: data/ui/App_menu.ui:36 +msgid "Help to _translate" +msgstr "Aiuta a _tradurre" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:533 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:535 -msgid "Languages" -msgstr "" +#: data/ui/App_menu.ui:40 +msgid "Donate to the project" +msgstr "Donazioni al progetto" -#: uberwriter_lib/gtkspellcheck/spellcheck.py:551 -#: uberwriter_lib/gtkspellcheck/spellcheck.py:554 -msgid "Suggestions" -msgstr "" +#: data/ui/WindowMenu.ui:24 +msgid "Search and Replace" +msgstr "Cerca e Sostituisci" + +#: data/ui/About.ui:12 +msgid "Copyright (C) 2018, Wolf Vollprecht" +msgstr "Copyright (C) 2018, Wolf Vollprecht" + +#: data/ui/About.ui:14 +msgid "Uberwriter website" +msgstr "Sito Web Uberwriter" + +#: data/ui/About.ui:60 +msgid "Donations:" +msgstr "Donazioni:" + +#: data/ui/About.ui:69 +msgid "Liberapay" +msgstr "Liberapay" + +#: data/ui/About.ui:100 +msgid "Help to translate:" +msgstr "Aiuta a tradurre:" + +#: data/ui/About.ui:109 +msgid "Poeditor" +msgstr "Poeditor" + +#: data/ui/Export.ui:559 data/ui/Export.ui:569 +msgid "PDF" +msgstr "PDF" + +#: data/ui/Export.ui:582 +msgid "HTML" +msgstr "HTML" + +#: data/ui/Export.ui:595 +msgid "ODT" +msgstr "ODT" + +#: data/ui/Export.ui:607 +msgid "Advanced" +msgstr "Avanzate" + +#: data/ui/Menu.ui:28 +msgid "_Export" +msgstr "_Esporta" + +#: data/ui/Menu.ui:32 +msgid "Copy HTML" +msgstr "Copia HTML" + +#: data/ui/Menu.ui:38 data/ui/Preferences.ui:14 +msgid "Preferences" +msgstr "Preferenze" + +#: data/ui/Menu.ui:44 +msgid "Open Tutorial" +msgstr "Apri Tutorial" + +#: data/ui/Preferences.ui:45 +msgid "Use dark mode" +msgstr "Usa Modalità scura" + +#: data/ui/Preferences.ui:56 +msgid "Autospellcheck" +msgstr "Controllo Ortografico automatico" + +#: data/ui/Preferences.ui:95 +msgid "page 1" +msgstr "pagina 1" + +#: uberwriter/UberwriterExportDialog.py:48 +msgid "Untitled document.md" +msgstr "Documento senza titolo.md" + +#: uberwriter/UberwriterExportDialog.py:372 +msgid "Please, install the TexLive extension from Gnome Software or running\n" +msgstr "Installa l'estenasione TexLive da Gnome Software o eseguendo\n" + +#: uberwriter/UberwriterExportDialog.py:375 +msgid "Please, install TexLive from your distribuiton repositories" +msgstr "Installa TexLive dalla repository della tua distribuzione" + +#: uberwriter/UberwriterWindow.py:894 uberwriter/UberwriterWindow.py:943 +msgid "New" +msgstr "Nuovo" + +#: uberwriter/UberwriterWindow.py:895 uberwriter/UberwriterWindow.py:944 +msgid "Open" +msgstr "Apri" + +#: uberwriter/UberwriterWindow.py:899 uberwriter/UberwriterWindow.py:946 +#: uberwriter/UberwriterWindow.py:949 +msgid "Open Recent" +msgstr "Apri Recenti" + +#: uberwriter/UberwriterWindow.py:901 uberwriter/UberwriterWindow.py:951 +msgid "Save" +msgstr "Salva" + +#: uberwriter/UberwriterWindow.py:904 uberwriter/UberwriterWindow.py:954 +msgid "Search and replace" +msgstr "Cerca e Sostituisci" + +#: uberwriter/UberwriterWindow.py:906 uberwriter/UberwriterWindow.py:956 +msgid "Menu" +msgstr "Menu" + +#: uberwriter/UberwriterWindow.py:961 +msgid "Exit Fullscreen" +msgstr "Esci da Schermo Intero" diff --git a/po/it/LC_MESSAGES/uberwriter.mo b/po/it/LC_MESSAGES/uberwriter.mo index e87b84b..e592e55 100644 Binary files a/po/it/LC_MESSAGES/uberwriter.mo and b/po/it/LC_MESSAGES/uberwriter.mo differ diff --git a/po/pl/LC_MESSAGES/uberwriter-pl.mo b/po/pl/LC_MESSAGES/uberwriter-pl.mo deleted file mode 100644 index e7493c7..0000000 Binary files a/po/pl/LC_MESSAGES/uberwriter-pl.mo and /dev/null differ diff --git a/po/pt/LC_MESSAGES/uberwriter-pt.mo b/po/pt/LC_MESSAGES/uberwriter-pt.mo deleted file mode 100644 index 6034db1..0000000 Binary files a/po/pt/LC_MESSAGES/uberwriter-pt.mo and /dev/null differ diff --git a/po/pt_BR/LC_MESSAGES/uberwriter-pt_BR.mo b/po/pt_BR/LC_MESSAGES/uberwriter-pt_BR.mo deleted file mode 100644 index a5b5670..0000000 Binary files a/po/pt_BR/LC_MESSAGES/uberwriter-pt_BR.mo and /dev/null differ diff --git a/po/ru/LC_MESSAGES/uberwriter-ru.mo b/po/ru/LC_MESSAGES/uberwriter-ru.mo deleted file mode 100644 index eb1c338..0000000 Binary files a/po/ru/LC_MESSAGES/uberwriter-ru.mo and /dev/null differ diff --git a/po/si/LC_MESSAGES/uberwriter-si.mo b/po/si/LC_MESSAGES/uberwriter-si.mo deleted file mode 100644 index 0ad6d57..0000000 Binary files a/po/si/LC_MESSAGES/uberwriter-si.mo and /dev/null differ diff --git a/po/sv/LC_MESSAGES/uberwriter-sv.mo b/po/sv/LC_MESSAGES/uberwriter-sv.mo deleted file mode 100644 index 5f3a8aa..0000000 Binary files a/po/sv/LC_MESSAGES/uberwriter-sv.mo and /dev/null differ diff --git a/po/tr/LC_MESSAGES/uberwriter-th.mo b/po/tr/LC_MESSAGES/uberwriter-th.mo deleted file mode 100644 index c7d9f18..0000000 Binary files a/po/tr/LC_MESSAGES/uberwriter-th.mo and /dev/null differ diff --git a/po/tr/LC_MESSAGES/uberwriter-tr.mo b/po/tr/LC_MESSAGES/uberwriter-tr.mo deleted file mode 100644 index a3f1ef7..0000000 Binary files a/po/tr/LC_MESSAGES/uberwriter-tr.mo and /dev/null differ diff --git a/po/vi/LC_MESSAGES/uberwriter-vi.mo b/po/vi/LC_MESSAGES/uberwriter-vi.mo deleted file mode 100644 index 3de221c..0000000 Binary files a/po/vi/LC_MESSAGES/uberwriter-vi.mo and /dev/null differ diff --git a/po/zh_CN/LC_MESSAGES/uberwriter-zh_CN.mo b/po/zh_CN/LC_MESSAGES/uberwriter-zh_CN.mo deleted file mode 100644 index 539a529..0000000 Binary files a/po/zh_CN/LC_MESSAGES/uberwriter-zh_CN.mo and /dev/null differ diff --git a/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.mo b/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.mo deleted file mode 100644 index a57168a..0000000 Binary files a/po/zh_TW/LC_MESSAGES/uberwriter-zh_TW.mo and /dev/null differ diff --git a/scripts/color_palette_generator.py b/scripts/color_palette_generator.py new file mode 100644 index 0000000..5a2f50f --- /dev/null +++ b/scripts/color_palette_generator.py @@ -0,0 +1,102 @@ +#!/usr/bin/python3 +# +# Generates color palettes based on the specified background/foreground colors. +# +# Usage: python color_palette_generator.py #fg_hex #bg_hex light|dark +# +# The light variant is based on GitHub's style, while the dark variant is based on pre-existing UberWriter styles. +# +# Accessibility is not accounted for, so make sure to verify contrast: https://webaim.org/resources/contrastchecker/ + +import operator +import os +import sys + + +def hex_to_tuple(h): + return tuple(int(h.lstrip('#')[i:i + 2], 16) for i in (0, 2, 4)) + + +def tuple_to_hex(t): + (r, g, b) = t + if r < 0 or g < 0 or b < 0 or r > 255 or g > 255 or b > 255: + return '#%02x%02x%02x (clamped)' % tuple(map(lambda x: max(0, min(x, 255)), t)) + else: + return '#%02x%02x%02x' % t + + +def sub_tuples(t1, t2): + return tuple(map(operator.sub, t1, t2)) + + +if __name__ == '__main__': + if len(sys.argv) != 4: + print("Usage: {} foreground_color background_color light|dark\n" + + "Both colors must be in hexadecimal format, eg. #f6f5f4".format(os.path.basename(__file__))) + exit() + + target_foreground_color = hex_to_tuple(sys.argv[1]) + target_background_color = hex_to_tuple(sys.argv[2]) + dark = sys.argv[3] == "dark" + + gh_text_color = hex_to_tuple("#dbdbdb" if dark else "#24292e") + gh_background_color = hex_to_tuple("#353535" if dark else "#ffffff") + gh_alt_background_color = hex_to_tuple("#3a3a3a" if dark else "#f6f8fa") + gh_link_color = hex_to_tuple("#a2c7f8" if dark else "#0366d6") + gh_blockquote_text_color = hex_to_tuple("#959595" if dark else "#6a737d") + gh_blockquote_border_color = hex_to_tuple("#525252" if dark else "#dfe2e5") + gh_header_border_color = hex_to_tuple("#474747" if dark else "#eaecef") + gh_hr_background_color = hex_to_tuple("#505050" if dark else "#e1e4e8") + gh_table_tr_border_color = hex_to_tuple("#696969" if dark else "#c6cbd1") + gh_table_td_border_color = hex_to_tuple("#525252" if dark else "#dfe2e5") + gh_kbd_text_color = hex_to_tuple("#bbbbbb" if dark else "#444d56") + gh_kbd_background_color = hex_to_tuple("#3c3c3c" if dark else "#fafbfc") + gh_kbd_border_color = hex_to_tuple("#696969" if dark else "#c6cbd1") + gh_kbd_shadow_color = hex_to_tuple("#979797" if dark else "#959da5") + + text_color_diff = sub_tuples(gh_text_color, target_foreground_color) + background_color_diff = sub_tuples(gh_background_color, target_background_color) + + text_color = tuple_to_hex(target_foreground_color) + background_color = tuple_to_hex(target_background_color) + alt_background_color = tuple_to_hex(sub_tuples(gh_alt_background_color, background_color_diff)) + link_color = tuple_to_hex(sub_tuples(gh_link_color, text_color_diff)) + blockquote_text_color = tuple_to_hex(sub_tuples(gh_blockquote_text_color, text_color_diff)) + blockquote_border_color = tuple_to_hex(sub_tuples(gh_blockquote_border_color, background_color_diff)) + header_border_color = tuple_to_hex(sub_tuples(gh_header_border_color, background_color_diff)) + hr_background_color = tuple_to_hex(sub_tuples(gh_hr_background_color, background_color_diff)) + table_tr_border_color = tuple_to_hex(sub_tuples(gh_table_tr_border_color, background_color_diff)) + table_td_border_color = tuple_to_hex(sub_tuples(gh_table_td_border_color, background_color_diff)) + kbd_text_color = tuple_to_hex(sub_tuples(gh_kbd_text_color, text_color_diff)) + kbd_background_color = tuple_to_hex(sub_tuples(gh_kbd_background_color, background_color_diff)) + kbd_border_color = tuple_to_hex(sub_tuples(gh_kbd_border_color, background_color_diff)) + kbd_shadow_color = tuple_to_hex(sub_tuples(gh_kbd_shadow_color, background_color_diff)) + + print(("--text-color: {};\n" + + "--background-color: {};\n" + + "--alt-background-color: {};\n" + + "--link-color: {};\n" + + "--blockquote-text-color: {};\n" + + "--blockquote-border-color: {};\n" + + "--header-border-color: {};\n" + + "--hr-background-color: {};\n" + + "--table-tr-border-color: {};\n" + + "--table-td-border-color: {};\n" + + "--kbd-text-color: {};\n" + + "--kbd-background-color: {};\n" + + "--kbd-border-color: {};\n" + + "--kbd-shadow-color: {};\n").format( + text_color, + background_color, + alt_background_color, + link_color, + blockquote_text_color, + blockquote_border_color, + header_border_color, + hr_background_color, + table_tr_border_color, + table_td_border_color, + kbd_text_color, + kbd_background_color, + kbd_border_color, + kbd_shadow_color)) diff --git a/setup.py b/setup.py index ded6cfc..8671284 100644 --- a/setup.py +++ b/setup.py @@ -60,10 +60,10 @@ setup( # "": '/opt/uberwriter/' }, packages=[ - "uberwriter_lib.gtkspellcheck", - "uberwriter_lib.pylocales", - # "uberwriter_lib.pressagio", - "uberwriter_lib", + "uberwriter.gtkspellcheck", + "uberwriter.pylocales", + # "uberwriter.pressagio", + "uberwriter", "uberwriter", "po" # "uberwriter.plugins" @@ -72,7 +72,7 @@ setup( include_package_data=True, package_data={ - 'uberwriter_lib.pylocales' : ['locales.db'], + 'uberwriter.pylocales' : ['locales.db'], }, data_files=[ (app_prefix + 'bin', ['bin/uberwriter']), diff --git a/bin/uberwriter b/uberwriter.in similarity index 100% rename from bin/uberwriter rename to uberwriter.in diff --git a/uberwriter/.pylintrc b/uberwriter/.pylintrc index 2dc4fd2..8b0400e 100644 --- a/uberwriter/.pylintrc +++ b/uberwriter/.pylintrc @@ -60,7 +60,7 @@ confidence= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use "--disable=all --enable=classes # --disable=W". -# disable=print-statement, +disable=print-statement, parameter-unpacking, unpacking-in-except, old-raise-syntax, diff --git a/uberwriter/Texsymbols.json b/uberwriter/Texsymbols.json deleted file mode 100644 index e69de29..0000000 diff --git a/uberwriter/__init__.py b/uberwriter/__init__.py index 75623c9..f062c1e 100644 --- a/uberwriter/__init__.py +++ b/uberwriter/__init__.py @@ -25,15 +25,18 @@ import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk # pylint: disable=E0611 -from . import UberwriterWindow -from uberwriter_lib import AppWindow +from uberwriter import window +from uberwriter import application +from uberwriter.helpers import set_up_logging +from uberwriter.uberwriterconfig import get_version + def main(): 'constructor for your class instances' # (options, args) = parse_options() # Run the application. - app = AppWindow.Application() + app = application.Application() # ~ if args: # ~ for arg in args: diff --git a/uberwriter_lib/AppWindow.py b/uberwriter/application.py similarity index 81% rename from uberwriter_lib/AppWindow.py rename to uberwriter/application.py index dca70f4..304fed1 100644 --- a/uberwriter_lib/AppWindow.py +++ b/uberwriter/application.py @@ -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, 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 +from uberwriter import window +from uberwriter.theme import Theme +from uberwriter.settings import Settings +from uberwriter.helpers import set_up_logging +from uberwriter.preferences_dialog import PreferencesDialog +from uberwriter.helpers import get_builder, get_media_path + class Application(Gtk.Application): @@ -34,32 +37,6 @@ class Application(Gtk.Application): self.window = None self.settings = Settings.new() - 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): Gtk.Application.do_startup(self) @@ -95,6 +72,12 @@ class Application(Gtk.Application): action.connect("change-state", self.on_focus_mode) self.add_action(action) + action = Gio.SimpleAction.new_stateful("hemingway_mode", + None, + GLib.Variant.new_boolean(False)) + action.connect("change-state", self.on_hemingway_mode) + self.add_action(action) + action = Gio.SimpleAction.new_stateful("fullscreen", None, GLib.Variant.new_boolean(False)) @@ -111,9 +94,10 @@ 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) @@ -164,7 +148,10 @@ class Application(Gtk.Application): # Shortcuts + # TODO: be aware that a couple of shortcuts are defined in _gtk_base.css + self.set_accels_for_action("app.focus_mode", ["d"]) + self.set_accels_for_action("app.hemingway_mode", ["t"]) self.set_accels_for_action("app.fullscreen", ["F11"]) self.set_accels_for_action("app.preview", ["p"]) self.set_accels_for_action("app.search", ["f"]) @@ -174,8 +161,9 @@ class Application(Gtk.Application): self.set_accels_for_action("app.open", ["o"]) self.set_accels_for_action("app.save", ["s"]) self.set_accels_for_action("app.save_as", ["s"]) + self.set_accels_for_action("app.quit", ["w", "q"]) - self.init() + self.apply_current_theme() def do_activate(self, *args, **kwargs): # We only allow a single window and raise any existing ones @@ -183,7 +171,7 @@ class Application(Gtk.Application): # Windows are associated with the application # when the last one is closed the application shuts down # self.window = Window(application=self, title="UberWriter") - self.window = UberwriterWindow.UberwriterWindow(self) + self.window = window.Window(self) if self.args: self.window.load_file(self.args[0]) if self.options.experimental_features: @@ -196,7 +184,7 @@ class Application(Gtk.Application): parser = argparse.ArgumentParser() parser.add_argument( "-v", "--verbose", action="count", dest="verbose", - help=_("Show debug messages (-vv debugs uberwriter_lib also)")) + help=_("Show debug messages (-vv debugs uberwriter also)")) parser.add_argument( "-e", "--experimental-features", help=_("Use experimental features"), action='store_true' @@ -208,6 +196,23 @@ class Application(Gtk.Application): self.activate() return 0 + def apply_current_theme(self): + # get current theme + theme = Theme.get_current() + + # set theme variant (dark/light) + Gtk.Settings.get_default().set_property( + "gtk-application-prefer-dark-theme", + GLib.Variant("b", theme.is_dark)) + + # set theme css + style_provider = Gtk.CssProvider() + style_provider.load_from_path(theme.gtk_css_path) + Gtk.StyleContext.add_provider_for_screen( + Gdk.Screen.get_default(), style_provider, + Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION + ) + def on_about(self, _action, _param): builder = get_builder('About') about_dialog = builder.get_object("AboutDialog") @@ -233,22 +238,25 @@ class Application(Gtk.Application): def on_dark_mode(self, action, value): action.set_state(value) - self.settings.set_value("dark-mode", - GLib.Variant("b", value)) - self.window.toggle_dark_mode(value) + self.settings.set_value("dark-mode", GLib.Variant("b", value)) # this changes the headerbar theme accordingly - self.dark_setting = Gtk.Settings.get_default() - self.dark_setting.set_property( - "gtk-application-prefer-dark-theme", value) + self.apply_current_theme() + + # adjust window for theme + self.window.apply_current_theme() def on_focus_mode(self, action, value): action.set_state(value) - self.window.set_focusmode(value) + self.window.set_focus_mode(value) + + def on_hemingway_mode(self, action, value): + action.set_state(value) + self.window.set_hemingway_mode(value) def on_fullscreen(self, action, value): action.set_state(value) - self.window.toggle_fullscreen(value) + self.window.set_fullscreen(value) def on_preview(self, action, value): action.set_state(value) @@ -259,6 +267,8 @@ 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): @@ -296,10 +306,10 @@ class Application(Gtk.Application): self.window.copy_html_to_clipboard() def on_preferences(self, _action, _value): - PreferencesWindow = PreferencesDialog() - PreferencesWindow.set_application(self) - PreferencesWindow.set_transient_for(self.window) - PreferencesWindow.show() + preferences_window = PreferencesDialog() + preferences_window.set_application(self) + preferences_window.set_transient_for(self.window) + preferences_window.show() def on_quit(self, _action, _param): self.quit() diff --git a/uberwriter/UberwriterAutoCorrect.py b/uberwriter/auto_correct.py similarity index 95% rename from uberwriter/UberwriterAutoCorrect.py rename to uberwriter/auto_correct.py index d11eaea..bdc54bb 100644 --- a/uberwriter/UberwriterAutoCorrect.py +++ b/uberwriter/auto_correct.py @@ -13,16 +13,16 @@ from gi.repository import Gtk, Gdk import enchant -from uberwriter_lib import pressagio -# import uberwriter_lib.pressagio.predictor -# import uberwriter_lib.pressagio.tokenizer -# import uberwriter_lib.pressagio.dbconnector -# import uberwriter_lib.pressagio.context_tracker -# import uberwriter_lib.pressagio.callback +from uberwriter import pressagio +# import uberwriter.pressagio.predictor +# import uberwriter.pressagio.tokenizer +# import uberwriter.pressagio.dbconnector +# import uberwriter.pressagio.context_tracker +# import uberwriter.pressagio.callback # from Levenshtein import distance -from uberwriter_lib.helpers import get_media_path +from uberwriter.helpers import get_media_path # Define and create PresageCallback object class PressagioCallback(pressagio.callback.Callback): @@ -36,7 +36,7 @@ class PressagioCallback(pressagio.callback.Callback): def future_stream(self): return '' -class UberwriterAutoCorrect: +class AutoCorrect: def show_bubble(self, iterator, suggestion): self.suggestion = suggestion diff --git a/uberwriter_lib/Builder.py b/uberwriter/builder.py similarity index 99% rename from uberwriter_lib/Builder.py rename to uberwriter/builder.py index 123acd3..ec934aa 100644 --- a/uberwriter_lib/Builder.py +++ b/uberwriter/builder.py @@ -28,7 +28,7 @@ import gi gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position from gi.repository import GObject, Gtk # pylint: disable=E0611 -LOGGER = logging.getLogger('uberwriter_lib') +LOGGER = logging.getLogger('uberwriter') # this module is big so uses some conventional prefixes and postfixes # *s list, except self.widgets is a dictionary diff --git a/uberwriter/UberwriterExportDialog.py b/uberwriter/export_dialog.py similarity index 98% rename from uberwriter/UberwriterExportDialog.py rename to uberwriter/export_dialog.py index f8ca6ca..7a2362f 100644 --- a/uberwriter/UberwriterExportDialog.py +++ b/uberwriter/export_dialog.py @@ -23,10 +23,15 @@ 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 -from uberwriter_lib.helpers import get_builder +from uberwriter import helpers +from uberwriter.theme import Theme +from uberwriter.helpers import get_builder LOGGER = logging.getLogger('uberwriter') @@ -35,7 +40,7 @@ class Export: Manages all the export operations and dialogs """ - __gtype_name__ = "UberwriterExportDialog" + __gtype_name__ = "export_dialog" def __init__(self, filename): """Set up the about dialog""" @@ -213,7 +218,7 @@ class Export: args.append("-o%s.odt" % basename) elif export_format == "html": - css = helpers.get_media_file('github-md.css') + css = Theme.ADWAITA.get_gtk_css_file() relativize = helpers.get_script_path('relative_to_absolute.lua') task_list = helpers.get_script_path('task-list.lua') args.append("-c%s" % css) diff --git a/uberwriter/FixTable.py b/uberwriter/fix_table.py similarity index 99% rename from uberwriter/FixTable.py rename to uberwriter/fix_table.py index e1b59ac..5f551cc 100644 --- a/uberwriter/FixTable.py +++ b/uberwriter/fix_table.py @@ -1,4 +1,6 @@ import re +import gi +gi.require_version('Gtk', '3.0') from gi.repository import Gtk import logging diff --git a/uberwriter/FormatShortcuts.py b/uberwriter/format_shortcuts.py similarity index 99% rename from uberwriter/FormatShortcuts.py rename to uberwriter/format_shortcuts.py index ade4e01..0d0b030 100644 --- a/uberwriter/FormatShortcuts.py +++ b/uberwriter/format_shortcuts.py @@ -17,7 +17,7 @@ from gettext import gettext as _ -from . MarkupBuffer import MarkupBuffer +from uberwriter.markup_buffer import MarkupBuffer class FormatShortcuts(): diff --git a/uberwriter_lib/gtkspellcheck/__init__.py b/uberwriter/gtkspellcheck/__init__.py similarity index 100% rename from uberwriter_lib/gtkspellcheck/__init__.py rename to uberwriter/gtkspellcheck/__init__.py diff --git a/uberwriter_lib/gtkspellcheck/oxt_extract.py b/uberwriter/gtkspellcheck/oxt_extract.py similarity index 100% rename from uberwriter_lib/gtkspellcheck/oxt_extract.py rename to uberwriter/gtkspellcheck/oxt_extract.py diff --git a/uberwriter_lib/gtkspellcheck/spellcheck.py b/uberwriter/gtkspellcheck/spellcheck.py similarity index 99% rename from uberwriter_lib/gtkspellcheck/spellcheck.py rename to uberwriter/gtkspellcheck/spellcheck.py index 5aae086..0112fbf 100644 --- a/uberwriter_lib/gtkspellcheck/spellcheck.py +++ b/uberwriter/gtkspellcheck/spellcheck.py @@ -29,8 +29,8 @@ import logging import re import sys -from uberwriter_lib.pylocales import code_to_name as _code_to_name -from uberwriter_lib.pylocales import LanguageNotFound, CountryNotFound +from uberwriter.pylocales import code_to_name as _code_to_name +from uberwriter.pylocales import LanguageNotFound, CountryNotFound # public objects __all__ = ['SpellChecker', 'NoDictionariesFound', 'NoGtkBindingFound'] @@ -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: diff --git a/uberwriter/headerbars.py b/uberwriter/headerbars.py index 52069fb..e70b04e 100644 --- a/uberwriter/headerbars.py +++ b/uberwriter/headerbars.py @@ -18,11 +18,14 @@ from collections import namedtuple from gettext import gettext as _ -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 +import gi +gi.require_version('Gtk', '3.0') +from gi.repository import Gtk +from uberwriter.helpers import get_builder +from uberwriter.helpers import get_descendant + +from uberwriter.application import Application as app class MainHeaderbar: #pylint: disable=too-few-public-methods """Sets up the main application headerbar diff --git a/uberwriter_lib/helpers.py b/uberwriter/helpers.py similarity index 86% rename from uberwriter_lib/helpers.py rename to uberwriter/helpers.py index dc0fe8f..efd0ef5 100644 --- a/uberwriter_lib/helpers.py +++ b/uberwriter/helpers.py @@ -21,10 +21,13 @@ import logging import os import shutil -from gi.repository import Gtk -from . uberwriterconfig import get_data_file -from . Builder import Builder +import gi +gi.require_version('Gtk', '3.0') +from gi.repository import Gtk # pylint: disable=E0611 + +from uberwriter.uberwriterconfig import get_data_file +from uberwriter.builder import Builder def get_builder(builder_file_name): @@ -46,16 +49,12 @@ def get_builder(builder_file_name): # Owais Lone : To get quick access to icons and stuff. -def get_media_file(media_file_name): +def get_media_file(media_file_path): """Return the full path of a given filename under the media dir (starts with file:///) """ - media_filename = get_data_file('media', '%s' % (media_file_name,)) - if not os.path.exists(media_filename): - media_filename = None - - return "file:///" + media_filename + return "file:///" + get_media_path(media_file_path) def get_media_path(media_file_name): @@ -63,19 +62,26 @@ def get_media_path(media_file_name): (doesn't start with file:///) """ - media_filename = get_data_file('media', '%s' % (media_file_name,)) - if not os.path.exists(media_filename): - media_filename = None - return media_filename + media_path = get_data_file('media', '%s' % (media_file_name,)) + if not os.path.exists(media_path): + media_path = None + return media_path + + +def get_css_path(css_file_name): + """Return the full path of a given filename under the css dir + (doesn't start with file:///) + """ + return get_media_path("css/{}".format(css_file_name)) def get_script_path(script_file_name): """Return the full path of a given filename under the script dir """ - script_filename = get_data_file('lua', '%s' % (script_file_name,)) - if not os.path.exists(script_filename): - script_filename = None - return script_filename + script_path = get_data_file('lua', '%s' % (script_file_name,)) + if not os.path.exists(script_path): + script_path = None + return script_path class NullHandler(logging.Handler): @@ -97,7 +103,7 @@ def set_up_logging(opts): logger_sh.setFormatter(formatter) logger.addHandler(logger_sh) - lib_logger = logging.getLogger('uberwriter_lib') + lib_logger = logging.getLogger('uberwriter') lib_logger_sh = logging.StreamHandler() lib_logger_sh.setFormatter(formatter) lib_logger.addHandler(lib_logger_sh) @@ -127,7 +133,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()) diff --git a/uberwriter/UberwriterInlinePreview.py b/uberwriter/inline_preview.py similarity index 98% rename from uberwriter/UberwriterInlinePreview.py rename to uberwriter/inline_preview.py index bf59507..6396411 100644 --- a/uberwriter/UberwriterInlinePreview.py +++ b/uberwriter/inline_preview.py @@ -26,13 +26,15 @@ 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 +from uberwriter import latex_to_PNG +from uberwriter.settings import Settings -from .FixTable import FixTable +from uberwriter.fix_table import FixTable -from .MarkupBuffer import MarkupBuffer +from uberwriter.markup_buffer import MarkupBuffer LOGGER = logging.getLogger('uberwriter') @@ -262,12 +264,12 @@ def fill_lexikon_bubble(vocab, lexikon_dict): return None -class UberwriterInlinePreview(): +class InlinePreview(): def __init__(self, view, text_buffer): self.text_view = view self.text_buffer = text_buffer - self.latex_converter = LatexToPNG.LatexToPNG() + self.latex_converter = latex_to_PNG.LatexToPNG() cursor_mark = self.text_buffer.get_insert() cursor_iter = self.text_buffer.get_iter_at_mark(cursor_mark) self.click_mark = self.text_buffer.create_mark('click', cursor_iter) diff --git a/uberwriter_lib/LatexToPNG.py b/uberwriter/latex_to_PNG.py similarity index 100% rename from uberwriter_lib/LatexToPNG.py rename to uberwriter/latex_to_PNG.py diff --git a/uberwriter/MarkupBuffer.py b/uberwriter/markup_buffer.py similarity index 90% rename from uberwriter/MarkupBuffer.py rename to uberwriter/markup_buffer.py index 7b7a133..c413482 100644 --- a/uberwriter/MarkupBuffer.py +++ b/uberwriter/markup_buffer.py @@ -15,6 +15,9 @@ ### END LICENSE import re +import gi + +gi.require_version('Gtk', '3.0') from gi.repository import Gtk from gi.repository import Pango @@ -44,14 +47,10 @@ class MarkupBuffer(): self.normal_indent = self.text_buffer.create_tag('normal_indent', indent=100) - self.green_text = self.text_buffer.create_tag("greentext", - foreground="#00364C") + self.math_text = self.text_buffer.create_tag('math_text') - self.grayfont = self.text_buffer.create_tag('graytag', - foreground="gray") - - self.blackfont = self.text_buffer.create_tag('blacktag', - foreground="#222") + self.unfocused_text = self.text_buffer.create_tag('graytag', + foreground="gray") self.underline = self.text_buffer.create_tag("underline", underline=Pango.Underline.SINGLE) @@ -99,7 +98,8 @@ class MarkupBuffer(): self.table_env.set_property('pixels-above-lines', 0) self.table_env.set_property('pixels-below-lines', 0) - # self.ftag = self.TextBuffer.create_tag("pix_front", pixels_above_lines = 100) + self.update_style() + regex = { "ITALIC": re.compile(r"(\*|_)(.*?)\1", re.UNICODE), # *asdasd* // _asdasd asd asd_ "STRONG": re.compile(r"(\*\*|__)(.*?)\1", re.UNICODE), # **as das** // __asdasd asd ad a__ @@ -118,6 +118,13 @@ class MarkupBuffer(): "LINK": re.compile(r"\(http(.+?)\)") } + def update_style(self): + (found, color) = self.parent.get_style_context().lookup_color('math_text_color') + if not found: + (_, color) = self.parent.get_style_context().lookup_color('foreground_color') + + self.math_text.set_property("foreground", color.to_string()) + def markup_buffer(self, mode=0): buf = self.text_buffer @@ -176,13 +183,13 @@ class MarkupBuffer(): end_iter = buf.get_iter_at_offset(context_offset + match.end()) self.text_buffer.apply_tag(self.strikethrough, start_iter, end_iter) - self.text_buffer.remove_tag(self.green_text, context_start, context_end) + self.text_buffer.remove_tag(self.math_text, context_start, context_end) matches = re.finditer(self.regex["MATH"], text) for match in matches: start_iter = buf.get_iter_at_offset(context_offset + match.start()) end_iter = buf.get_iter_at_offset(context_offset + match.end()) - self.text_buffer.apply_tag(self.green_text, start_iter, end_iter) + self.text_buffer.apply_tag(self.math_text, start_iter, end_iter) for margin in self.rev_leftmargin: self.text_buffer.remove_tag(margin, context_start, context_end) @@ -264,15 +271,13 @@ class MarkupBuffer(): self.focusmode_highlight() def focusmode_highlight(self): - self.text_buffer.apply_tag( - self.grayfont, - self.text_buffer.get_start_iter(), - self.text_buffer.get_end_iter()) + start_document = self.text_buffer.get_start_iter() + end_document = self.text_buffer.get_end_iter() self.text_buffer.remove_tag( - self.blackfont, - self.text_buffer.get_start_iter(), - self.text_buffer.get_end_iter()) + self.unfocused_text, + start_document, + end_document) cursor = self.text_buffer.get_mark("insert") cursor_iter = self.text_buffer.get_iter_at_mark(cursor) @@ -291,9 +296,14 @@ class MarkupBuffer(): start_sentence = cursor_iter.copy() start_sentence.backward_sentence_start() + # grey out everything before self.text_buffer.apply_tag( - self.blackfont, - start_sentence, end_sentence) + self.unfocused_text, + self.text_buffer.get_start_iter(), start_sentence) + + self.text_buffer.apply_tag( + self.unfocused_text, + end_sentence, self.text_buffer.get_end_iter()) def set_multiplier(self, multiplier): self.multiplier = multiplier @@ -309,13 +319,3 @@ class MarkupBuffer(): new_margin = (lm - multiplier) + multiplier + multiplier * (i + 1) self.leftmargin[i].set_property("left-margin", 0 if new_margin < 0 else new_margin) self.leftmargin[i].set_property("indent", - (multiplier - 1) * (i + 1) - multiplier) - - def dark_mode(self, active=False): - if active: - self.green_text.set_property("foreground", "#FA5B0F") - self.grayfont.set_property("foreground", "#666") - self.blackfont.set_property("foreground", "#CCC") - else: - self.green_text.set_property("foreground", "#00364C") - self.grayfont.set_property("foreground", "gray") - self.blackfont.set_property("foreground", "#222") diff --git a/uberwriter_lib/PreferencesDialog.py b/uberwriter/preferences_dialog.py similarity index 90% rename from uberwriter_lib/PreferencesDialog.py rename to uberwriter/preferences_dialog.py index 8a559a0..937dcf4 100644 --- a/uberwriter_lib/PreferencesDialog.py +++ b/uberwriter/preferences_dialog.py @@ -18,12 +18,13 @@ """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') +logger = logging.getLogger('uberwriter') -from . helpers import get_builder, show_uri, get_help_uri +from uberwriter.helpers import get_builder, show_uri, get_help_uri class PreferencesDialog(Gtk.Window): __gtype_name__ = "PreferencesDialog" diff --git a/uberwriter_lib/pressagio/VERSION b/uberwriter/pressagio/VERSION similarity index 100% rename from uberwriter_lib/pressagio/VERSION rename to uberwriter/pressagio/VERSION diff --git a/uberwriter_lib/pressagio/__init__.py b/uberwriter/pressagio/__init__.py similarity index 100% rename from uberwriter_lib/pressagio/__init__.py rename to uberwriter/pressagio/__init__.py diff --git a/uberwriter_lib/pressagio/callback.py b/uberwriter/pressagio/callback.py similarity index 100% rename from uberwriter_lib/pressagio/callback.py rename to uberwriter/pressagio/callback.py diff --git a/uberwriter_lib/pressagio/character.py b/uberwriter/pressagio/character.py similarity index 100% rename from uberwriter_lib/pressagio/character.py rename to uberwriter/pressagio/character.py diff --git a/uberwriter_lib/pressagio/combiner.py b/uberwriter/pressagio/combiner.py similarity index 100% rename from uberwriter_lib/pressagio/combiner.py rename to uberwriter/pressagio/combiner.py diff --git a/uberwriter_lib/pressagio/context_tracker.py b/uberwriter/pressagio/context_tracker.py similarity index 100% rename from uberwriter_lib/pressagio/context_tracker.py rename to uberwriter/pressagio/context_tracker.py diff --git a/uberwriter_lib/pressagio/dbconnector.py b/uberwriter/pressagio/dbconnector.py similarity index 100% rename from uberwriter_lib/pressagio/dbconnector.py rename to uberwriter/pressagio/dbconnector.py diff --git a/uberwriter_lib/pressagio/observer.py b/uberwriter/pressagio/observer.py similarity index 100% rename from uberwriter_lib/pressagio/observer.py rename to uberwriter/pressagio/observer.py diff --git a/uberwriter_lib/pressagio/predictor.py b/uberwriter/pressagio/predictor.py similarity index 100% rename from uberwriter_lib/pressagio/predictor.py rename to uberwriter/pressagio/predictor.py diff --git a/uberwriter_lib/pressagio/tests/__init__.py b/uberwriter/pressagio/tests/__init__.py similarity index 100% rename from uberwriter_lib/pressagio/tests/__init__.py rename to uberwriter/pressagio/tests/__init__.py diff --git a/uberwriter_lib/pressagio/tests/test_character.py b/uberwriter/pressagio/tests/test_character.py similarity index 100% rename from uberwriter_lib/pressagio/tests/test_character.py rename to uberwriter/pressagio/tests/test_character.py diff --git a/uberwriter_lib/pressagio/tests/test_combiner.py b/uberwriter/pressagio/tests/test_combiner.py similarity index 100% rename from uberwriter_lib/pressagio/tests/test_combiner.py rename to uberwriter/pressagio/tests/test_combiner.py diff --git a/uberwriter_lib/pressagio/tests/test_data/der_linksdenker.txt b/uberwriter/pressagio/tests/test_data/der_linksdenker.txt similarity index 100% rename from uberwriter_lib/pressagio/tests/test_data/der_linksdenker.txt rename to uberwriter/pressagio/tests/test_data/der_linksdenker.txt diff --git a/uberwriter_lib/pressagio/tests/test_data/profile_smoothedngram.ini b/uberwriter/pressagio/tests/test_data/profile_smoothedngram.ini similarity index 100% rename from uberwriter_lib/pressagio/tests/test_data/profile_smoothedngram.ini rename to uberwriter/pressagio/tests/test_data/profile_smoothedngram.ini diff --git a/uberwriter_lib/pressagio/tests/test_dbconnector.py b/uberwriter/pressagio/tests/test_dbconnector.py similarity index 100% rename from uberwriter_lib/pressagio/tests/test_dbconnector.py rename to uberwriter/pressagio/tests/test_dbconnector.py diff --git a/uberwriter_lib/pressagio/tests/test_predictor.py b/uberwriter/pressagio/tests/test_predictor.py similarity index 100% rename from uberwriter_lib/pressagio/tests/test_predictor.py rename to uberwriter/pressagio/tests/test_predictor.py diff --git a/uberwriter_lib/pressagio/tests/test_tokenizer.py b/uberwriter/pressagio/tests/test_tokenizer.py similarity index 100% rename from uberwriter_lib/pressagio/tests/test_tokenizer.py rename to uberwriter/pressagio/tests/test_tokenizer.py diff --git a/uberwriter_lib/pressagio/tokenizer.py b/uberwriter/pressagio/tokenizer.py similarity index 100% rename from uberwriter_lib/pressagio/tokenizer.py rename to uberwriter/pressagio/tokenizer.py diff --git a/uberwriter_lib/pylocales/__init__.py b/uberwriter/pylocales/__init__.py similarity index 100% rename from uberwriter_lib/pylocales/__init__.py rename to uberwriter/pylocales/__init__.py diff --git a/uberwriter_lib/pylocales/locales.db b/uberwriter/pylocales/locales.db similarity index 100% rename from uberwriter_lib/pylocales/locales.db rename to uberwriter/pylocales/locales.db diff --git a/uberwriter_lib/pylocales/locales.py b/uberwriter/pylocales/locales.py similarity index 100% rename from uberwriter_lib/pylocales/locales.py rename to uberwriter/pylocales/locales.py diff --git a/uberwriter/UberwriterSearchAndReplace.py b/uberwriter/search_and_replace.py similarity index 98% rename from uberwriter/UberwriterSearchAndReplace.py rename to uberwriter/search_and_replace.py index d24f82f..63c40a0 100644 --- a/uberwriter/UberwriterSearchAndReplace.py +++ b/uberwriter/search_and_replace.py @@ -16,13 +16,14 @@ 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') -class UberwriterSearchAndReplace(): +class SearchAndReplace(): """ Adds (regex) search and replace functionality to uberwriter diff --git a/uberwriter/Settings.py b/uberwriter/settings.py similarity index 100% rename from uberwriter/Settings.py rename to uberwriter/settings.py diff --git a/uberwriter/UberwriterSidebar.py b/uberwriter/sidebar.py similarity index 96% rename from uberwriter/UberwriterSidebar.py rename to uberwriter/sidebar.py index 6b2b84f..ddc8536 100644 --- a/uberwriter/UberwriterSidebar.py +++ b/uberwriter/sidebar.py @@ -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 @@ -51,7 +53,7 @@ class Shelve(): store.append(node[root], [filename, root + "/" + filename]) -class UberwriterSidebar(): +class Sidebar(): """ Presentational class for shelves and files managed by the "sidebar" @@ -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 diff --git a/uberwriter_lib/tables.py b/uberwriter/tables.py similarity index 100% rename from uberwriter_lib/tables.py rename to uberwriter/tables.py diff --git a/uberwriter/UberwriterTextEditor.py b/uberwriter/text_editor.py similarity index 89% rename from uberwriter/UberwriterTextEditor.py rename to uberwriter/text_editor.py index d2f7a1d..a94a1b2 100644 --- a/uberwriter/UberwriterTextEditor.py +++ b/uberwriter/text_editor.py @@ -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 uberwriter.format_shortcuts 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,16 +109,22 @@ 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 = [] self.not_undoable_action = False self.undo_in_progress = False + self.can_delete = True + self.connect('key-press-event', self.on_key_press_event) + self.format_shortcuts = FormatShortcuts(self.get_buffer(), self) self.connect('insert-italic', self.set_italic) @@ -154,7 +158,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 +374,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 @@ -393,6 +396,12 @@ class TextEditor(Gtk.TextView): toggles self.not_undoable_action""" self.not_undoable_action = False + def on_key_press_event(self, widget, event): + if widget == self and not self.can_delete: + return event.keyval == Gdk.KEY_BackSpace or event.keyval == Gdk.KEY_Delete + else: + return False + def set_italic(self, _widget, _data=None): """Ctrl + I""" self.format_shortcuts.italic() @@ -427,10 +436,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 +456,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) diff --git a/uberwriter/theme.py b/uberwriter/theme.py new file mode 100644 index 0000000..e43ec57 --- /dev/null +++ b/uberwriter/theme.py @@ -0,0 +1,61 @@ +from gi.repository import Gtk + +from uberwriter.settings import Settings +from uberwriter.helpers import get_css_path + + +class Theme: + """ + The Theme enum lists all supported themes using their "gtk-theme-name" value. + + The light variant is listed first, followed by the dark variant, if any. + """ + + settings = Settings.new() + + def __init__(self, name, gtk_css_path, web_css_path, is_dark, inverse_name): + self.name = name + self.gtk_css_path = gtk_css_path + self.web_css_path = web_css_path + self.is_dark = is_dark + self.inverse_name = inverse_name + + @classmethod + def get_for_name(cls, name, default=None): + current_theme = default or defaultThemes[0] + for theme in defaultThemes: + if name == theme.name: + current_theme = theme + return current_theme + + @classmethod + def get_current(cls): + theme_name = Gtk.Settings.get_default().get_property('gtk-theme-name') + dark_mode = cls.settings.get_value('dark-mode').get_boolean() + current_theme = cls.get_for_name(theme_name) + # Technically, we could very easily allow the user to force the light ui on a dark theme. + # However, as there is no inverse of "gtk-application-prefer-dark-theme", we shouldn't do that. + if dark_mode and not current_theme.is_dark and current_theme.inverse_name: + current_theme = cls.get_for_name(current_theme.inverse_name, current_theme.name) + return current_theme + + +defaultThemes = [ + # https://gitlab.gnome.org/GNOME/gtk/tree/master/gtk/theme/Adwaita + Theme('Adwaita', get_css_path('gtk_adwaita.css'), + get_css_path('web_adwaita.css'), False, 'Adwaita-dark'), + Theme('Adwaita-dark', get_css_path('gtk_adwaita_dark.css'), + get_css_path('web_adwaita_dark.css'), True, 'Adwaita'), + # https://github.com/NicoHood/arc-theme/tree/master/common/gtk-3.0/3.20/sass + Theme('Arc', get_css_path('gtk_arc.css'), + get_css_path('web_arc.css'), False, 'Arc-Dark'), + Theme('Arc-Darker', get_css_path('gtk_arc_darker.css'), + get_css_path('web_arc_darker.css'), False, 'Arc-Dark'), + Theme('Arc-Dark', get_css_path('gtk_arc_dark.css'), + get_css_path('web_arc_dark.css'), True, 'Arc'), + # https://gitlab.gnome.org/GNOME/gtk/tree/master/gtk/theme/HighContrast + Theme('HighContrast', get_css_path('gtk_high_contrast.css'), + get_css_path('web_high_contrast.css'), False, 'HighContrastInverse'), + Theme('HighContrastInverse', get_css_path('gtk_high_contrast_inverse.css'), + get_css_path('web_high_contrast_inverse.css'), True, 'HighContrast'), +] diff --git a/uberwriter_lib/uberwriterconfig.py b/uberwriter/uberwriterconfig.py similarity index 97% rename from uberwriter_lib/uberwriterconfig.py rename to uberwriter/uberwriterconfig.py index 8765909..fc3f7b1 100644 --- a/uberwriter_lib/uberwriterconfig.py +++ b/uberwriter/uberwriterconfig.py @@ -47,7 +47,7 @@ def get_data_file(*path_segments): def get_data_path(): """Retrieve uberwriter data path - This path is by default /../data/ in trunk + This path is by default /../data/ in trunk and /opt/uberwriter/data in an installed version but this path is specified at installation time. """ diff --git a/uberwriter_lib/webkit2png/webkit2png.py b/uberwriter/webkit2png/webkit2png.py similarity index 100% rename from uberwriter_lib/webkit2png/webkit2png.py rename to uberwriter/webkit2png/webkit2png.py diff --git a/uberwriter/UberwriterWindow.py b/uberwriter/window.py similarity index 85% rename from uberwriter/UberwriterWindow.py rename to uberwriter/window.py index 6d3f6b6..ba784c7 100644 --- a/uberwriter/UberwriterWindow.py +++ b/uberwriter/window.py @@ -14,42 +14,45 @@ # with this program. If not, see . # END LICENSE -import locale -import subprocess -import os import codecs -import webbrowser -import urllib +import locale import logging - import mimetypes +import os import re - +import subprocess +import urllib +import webbrowser 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 +from gi.repository.GObject import param_spec_string + + +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 import cairo # import cairo.Pattern, cairo.SolidPattern -from . import headerbars -from uberwriter_lib import helpers -from uberwriter_lib.helpers import get_builder -from uberwriter_lib.gtkspellcheck import SpellChecker +from uberwriter import headerbars +from uberwriter import helpers +from uberwriter.theme import Theme +from uberwriter.helpers import get_builder +from uberwriter.gtkspellcheck import SpellChecker -from .MarkupBuffer import MarkupBuffer -from .UberwriterTextEditor import TextEditor -from .UberwriterInlinePreview import UberwriterInlinePreview -from .UberwriterSidebar import UberwriterSidebar -from .UberwriterSearchAndReplace import UberwriterSearchAndReplace -from .Settings import Settings -# from .UberwriterAutoCorrect import UberwriterAutoCorrect +from uberwriter.markup_buffer import MarkupBuffer +from uberwriter.text_editor import TextEditor +from uberwriter.inline_preview import InlinePreview +from uberwriter.sidebar import Sidebar +from uberwriter.search_and_replace import SearchAndReplace +from uberwriter.settings import Settings +# from .auto_correct import AutoCorrect -from .UberwriterExportDialog import Export +from uberwriter.export_dialog import Export # from .plugins.bibtex import BibTex # Some Globals # TODO move them somewhere for better @@ -61,9 +64,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" +class Window(Gtk.ApplicationWindow): + WORDCOUNT = re.compile(r"(?!\-\w)[\s#*\+\-]+", re.UNICODE) def __init__(self, app): @@ -112,7 +115,7 @@ class UberwriterWindow(Gtk.ApplicationWindow): self.accel_group = Gtk.AccelGroup() self.add_accel_group(self.accel_group) - # Setup light background + # Setup text editor self.text_editor = TextEditor() self.text_editor.set_name('UberwriterEditor') self.get_style_context().add_class('uberwriter_window') @@ -142,6 +145,9 @@ class UberwriterWindow(Gtk.ApplicationWindow): self.text_editor.show() self.text_editor.grab_focus() + # Setup preview webview + self.preview_webview = None + self.editor_alignment = self.builder.get_object('editor_alignment') self.scrolled_window = self.builder.get_object('editor_scrolledwindow') self.scrolled_window.props.width_request = 600 @@ -149,7 +155,7 @@ class UberwriterWindow(Gtk.ApplicationWindow): self.alignment_padding = 40 self.editor_viewport = self.builder.get_object('editor_viewport') - # some people seems to have performance problems with the overlay. + # some people seems to have performance problems with the overlay. # Let them disable it if self.settings.get_value("gradient-overlay"): @@ -177,21 +183,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('arc_style.css')) - - # 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( self, self.text_buffer, base_leftmargin) self.markup_buffer.markup_buffer() - # Setup dark mode if so - self.toggle_dark_mode(self.settings.get_value("dark-mode")) + # Set current theme + self.apply_current_theme() # Scrolling -> Dark or not? self.textchange = False @@ -221,7 +219,7 @@ class UberwriterWindow(Gtk.ApplicationWindow): # Events for Typewriter mode # Setting up inline preview - self.inline_preview = UberwriterInlinePreview( + self.inline_preview = InlinePreview( self.text_editor, self.text_buffer) # Vertical scrolling @@ -230,23 +228,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 ### @@ -254,14 +236,14 @@ class UberwriterWindow(Gtk.ApplicationWindow): ### self.paned_window = self.builder.get_object("main_pained") self.sidebar_box = self.builder.get_object("sidebar_box") - self.sidebar = UberwriterSidebar(self) + self.sidebar = Sidebar(self) self.sidebar_box.hide() ### # Search and replace initialization # Same interface as Sidebar ;) ### - self.searchreplace = UberwriterSearchAndReplace(self) + self.searchreplace = SearchAndReplace(self) # Window resize self.window_resize(self) @@ -278,6 +260,18 @@ class UberwriterWindow(Gtk.ApplicationWindow): 'close-window': (GObject.SIGNAL_ACTION, None, ()) } + def apply_current_theme(self): + """Adjusts both the window and the CSD for the current theme. + """ + + self.markup_buffer.update_style() + + # Reload preview if it exists, otherwise redraw contents of window (self) + if self.preview_webview: + self.show_preview() + else: + self.queue_draw() + def scrolled(self, widget): """if window scrolled + focusmode make font black again""" # if self.focusmode: @@ -364,7 +358,7 @@ class UberwriterWindow(Gtk.ApplicationWindow): self.update_line_and_char_count() self.check_scroll(self.text_buffer.get_insert()) - def toggle_fullscreen(self, state): + def set_fullscreen(self, state): """Puts the application in fullscreen mode and show/hides the poller for motion in the top border @@ -382,7 +376,7 @@ class UberwriterWindow(Gtk.ApplicationWindow): self.text_editor.grab_focus() - def set_focusmode(self, state): + def set_focus_mode(self, state): """toggle focusmode """ @@ -392,14 +386,14 @@ 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) else: self.remove_typewriter() self.focusmode = False - self.text_buffer.remove_tag(self.markup_buffer.grayfont, + self.text_buffer.remove_tag(self.markup_buffer.unfocused_text, self.text_buffer.get_start_iter(), self.text_buffer.get_end_iter()) self.text_buffer.remove_tag(self.markup_buffer.blackfont, @@ -410,10 +404,16 @@ 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) + def set_hemingway_mode(self, state): + """toggle hemingwaymode + """ + self.text_editor.can_delete = not state.get_boolean() + self.text_editor.grab_focus() + def on_focusmode_click(self, *_args): """call MarkupBuffer to mark as bold the line where the cursor is """ @@ -464,7 +464,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: @@ -499,8 +499,8 @@ class UberwriterWindow(Gtk.ApplicationWindow): self.window_height = widget.get_allocation().height w_width = widget.get_allocation().width # Calculate left / right margin - width_request = 600 if w_width < 900: + width_request = 600 self.markup_buffer.set_multiplier(8) self.current_font_size = 12 self.alignment_padding = 30 @@ -510,8 +510,8 @@ class UberwriterWindow(Gtk.ApplicationWindow): self.get_style_context().add_class("small") elif w_width < 1400: - self.markup_buffer.set_multiplier(10) width_request = 800 + self.markup_buffer.set_multiplier(10) self.current_font_size = 15 self.alignment_padding = 40 lm = 7 * 10 @@ -520,9 +520,9 @@ class UberwriterWindow(Gtk.ApplicationWindow): self.get_style_context().add_class("medium") else: + width_request = 1000 self.markup_buffer.set_multiplier(13) self.current_font_size = 17 - width_request = 1000 self.alignment_padding = 60 lm = 7 * 13 self.get_style_context().remove_class("medium") @@ -540,7 +540,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() @@ -759,37 +759,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, @@ -839,9 +840,28 @@ class UberwriterWindow(Gtk.ApplicationWindow): state {gtk bool} -- Desired state of the preview mode (enabled/disabled) """ - if state.get_boolean(): + self.show_preview() + else: + self.show_text_editor() + return True + + def show_text_editor(self): + self.scrolled_window.remove(self.scrolled_window.get_child()) + self.scrolled_window.add(self.text_editor) + self.text_editor.show() + self.preview_webview.destroy() + self.preview_webview = None + self.queue_draw() + + def show_preview(self, loaded=False): + if loaded: + self.scrolled_window.remove(self.scrolled_window.get_child()) + self.scrolled_window.add(self.preview_webview) + self.preview_webview.show() + self.queue_draw() + else: # Insert a tag with ID to scroll to # self.TextBuffer.insert_at_cursor('') # TODO @@ -856,80 +876,44 @@ class UberwriterWindow(Gtk.ApplicationWindow): base_path = '' os.environ['PANDOC_PREFIX'] = base_path + '/' - # Set the styles according the color theme - if self.settings.get_value("dark-mode"): - stylesheet = helpers.get_media_path('github-md-dark.css') - else: - stylesheet = helpers.get_media_path('github-md.css') - args = ['pandoc', '-s', '--from=markdown', '--to=html5', '--mathjax', - '--css=' + stylesheet, - '--lua-filter=' + - helpers.get_script_path('relative_to_absolute.lua'), + '--css=' + Theme.get_current().web_css_path, + '--quiet', + '--lua-filter=' + helpers.get_script_path('relative_to_absolute.lua'), '--lua-filter=' + helpers.get_script_path('task-list.lua')] + # TODO: find a way to pass something like this instead of the quiet arg + #'--metadata pagetitle="test"', + proc = subprocess.Popen( args, stdin=subprocess.PIPE, stdout=subprocess.PIPE) text = bytes(self.get_text(), "utf-8") output = proc.communicate(text)[0] - # Load in Webview and scroll to #ID - self.preview_webview = WebKit.WebView() - webview_settings = self.preview_webview.get_settings() - webview_settings.set_allow_universal_access_from_file_urls( - True) + if self.preview_webview is None: + self.preview_webview = WebKit.WebView() + self.preview_webview.get_settings().set_allow_universal_access_from_file_urls(True) + + # Delete the cursor-scroll mark again + # cursor_iter = self.TextBuffer.get_iter_at_mark(self.TextBuffer.get_insert()) + # begin_del = cursor_iter.copy() + # begin_del.backward_chars(30) + # self.TextBuffer.delete(begin_del, cursor_iter) + + # Show preview once the load is finished + self.preview_webview.connect("load-changed", self.on_preview_load_change) + + # This saying that all links will be opened in default browser, \ + # but local files are opened in appropriate apps: + self.preview_webview.connect("decide-policy", self.on_click_link) + self.preview_webview.load_html(output.decode("utf-8"), 'file://localhost/') - # Delete the cursor-scroll mark again - # cursor_iter = self.TextBuffer.get_iter_at_mark(self.TextBuffer.get_insert()) - # begin_del = cursor_iter.copy() - # begin_del.backward_chars(30) - # self.TextBuffer.delete(begin_del, cursor_iter) - - self.scrolled_window.remove(self.text_editor) - self.scrolled_window.add(self.preview_webview) - self.preview_webview.show() - - # This saying that all links will be opened in default browser, \ - # but local files are opened in appropriate apps: - self.preview_webview.connect("decide-policy", self.on_click_link) - else: - self.scrolled_window.remove(self.preview_webview) - self.preview_webview.destroy() - self.scrolled_window.add(self.text_editor) - self.text_editor.show() - - self.queue_draw() - return True - - def toggle_dark_mode(self, state): - """Toggle the dark mode, both for the window and for the CSD - - Arguments: - state {gtk bool} -- Desired state of the dark mode (enabled/disabled) - """ - - # Save state for saving settings later - - if state: - # Dark Mode is on - self.get_style_context().add_class("dark_mode") - self.headerbar.hb_container.get_style_context().add_class("dark_mode") - self.markup_buffer.dark_mode(True) - else: - # Dark mode off - self.get_style_context().remove_class("dark_mode") - self.headerbar.hb_container.get_style_context().remove_class("dark_mode") - self.markup_buffer.dark_mode(False) - - # Redraw contents of window (self) - self.queue_draw() - def load_file(self, filename=None): """Open File from command line or open / open recent etc.""" if self.check_change() == Gtk.ResponseType.CANCEL: @@ -1007,7 +991,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) @@ -1057,7 +1041,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( @@ -1071,7 +1055,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( @@ -1085,7 +1069,7 @@ class UberwriterWindow(Gtk.ApplicationWindow): """ pass # try: - # self.auto_correct = UberwriterAutoCorrect( + # self.auto_correct = AutoCorrect( # self.text_editor, self.text_buffer) # except: # LOGGER.debug("Couldn't install autocorrect.") @@ -1139,6 +1123,12 @@ class UberwriterWindow(Gtk.ApplicationWindow): base_path = "/" self.settings.set_value("open-file-path", GLib.Variant("s", base_path)) + def on_preview_load_change(self, webview, event): + """swaps text editor with preview once the load is complete + """ + if event == WebKit.LoadEvent.FINISHED: + self.show_preview(loaded=True) + def on_click_link(self, web_view, decision, _decision_type): """provide ability for self.webview to open links in default browser """ diff --git a/uberwriter_lib/.pylintrc b/uberwriter_lib/.pylintrc deleted file mode 100644 index 2dc4fd2..0000000 --- a/uberwriter_lib/.pylintrc +++ /dev/null @@ -1,568 +0,0 @@ -[MASTER] - -# A comma-separated list of package or module names from where C extensions may -# be loaded. Extensions are loading into the active Python interpreter and may -# run arbitrary code. -extension-pkg-whitelist= - -# Add files or directories to the blacklist. They should be base names, not -# paths. -ignore=CVS - -# Add files or directories matching the regex patterns to the blacklist. The -# regex matches against base names, not paths. -ignore-patterns= - -# Python code to execute, usually for sys.path manipulation such as -# pygtk.require(). -#init-hook= - -# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the -# number of processors available to use. -jobs=1 - -# Control the amount of potential inferred values when inferring a single -# object. This can help the performance when dealing with large functions or -# complex, nested conditions. -limit-inference-results=100 - -# List of plugins (as comma separated values of python modules names) to load, -# usually to register additional checkers. -load-plugins= - -# Pickle collected data for later comparisons. -persistent=yes - -# Specify a configuration file. -#rcfile= - -# When enabled, pylint would attempt to guess common misconfiguration and emit -# user-friendly hints instead of false-positive error messages. -suggestion-mode=yes - -# Allow loading of arbitrary C extensions. Extensions are imported into the -# active Python interpreter and may run arbitrary code. -unsafe-load-any-extension=no - - -[MESSAGES CONTROL] - -# Only show warnings with the listed confidence levels. Leave empty to show -# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED. -confidence= - -# Disable the message, report, category or checker with the given id(s). You -# can either give multiple identifiers separated by comma (,) or put this -# option multiple times (only on the command line, not in the configuration -# file where it should appear only once). You can also use "--disable=all" to -# disable everything first and then reenable specific checks. For example, if -# you want to run only the similarities checker, you can use "--disable=all -# --enable=similarities". If you want to run only the classes checker, but have -# no Warning level messages displayed, use "--disable=all --enable=classes -# --disable=W". -# disable=print-statement, - parameter-unpacking, - unpacking-in-except, - old-raise-syntax, - backtick, - long-suffix, - old-ne-operator, - old-octal-literal, - import-star-module-level, - non-ascii-bytes-literal, - raw-checker-failed, - bad-inline-option, - locally-disabled, - locally-enabled, - file-ignored, - suppressed-message, - useless-suppression, - deprecated-pragma, - use-symbolic-message-instead, - apply-builtin, - basestring-builtin, - buffer-builtin, - cmp-builtin, - coerce-builtin, - execfile-builtin, - file-builtin, - long-builtin, - raw_input-builtin, - reduce-builtin, - standarderror-builtin, - unicode-builtin, - xrange-builtin, - coerce-method, - delslice-method, - getslice-method, - setslice-method, - no-absolute-import, - old-division, - dict-iter-method, - dict-view-method, - next-method-called, - metaclass-assignment, - indexing-exception, - raising-string, - reload-builtin, - oct-method, - hex-method, - nonzero-method, - cmp-method, - input-builtin, - round-builtin, - intern-builtin, - unichr-builtin, - map-builtin-not-iterating, - zip-builtin-not-iterating, - range-builtin-not-iterating, - filter-builtin-not-iterating, - using-cmp-argument, - eq-without-hash, - div-method, - idiv-method, - rdiv-method, - exception-message-attribute, - invalid-str-codec, - sys-max-int, - bad-python3-import, - deprecated-string-function, - deprecated-str-translate-call, - deprecated-itertools-function, - deprecated-types-field, - next-method-defined, - dict-items-not-iterating, - dict-keys-not-iterating, - dict-values-not-iterating, - deprecated-operator-function, - deprecated-urllib-function, - xreadlines-attribute, - deprecated-sys-function, - exception-escape, - comprehension-escape - -# Enable the message, report, category or checker with the given id(s). You can -# either give multiple identifier separated by comma (,) or put this option -# multiple time (only on the command line, not in the configuration file where -# it should appear only once). See also the "--disable" option for examples. -enable=c-extension-no-member - - -[REPORTS] - -# Python expression which should return a note less than 10 (10 is the highest -# note). You have access to the variables errors warning, statement which -# respectively contain the number of errors / warnings messages and the total -# number of statements analyzed. This is used by the global evaluation report -# (RP0004). -evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) - -# Template used to display messages. This is a python new-style format string -# used to format the message information. See doc for all details. -#msg-template= - -# Set the output format. Available formats are text, parseable, colorized, json -# and msvs (visual studio). You can also give a reporter class, e.g. -# mypackage.mymodule.MyReporterClass. -output-format=msvs - -# Tells whether to display a full report or only the messages. -reports=yes - -# Activate the evaluation score. -score=yes - - -[REFACTORING] - -# Maximum number of nested blocks for function / method body -max-nested-blocks=5 - -# Complete name of functions that never returns. When checking for -# inconsistent-return-statements if a never returning function is called then -# it will be considered as an explicit return statement and no message will be -# printed. -never-returning-functions=sys.exit - - -[FORMAT] - -# Expected format of line ending, e.g. empty (any line ending), LF or CRLF. -expected-line-ending-format= - -# Regexp for a line that is allowed to be longer than the limit. -ignore-long-lines=^\s*(# )??$ - -# Number of spaces of indent required inside a hanging or continued line. -indent-after-paren=4 - -# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 -# tab). -indent-string=' ' - -# Maximum number of characters on a single line. -max-line-length=100 - -# Maximum number of lines in a module. -max-module-lines=1000 - -# List of optional constructs for which whitespace checking is disabled. `dict- -# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. -# `trailing-comma` allows a space between comma and closing bracket: (a, ). -# `empty-line` allows space-only lines. -no-space-check=trailing-comma, - dict-separator - -# Allow the body of a class to be on the same line as the declaration if body -# contains single statement. -single-line-class-stmt=no - -# Allow the body of an if to be on the same line as the test if there is no -# else. -single-line-if-stmt=no - - -[LOGGING] - -# Logging modules to check that the string format arguments are in logging -# function parameter format. -logging-modules=logging - - -[SPELLING] - -# Limits count of emitted suggestions for spelling mistakes. -max-spelling-suggestions=4 - -# Spelling dictionary name. Available dictionaries: he (hspell), en_IE -# (hunspell), es_BO (hunspell), en_NZ (hunspell), es_DO (hunspell), es_MX -# (hunspell), en_ZA (hunspell), en_IN (hunspell), en_TT (hunspell), ca -# (aspell), ca_FR (hunspell), es_HN (hunspell), ca_AD (hunspell), es_SV -# (hunspell), es_PA (hunspell), en_DK (hunspell), es_NI (hunspell), es_PE -# (hunspell), en_SG (hunspell), es_UY (hunspell), en_BS (hunspell), en_BW -# (hunspell), es_CL (hunspell), es_AR (hunspell), en_BZ (hunspell), es_CO -# (hunspell), en_ZW (hunspell), en_HK (hunspell), es_CR (hunspell), en_NA -# (hunspell), es_PR (hunspell), en_JM (hunspell), es_VE (hunspell), en_AG -# (hunspell), es_CU (hunspell), en_NG (hunspell), ca_ES (hunspell), es_ES -# (hunspell), es_ANY (hunspell), es_EC (hunspell), es_GT (hunspell), en_PH -# (hunspell), en_GB (hunspell), en_US (hunspell), ca_IT (hunspell), es_PY -# (hunspell), en_GH (hunspell).. -spelling-dict= - -# List of comma separated words that should not be checked. -spelling-ignore-words= - -# A path to a file that contains private dictionary; one word per line. -spelling-private-dict-file= - -# Tells whether to store unknown words to indicated private dictionary in -# --spelling-private-dict-file option instead of raising a message. -spelling-store-unknown-words=no - - -[SIMILARITIES] - -# Ignore comments when computing similarities. -ignore-comments=yes - -# Ignore docstrings when computing similarities. -ignore-docstrings=yes - -# Ignore imports when computing similarities. -ignore-imports=no - -# Minimum lines number of a similarity. -min-similarity-lines=4 - - -[TYPECHECK] - -# List of decorators that produce context managers, such as -# contextlib.contextmanager. Add to this list to register other decorators that -# produce valid context managers. -contextmanager-decorators=contextlib.contextmanager - -# List of members which are set dynamically and missed by pylint inference -# system, and so shouldn't trigger E1101 when accessed. Python regular -# expressions are accepted. -generated-members= - -# Tells whether missing members accessed in mixin class should be ignored. A -# mixin class is detected if its name ends with "mixin" (case insensitive). -ignore-mixin-members=yes - -# Tells whether to warn about missing members when the owner of the attribute -# is inferred to be None. -ignore-none=yes - -# This flag controls whether pylint should warn about no-member and similar -# checks whenever an opaque object is returned when inferring. The inference -# can return multiple potential results while evaluating a Python object, but -# some branches might not be evaluated, which results in partial inference. In -# that case, it might be useful to still emit no-member and other checks for -# the rest of the inferred objects. -ignore-on-opaque-inference=yes - -# List of class names for which member attributes should not be checked (useful -# for classes with dynamically set attributes). This supports the use of -# qualified names. -ignored-classes=optparse.Values,thread._local,_thread._local - -# List of module names for which member attributes should not be checked -# (useful for modules/projects where namespaces are manipulated during runtime -# and thus existing member attributes cannot be deduced by static analysis. It -# supports qualified module names, as well as Unix pattern matching. -ignored-modules= - -# Show a hint with possible names when a member name was not found. The aspect -# of finding the hint is based on edit distance. -missing-member-hint=yes - -# The minimum edit distance a name should have in order to be considered a -# similar match for a missing member name. -missing-member-hint-distance=1 - -# The total number of similar names that should be taken in consideration when -# showing a hint for a missing member. -missing-member-max-choices=1 - - -[BASIC] - -# Naming style matching correct argument names. -argument-naming-style=snake_case - -# Regular expression matching correct argument names. Overrides argument- -# naming-style. -#argument-rgx= - -# Naming style matching correct attribute names. -attr-naming-style=snake_case - -# Regular expression matching correct attribute names. Overrides attr-naming- -# style. -#attr-rgx= - -# Bad variable names which should always be refused, separated by a comma. -bad-names=foo, - bar, - baz, - toto, - tutu, - tata - -# Naming style matching correct class attribute names. -class-attribute-naming-style=any - -# Regular expression matching correct class attribute names. Overrides class- -# attribute-naming-style. -#class-attribute-rgx= - -# Naming style matching correct class names. -class-naming-style=PascalCase - -# Regular expression matching correct class names. Overrides class-naming- -# style. -#class-rgx= - -# Naming style matching correct constant names. -const-naming-style=UPPER_CASE - -# Regular expression matching correct constant names. Overrides const-naming- -# style. -#const-rgx= - -# Minimum line length for functions/classes that require docstrings, shorter -# ones are exempt. -docstring-min-length=-1 - -# Naming style matching correct function names. -function-naming-style=snake_case - -# Regular expression matching correct function names. Overrides function- -# naming-style. -#function-rgx= - -# Good variable names which should always be accepted, separated by a comma. -good-names=i, - j, - k, - ex, - Run, - _ - -# Include a hint for the correct naming format with invalid-name. -include-naming-hint=yes - -# Naming style matching correct inline iteration names. -inlinevar-naming-style=any - -# Regular expression matching correct inline iteration names. Overrides -# inlinevar-naming-style. -#inlinevar-rgx= - -# Naming style matching correct method names. -method-naming-style=snake_case - -# Regular expression matching correct method names. Overrides method-naming- -# style. -#method-rgx= - -# Naming style matching correct module names. -module-naming-style=snake_case - -# Regular expression matching correct module names. Overrides module-naming- -# style. -#module-rgx= - -# Colon-delimited sets of names that determine each other's naming style when -# the name regexes allow several styles. -name-group= - -# Regular expression which should only match function or class names that do -# not require a docstring. -no-docstring-rgx=^_ - -# List of decorators that produce properties, such as abc.abstractproperty. Add -# to this list to register other decorators that produce valid properties. -property-classes=abc.abstractproperty - -# Naming style matching correct variable names. -variable-naming-style=snake_case - -# Regular expression matching correct variable names. Overrides variable- -# naming-style. -#variable-rgx= - - -[VARIABLES] - -# List of additional names supposed to be defined in builtins. Remember that -# you should avoid to define new builtins when possible. -additional-builtins= - -# Tells whether unused global variables should be treated as a violation. -allow-global-unused-variables=yes - -# List of strings which can identify a callback function by name. A callback -# name must start or end with one of those strings. -callbacks=cb_, - _cb - -# A regular expression matching the name of dummy variables (i.e. expected to -# not be used). -dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_ - -# Argument names that match this expression will be ignored. Default to name -# with leading underscore. -ignored-argument-names=_.*|^ignored_|^unused_ - -# Tells whether we should check for unused import in __init__ files. -init-import=no - -# List of qualified module names which can have objects that can redefine -# builtins. -redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io - - -[MISCELLANEOUS] - -# List of note tags to take in consideration, separated by a comma. -notes=FIXME, - XXX, - TODO - - -[CLASSES] - -# List of method names used to declare (i.e. assign) instance attributes. -defining-attr-methods=__init__, - __new__, - setUp - -# List of member names, which should be excluded from the protected access -# warning. -exclude-protected=_asdict, - _fields, - _replace, - _source, - _make - -# List of valid names for the first argument in a class method. -valid-classmethod-first-arg=cls - -# List of valid names for the first argument in a metaclass class method. -valid-metaclass-classmethod-first-arg=cls - - -[DESIGN] - -# Maximum number of arguments for function / method. -max-args=5 - -# Maximum number of attributes for a class (see R0902). -max-attributes=7 - -# Maximum number of boolean expressions in an if statement. -max-bool-expr=5 - -# Maximum number of branch for function / method body. -max-branches=12 - -# Maximum number of locals for function / method body. -max-locals=15 - -# Maximum number of parents for a class (see R0901). -max-parents=7 - -# Maximum number of public methods for a class (see R0904). -max-public-methods=20 - -# Maximum number of return / yield for function / method body. -max-returns=6 - -# Maximum number of statements in function / method body. -max-statements=50 - -# Minimum number of public methods for a class (see R0903). -min-public-methods=2 - - -[IMPORTS] - -# Allow wildcard imports from modules that define __all__. -allow-wildcard-with-all=no - -# Analyse import fallback blocks. This can be used to support both Python 2 and -# 3 compatible code, which means that the block might have code that exists -# only in one or another interpreter, leading to false positives when analysed. -analyse-fallback-blocks=no - -# Deprecated modules which should not be used, separated by a comma. -deprecated-modules=optparse,tkinter.tix - -# Create a graph of external dependencies in the given file (report RP0402 must -# not be disabled). -ext-import-graph= - -# Create a graph of every (i.e. internal and external) dependencies in the -# given file (report RP0402 must not be disabled). -import-graph= - -# Create a graph of internal dependencies in the given file (report RP0402 must -# not be disabled). -int-import-graph= - -# Force import order to recognize a module as part of the standard -# compatibility libraries. -known-standard-library= - -# Force import order to recognize a module as part of a third party library. -known-third-party=enchant - - -[EXCEPTIONS] - -# Exceptions that will emit a warning when being caught. Defaults to -# "Exception". -overgeneral-exceptions=Exception diff --git a/uberwriter_lib/__init__.py b/uberwriter_lib/__init__.py deleted file mode 100644 index 8bbd9d2..0000000 --- a/uberwriter_lib/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- -### BEGIN LICENSE -# Copyright (C) 2012, Wolf Vollprecht -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3, as published -# by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranties of -# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . -### END LICENSE - -### DO NOT EDIT THIS FILE ### - -'''facade - makes uberwriter_lib package easy to refactor - -while keeping its api constant''' -from . helpers import set_up_logging -# from . AppWindow import Window -from . uberwriterconfig import get_version