Hello community,

here is the log from the commit of package quilter for openSUSE:Factory checked 
in at 2018-01-24 15:29:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quilter (Old)
 and      /work/SRC/openSUSE:Factory/.quilter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "quilter"

Wed Jan 24 15:29:05 2018 rev:3 rq:568119 version:1.4.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/quilter/quilter.changes  2018-01-13 
21:49:46.856106837 +0100
+++ /work/SRC/openSUSE:Factory/.quilter.new/quilter.changes     2018-01-24 
15:29:08.994163135 +0100
@@ -1,0 +2,10 @@
+Sat Jan 20 12:00:04 UTC 2018 - [email protected]
+
+- Update to 1.4.6:
+  * 1.4.5 - update metadata files
+  * 1.4.5- even more flatpak friendly
+  * 1.4.5 - Focus only current sentence (PR #116 from wyhasany)
+  * Add focus type configuration option in Preferences window
+  * Focus only current sentence
+
+-------------------------------------------------------------------

Old:
----
  quilter-1.4.4.tar.gz

New:
----
  quilter-1.4.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ quilter.spec ++++++
--- /var/tmp/diff_new_pack.8kjU1C/_old  2018-01-24 15:29:09.694130397 +0100
+++ /var/tmp/diff_new_pack.8kjU1C/_new  2018-01-24 15:29:09.698130211 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           quilter
-Version:        1.4.4
+Version:        1.4.6
 Release:        0
 Summary:        Writing application
 License:        GPL-3.0

++++++ quilter-1.4.4.tar.gz -> quilter-1.4.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/quilter-1.4.4/data/com.github.lainsce.quilter.appdata.xml 
new/quilter-1.4.6/data/com.github.lainsce.quilter.appdata.xml
--- old/quilter-1.4.4/data/com.github.lainsce.quilter.appdata.xml       
2017-12-25 18:01:53.000000000 +0100
+++ new/quilter-1.4.6/data/com.github.lainsce.quilter.appdata.xml       
2018-01-13 16:31:11.000000000 +0100
@@ -24,6 +24,15 @@
     <url type="homepage">https://github.com/lainsce/quilter/</url>
     <url type="bugtracker">https://github.com/lainsce/quilter/issues</url>
     <releases>
+        <release version="1.4.5" date="2018-01-13">
+           <description>
+               <p>Release: Focus Mode with a Glasses Push-up</p>
+               <ul>
+                   <li>In the Preferences, select if you want Focus Mode to 
highlight the sentence or the paragraph. (Contributed by Michał "wyhasany" 
Rowicki)</li>
+                   <li>Add Polish translation</li>
+               </ul>
+           </description>
+        </release>
         <release version="1.4.4" date="2018-01-05">
            <description>
                <p>Release: Highlight Your Path</p>
@@ -131,6 +140,5 @@
     <custom>
         <value key="x-appcenter-color-primary">#b8d2e2</value>
         <value key="x-appcenter-color-primary-text">#333333</value>
-        <!--><value key="x-appcenter-suggested-price">2</value><-->
     </custom>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/quilter-1.4.4/data/com.github.lainsce.quilter.desktop 
new/quilter-1.4.6/data/com.github.lainsce.quilter.desktop
--- old/quilter-1.4.4/data/com.github.lainsce.quilter.desktop   2017-12-25 
18:01:53.000000000 +0100
+++ new/quilter-1.4.6/data/com.github.lainsce.quilter.desktop   2018-01-13 
16:31:11.000000000 +0100
@@ -3,6 +3,7 @@
 Comment=Focus on your writing
 Comment[pt_BR]=Foque na sua escrita
 Comment[es]=Foque en su escritura
+Comment[pl]=Skup się na pisaniu
 Exec=com.github.lainsce.quilter %U
 Icon=com.github.lainsce.quilter
 Keywords=Text;Markdown;Editor;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/quilter-1.4.4/data/com.github.lainsce.quilter.gschema.xml 
new/quilter-1.4.6/data/com.github.lainsce.quilter.gschema.xml
--- old/quilter-1.4.4/data/com.github.lainsce.quilter.gschema.xml       
2017-12-25 18:01:53.000000000 +0100
+++ new/quilter-1.4.6/data/com.github.lainsce.quilter.gschema.xml       
2018-01-13 16:31:11.000000000 +0100
@@ -84,5 +84,9 @@
                            <default>80</default>
                            <summary>The margins for the Editor View</summary>
         </key>
+        <key name="focus-mode-type" type="i">
+                           <default>0</default>
+                           <summary>The type of Focus Mode</summary>
+        </key>
                </schema>
 </schemalist>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/debian/changelog 
new/quilter-1.4.6/debian/changelog
--- old/quilter-1.4.4/debian/changelog  2017-12-25 18:01:53.000000000 +0100
+++ new/quilter-1.4.6/debian/changelog  2018-01-13 16:31:11.000000000 +0100
@@ -1,5 +1,12 @@
 com.github.lainsce.quilter (1.4.4) xenial; urgency=low
 
+  * In the Preferences, select if you want Focus Mode to highlight the 
sentence or the paragraph. (Contributed by Michał "wyhasany" Rowicki)
+  * Add Polish translation
+
+ -- Lains <[email protected]>  Sat, 13 Jan 2018 19:40:00 -0300
+
+com.github.lainsce.quilter (1.4.4) xenial; urgency=low
+
   * In Preview Mode, your code block now have syntax highlighting.
   * Saving Files and Opening Files are now safer, with the subtitle always 
updating accordingly.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/meson/post_install.py 
new/quilter-1.4.6/meson/post_install.py
--- old/quilter-1.4.4/meson/post_install.py     2017-12-25 18:01:53.000000000 
+0100
+++ new/quilter-1.4.6/meson/post_install.py     2018-01-13 16:31:11.000000000 
+0100
@@ -4,7 +4,6 @@
 import subprocess
 
 schemadir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 
'glib-2.0', 'schemas')
-icondir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'icons', 
'hicolor')
 
 if not os.environ.get('DESTDIR'):
     print('Compiling gsettings schemas...')
@@ -13,8 +12,5 @@
     print('Recaching mimetype handlers...')
     subprocess.call(['update-desktop-database'], shell=False)
 
-    print('Rebuilding desktop icons cache...')
-    subprocess.call(['update-icon-caches', icondir], shell=False)
-
     print('Rebuilding font cache...')
     subprocess.call(['fc-cache -f'], shell=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/meson.build 
new/quilter-1.4.6/meson.build
--- old/quilter-1.4.4/meson.build       2017-12-25 18:01:53.000000000 +0100
+++ new/quilter-1.4.6/meson.build       2018-01-13 16:31:11.000000000 +0100
@@ -1,6 +1,6 @@
 # Name our project
 project('com.github.lainsce.quilter', ['vala', 'c'],
-    version: '1.4.4'
+    version: '1.4.5'
 )
 
 # Import main lib files
@@ -58,6 +58,7 @@
     'src/Widgets/Cheatsheet.vala',
     'src/Styles/quilter.vala',
     'src/Styles/quilterdark.vala',
+    'src/Constants/FocusMode.vala',
     'src/Constants/AppSettings.vala',
     'src/Services/FileManager.vala',
     'src/Services/DialogUtils.vala',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/po/LINGUAS new/quilter-1.4.6/po/LINGUAS
--- old/quilter-1.4.4/po/LINGUAS        2017-12-25 18:01:53.000000000 +0100
+++ new/quilter-1.4.6/po/LINGUAS        2018-01-13 16:31:11.000000000 +0100
@@ -1,3 +1,5 @@
 pt_BR
 es
 it
+de
+pl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/po/com.github.lainsce.quilter.pot 
new/quilter-1.4.6/po/com.github.lainsce.quilter.pot
--- old/quilter-1.4.4/po/com.github.lainsce.quilter.pot 2017-12-25 
18:01:53.000000000 +0100
+++ new/quilter-1.4.6/po/com.github.lainsce.quilter.pot 2018-01-13 
16:31:11.000000000 +0100
@@ -73,7 +73,7 @@
 msgid "Focus Mode"
 msgstr ""
 
-#: src/Widgets/Preferences.vala:47 src/Widgets/Preferences.vala:68
+#: src/Widgets/Preferences.vala:47 src/Widgets/Preferences.vala:67
 msgid "Editor"
 msgstr ""
 
@@ -277,3 +277,16 @@
 #: src/Services/DialogUtils.vala:83
 msgid "Close without saving"
 msgstr ""
+
+#: src/Widgets/Preferences.vala:185
+msgid "Type of Focus Mode:"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:187
+msgid "Sentence"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:188
+msgid "Paragraph"
+msgstr ""
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/po/de.po new/quilter-1.4.6/po/de.po
--- old/quilter-1.4.4/po/de.po  1970-01-01 01:00:00.000000000 +0100
+++ new/quilter-1.4.6/po/de.po  2018-01-13 16:31:11.000000000 +0100
@@ -0,0 +1,291 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the 
com.github.lainsce.quilter package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.quilter\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-15 17:16-0200\n"
+"PO-Revision-Date: 2018-01-01 21:25+0100\n"
+"Last-Translator: Joerg Arnold <[email protected]>\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"
+
+#: src/MainWindow.vala:70
+msgid "Quilter"
+msgstr "Quilter"
+
+#: src/MainWindow.vala:168
+msgid "New file"
+msgstr "Neue Datei"
+
+#: src/MainWindow.vala:176
+msgid "Save as…"
+msgstr "Speichern unter..."
+
+#: src/MainWindow.vala:190 src/Services/DialogUtils.vala:63
+msgid "Save file"
+msgstr "Speichern"
+
+#: src/MainWindow.vala:204
+msgid "Open…"
+msgstr "Öffnen..."
+
+#: src/MainWindow.vala:217
+msgid "Settings"
+msgstr "Einstellungen"
+
+#: src/MainWindow.vala:221
+msgid "Markdown Cheatsheet"
+msgstr "Markdown Spickzettel"
+
+#: src/MainWindow.vala:228 src/Widgets/Preferences.vala:29
+msgid "Preferences"
+msgstr "Einstellungen"
+
+#: src/MainWindow.vala:255
+msgid "Edit"
+msgstr "Bearbeiten"
+
+#: src/MainWindow.vala:256
+msgid "Preview"
+msgstr "Vorschau"
+
+#: src/Widgets/StatusBar.vala:51
+msgid "Words: "
+msgstr "Wörter: "
+
+#: src/Widgets/StatusBar.vala:64
+msgid "Reading Time: "
+msgstr "Lesezeit: "
+
+#: src/Widgets/StatusBar.vala:68
+msgid "Dark Mode"
+msgstr "Dunkler Modus"
+
+#: src/Widgets/StatusBar.vala:92
+msgid "Focus Mode"
+msgstr "Fokus Modus"
+
+#: src/Widgets/Preferences.vala:47 src/Widgets/Preferences.vala:68
+msgid "Editor"
+msgstr "Editor"
+
+#: src/Widgets/Preferences.vala:48 src/Widgets/Preferences.vala:177
+msgid "Interface"
+msgstr "Oberfläche"
+
+#. Close button
+#: src/Widgets/Preferences.vala:50 src/Widgets/Cheatsheet.vala:51
+msgid "Close"
+msgstr "Schließen"
+
+#: src/Widgets/Preferences.vala:69
+msgid "Show Line Numbers:"
+msgstr "Zeige Zeilennummern:"
+
+#: src/Widgets/Preferences.vala:71
+msgid "Enable Spellchecking:"
+msgstr "Aktiviere Rechtschreibprüfung:"
+
+#: src/Widgets/Preferences.vala:75
+msgid "Geometry"
+msgstr "Geometrie"
+
+#: src/Widgets/Preferences.vala:76
+msgid "Spacing of Text:"
+msgstr "Textabstand:"
+
+#: src/Widgets/Preferences.vala:78 src/Widgets/Preferences.vala:118
+msgid "Small"
+msgstr "Klein"
+
+#: src/Widgets/Preferences.vala:79 src/Widgets/Preferences.vala:119
+msgid "Normal"
+msgstr "Normal"
+
+#: src/Widgets/Preferences.vala:80 src/Widgets/Preferences.vala:120
+msgid "Large"
+msgstr "Groß"
+
+#: src/Widgets/Preferences.vala:116
+msgid "Margins of Text:"
+msgstr "Seitenränder:"
+
+#: src/Widgets/Preferences.vala:178
+msgid "Show the Save Button:"
+msgstr "Zeige die Speichern-Schaltfläche:"
+
+#: src/Widgets/Preferences.vala:181
+msgid "Mode"
+msgstr "Modus"
+
+#: src/Widgets/Preferences.vala:182
+msgid "Enable Focus Mode:"
+msgstr "Aktiviere fokussierten Modus:"
+
+#: src/Widgets/Preferences.vala:184
+msgid "Enable Dark Mode:"
+msgstr "Aktiviere dunklen Modus:"
+
+#: src/Widgets/Preferences.vala:187
+msgid "Font"
+msgstr "Schriftart"
+
+#: src/Widgets/Preferences.vala:188
+msgid "Custom font:"
+msgstr "Benutzerdefinierte Schriftart:"
+
+#: src/Widgets/Preferences.vala:198
+msgid "Statusbar"
+msgstr "Statusleiste"
+
+#: src/Widgets/Preferences.vala:199
+msgid "Show Statusbar:"
+msgstr "Zeige Statusleiste:"
+
+#: src/Widgets/Cheatsheet.vala:28
+msgid "Cheatsheet"
+msgstr "Spickzettel"
+
+#: src/Widgets/Cheatsheet.vala:46
+msgid "Text"
+msgstr "Text"
+
+#: src/Widgets/Cheatsheet.vala:47
+msgid "Links & Special"
+msgstr "Hyperlinks & Spezielles"
+
+#: src/Widgets/Cheatsheet.vala:48 src/Widgets/Cheatsheet.vala:137
+msgid "Tables"
+msgstr "Tabellen"
+
+#: src/Widgets/Cheatsheet.vala:79
+msgid "Header"
+msgstr "Überschrift"
+
+#: src/Widgets/Cheatsheet.vala:80
+msgid "# Header 1"
+msgstr "# Überschrift 1"
+
+#: src/Widgets/Cheatsheet.vala:81
+msgid "## Header 2"
+msgstr "## Überschrift 2"
+
+#: src/Widgets/Cheatsheet.vala:82
+msgid "### Header 3"
+msgstr "### Überschrift 3"
+
+#: src/Widgets/Cheatsheet.vala:83
+msgid "#### Header 4"
+msgstr "#### Überschrift 4"
+
+#: src/Widgets/Cheatsheet.vala:84
+msgid "##### Header 5"
+msgstr "##### Überschrift 5"
+
+#: src/Widgets/Cheatsheet.vala:85
+msgid "###### Header 6"
+msgstr "###### Überschrift 6"
+
+#: src/Widgets/Cheatsheet.vala:86
+msgid "Special Text"
+msgstr "Spezieller Text"
+
+#: src/Widgets/Cheatsheet.vala:87
+msgid "** Bold text **"
+msgstr "** fetter Text **"
+
+#: src/Widgets/Cheatsheet.vala:88
+msgid "* Emphasized text *"
+msgstr "* kursiver Text *"
+
+#: src/Widgets/Cheatsheet.vala:89
+msgid "` Code text `"
+msgstr "` Inline-Quelltext `"
+
+#: src/Widgets/Cheatsheet.vala:90
+msgid "> Quoting text"
+msgstr "> Zitierter Text"
+
+#: src/Widgets/Cheatsheet.vala:91
+msgid "~~Strikethrough text~~"
+msgstr "~~durchgestrichener Text~~"
+
+#: src/Widgets/Cheatsheet.vala:115
+msgid "Links"
+msgstr "Hyperlinks"
+
+#: src/Widgets/Cheatsheet.vala:116
+msgid "[Link Label](http://link.url.here.com)"
+msgstr "[Hyperlink Name](http://Hyperlink.url.hier.de)"
+
+#: src/Widgets/Cheatsheet.vala:117
+msgid "![Image Label](http://image.url.here.com)"
+msgstr "![Bild Name](http://Bild.url.hier.de)"
+
+#: src/Widgets/Cheatsheet.vala:118
+msgid "Special"
+msgstr "Spezielles"
+
+#: src/Widgets/Cheatsheet.vala:119
+msgid "```This is a code block```"
+msgstr "```Dies ist ein Codeblock```"
+
+#: src/Widgets/Cheatsheet.vala:120
+msgid "--- ← This creates an horizontal rule"
+msgstr "--- Dies erzeugt eine Horizontale Linie"
+
+#: src/Widgets/Cheatsheet.vala:139
+msgid "To make a column's content go to the left, change --- to :--- ."
+msgstr "Um den Inhalt einer Spalte linksbündig auszurichten, ändere --- zu 
:--- ."
+
+#: src/Widgets/Cheatsheet.vala:140
+msgid "To make a column's content centered, change --- to :---: ."
+msgstr "Um den Inhalt einer Spalte zu zentrieren, ändere --- zu :---: ."
+
+#: src/Widgets/Cheatsheet.vala:141
+msgid "To make a column's content go to the right, change --- to ---: ."
+msgstr "Um den Inhalt einer Spalte rechtsbündig auszurichten, ändere --- zu 
---: ."
+
+#: src/Services/DialogUtils.vala:38
+msgid "Markdown files"
+msgstr "Markdown Dateien"
+
+#: src/Services/DialogUtils.vala:43
+msgid "All files"
+msgstr "Alle Dateien"
+
+#: src/Services/DialogUtils.vala:51
+msgid "Open file"
+msgstr "Öffne Datei"
+
+#: src/Services/DialogUtils.vala:77
+msgid "There are unsaved changes to the file. Do you want to save?"
+msgstr "Es gibt ungesicherte Änderungen in der Datei. Wollen Sie wirklich 
speichern?"
+
+#: src/Services/DialogUtils.vala:78
+msgid "If you don't save, changes will be lost forever."
+msgstr "Wenn Sie nicht speichern, gehen alle Änderungen für immer verloren."
+
+#: src/Services/DialogUtils.vala:83
+msgid "Close without saving"
+msgstr "Schließen ohne Speichern"
+
+#: src/Widgets/Preferences.vala:185
+msgid "Type of Focus Mode:"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:187
+msgid "Sentence"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:188
+msgid "Paragraph"
+msgstr ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/po/es.po new/quilter-1.4.6/po/es.po
--- old/quilter-1.4.4/po/es.po  2017-12-25 18:01:53.000000000 +0100
+++ new/quilter-1.4.6/po/es.po  2018-01-13 16:31:11.000000000 +0100
@@ -274,3 +274,15 @@
 #: src/Services/DialogUtils.vala:83
 msgid "Close without saving"
 msgstr "Cerrar sin guardar"
+
+#: src/Widgets/Preferences.vala:185
+msgid "Type of Focus Mode:"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:187
+msgid "Sentence"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:188
+msgid "Paragraph"
+msgstr ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/po/it.po new/quilter-1.4.6/po/it.po
--- old/quilter-1.4.4/po/it.po  2017-12-25 18:01:53.000000000 +0100
+++ new/quilter-1.4.6/po/it.po  2018-01-13 16:31:11.000000000 +0100
@@ -280,3 +280,15 @@
 #: src/Services/DialogUtils.vala:83
 msgid "Close without saving"
 msgstr "Chiudi senza salvare"
+
+#: src/Widgets/Preferences.vala:185
+msgid "Type of Focus Mode:"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:187
+msgid "Sentence"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:188
+msgid "Paragraph"
+msgstr ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/po/pl.po new/quilter-1.4.6/po/pl.po
--- old/quilter-1.4.4/po/pl.po  1970-01-01 01:00:00.000000000 +0100
+++ new/quilter-1.4.6/po/pl.po  2018-01-13 16:31:11.000000000 +0100
@@ -0,0 +1,291 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the 
com.github.lainsce.quilter package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.quilter\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-15 17:16-0200\n"
+"PO-Revision-Date: 2018-01-11 23:01+0100\n"
+"Last-Translator: Michał Rowicki <[email protected]>\n"
+"Language-Team:\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/MainWindow.vala:70
+msgid "Quilter"
+msgstr "Quilter"
+
+#: src/MainWindow.vala:168
+msgid "New file"
+msgstr "Nowy plik"
+
+#: src/MainWindow.vala:176
+msgid "Save as…"
+msgstr "Zapisz jako…"
+
+#: src/MainWindow.vala:190 src/Services/DialogUtils.vala:63
+msgid "Save file"
+msgstr "Zapisz plik"
+
+#: src/MainWindow.vala:204
+msgid "Open…"
+msgstr "Otwórz…"
+
+#: src/MainWindow.vala:217
+msgid "Settings"
+msgstr "Ustawienia"
+
+#: src/MainWindow.vala:221
+msgid "Markdown Cheatsheet"
+msgstr "Markdown Cheatsheet"
+
+#: src/MainWindow.vala:228 src/Widgets/Preferences.vala:29
+msgid "Preferences"
+msgstr "Ustawienia"
+
+#: src/MainWindow.vala:255
+msgid "Edit"
+msgstr "Edycja"
+
+#: src/MainWindow.vala:256
+msgid "Preview"
+msgstr "Podgląd"
+
+#: src/Widgets/StatusBar.vala:51
+msgid "Words: "
+msgstr "Słowa: "
+
+#: src/Widgets/StatusBar.vala:64
+msgid "Reading Time: "
+msgstr "Czas czytania: "
+
+#: src/Widgets/StatusBar.vala:68
+msgid "Dark Mode"
+msgstr "Tryb Ciemny"
+
+#: src/Widgets/StatusBar.vala:92
+msgid "Focus Mode"
+msgstr "Tryb Fokusu"
+
+#: src/Widgets/Preferences.vala:47 src/Widgets/Preferences.vala:68
+msgid "Editor"
+msgstr "Edytor"
+
+#: src/Widgets/Preferences.vala:48 src/Widgets/Preferences.vala:177
+msgid "Interface"
+msgstr "Interfejs"
+
+#. Close button
+#: src/Widgets/Preferences.vala:50 src/Widgets/Cheatsheet.vala:51
+msgid "Close"
+msgstr "Zamknij"
+
+#: src/Widgets/Preferences.vala:69
+msgid "Show Line Numbers:"
+msgstr "Pokaż Numery Linii:"
+
+#: src/Widgets/Preferences.vala:71
+msgid "Enable Spellchecking:"
+msgstr "Włącz Sprawdzanie Pisowni"
+
+#: src/Widgets/Preferences.vala:75
+msgid "Geometry"
+msgstr "Geometria"
+
+#: src/Widgets/Preferences.vala:76
+msgid "Spacing of Text:"
+msgstr "Interlinia:"
+
+#: src/Widgets/Preferences.vala:78 src/Widgets/Preferences.vala:118
+msgid "Small"
+msgstr "Mały"
+
+#: src/Widgets/Preferences.vala:79 src/Widgets/Preferences.vala:119
+msgid "Normal"
+msgstr "Normalny"
+
+#: src/Widgets/Preferences.vala:80 src/Widgets/Preferences.vala:120
+msgid "Large"
+msgstr "Duży"
+
+#: src/Widgets/Preferences.vala:116
+msgid "Margins of Text:"
+msgstr "Margines:"
+
+#: src/Widgets/Preferences.vala:178
+msgid "Show the Save Button:"
+msgstr "Pokazuj Przycisk Zapisz:"
+
+#: src/Widgets/Preferences.vala:181
+msgid "Mode"
+msgstr "Tryb"
+
+#: src/Widgets/Preferences.vala:182
+msgid "Enable Focus Mode:"
+msgstr "Włącz Tryb Fokusu:"
+
+#: src/Widgets/Preferences.vala:184
+msgid "Enable Dark Mode:"
+msgstr "Włącz Tryb Ciemny:"
+
+#: src/Widgets/Preferences.vala:187
+msgid "Font"
+msgstr "Czcionka"
+
+#: src/Widgets/Preferences.vala:188
+msgid "Custom font:"
+msgstr "Niestandardowa czcionka:"
+
+#: src/Widgets/Preferences.vala:198
+msgid "Statusbar"
+msgstr "Pasek stanu"
+
+#: src/Widgets/Preferences.vala:199
+msgid "Show Statusbar:"
+msgstr "Pokaż pasek stanu:"
+
+#: src/Widgets/Cheatsheet.vala:28
+msgid "Cheatsheet"
+msgstr "Cheatsheet"
+
+#: src/Widgets/Cheatsheet.vala:46
+msgid "Text"
+msgstr "Tekst"
+
+#: src/Widgets/Cheatsheet.vala:47
+msgid "Links & Special"
+msgstr "Linki & Specjalne"
+
+#: src/Widgets/Cheatsheet.vala:48 src/Widgets/Cheatsheet.vala:137
+msgid "Tables"
+msgstr "Tabele"
+
+#: src/Widgets/Cheatsheet.vala:79
+msgid "Header"
+msgstr "Nagłówek"
+
+#: src/Widgets/Cheatsheet.vala:80
+msgid "# Header 1"
+msgstr "# Nagłówek 1"
+
+#: src/Widgets/Cheatsheet.vala:81
+msgid "## Header 2"
+msgstr "## Nagłówek 2"
+
+#: src/Widgets/Cheatsheet.vala:82
+msgid "### Header 3"
+msgstr "### Nagłówek 3"
+
+#: src/Widgets/Cheatsheet.vala:83
+msgid "#### Header 4"
+msgstr "#### Nagłówek 4"
+
+#: src/Widgets/Cheatsheet.vala:84
+msgid "##### Header 5"
+msgstr "##### Nagłówek 5"
+
+#: src/Widgets/Cheatsheet.vala:85
+msgid "###### Header 6"
+msgstr "###### Nagłówek 6"
+
+#: src/Widgets/Cheatsheet.vala:86
+msgid "Special Text"
+msgstr "Specjalny tekst"
+
+#: src/Widgets/Cheatsheet.vala:87
+msgid "** Bold text **"
+msgstr "** Tekst pogrubiony **"
+
+#: src/Widgets/Cheatsheet.vala:88
+msgid "* Emphasized text *"
+msgstr "* Tekst pochylony *"
+
+#: src/Widgets/Cheatsheet.vala:89
+msgid "` Code text `"
+msgstr "` Kod `"
+
+#: src/Widgets/Cheatsheet.vala:90
+msgid "> Quoting text"
+msgstr "> Cytowany tekst"
+
+#: src/Widgets/Cheatsheet.vala:91
+msgid "~~Strikethrough text~~"
+msgstr "~~Przekreślony tekst~~"
+
+#: src/Widgets/Cheatsheet.vala:115
+msgid "Links"
+msgstr "Linki"
+
+#: src/Widgets/Cheatsheet.vala:116
+msgid "[Link Label](http://link.url.here.com)"
+msgstr "[Etykieta Linku](http://link.url.tutaj.com)"
+
+#: src/Widgets/Cheatsheet.vala:117
+msgid "![Image Label](http://image.url.here.com)"
+msgstr "![Etykieta Obrazka](http://image.url.tutaj.com)"
+
+#: src/Widgets/Cheatsheet.vala:118
+msgid "Special"
+msgstr "Specjalny"
+
+#: src/Widgets/Cheatsheet.vala:119
+msgid "```This is a code block```"
+msgstr "```To jest blok kodu```"
+
+#: src/Widgets/Cheatsheet.vala:120
+msgid "--- ← This creates an horizontal rule"
+msgstr "--- ← To jest linia horyzontalna"
+
+#: src/Widgets/Cheatsheet.vala:139
+msgid "To make a column's content go to the left, change --- to :--- ."
+msgstr "Aby wyrównać treść kolumny do lewej, zamień --- na :--- ."
+
+#: src/Widgets/Cheatsheet.vala:140
+msgid "To make a column's content centered, change --- to :---: ."
+msgstr "Aby wyśrodkować treść kolumny, zamień --- na :---: ."
+
+#: src/Widgets/Cheatsheet.vala:141
+msgid "To make a column's content go to the right, change --- to ---: ."
+msgstr "Aby wyrównać treść kolumny do prawej, zamień --- na ---: ."
+
+#: src/Services/DialogUtils.vala:38
+msgid "Markdown files"
+msgstr "Pliki Markdown"
+
+#: src/Services/DialogUtils.vala:43
+msgid "All files"
+msgstr "Wszystkie pliki"
+
+#: src/Services/DialogUtils.vala:51
+msgid "Open file"
+msgstr "Otwórz plik"
+
+#: src/Services/DialogUtils.vala:77
+msgid "There are unsaved changes to the file. Do you want to save?"
+msgstr "W pliku są niezapisane zmiany. Czy chcesz zapisać?"
+
+#: src/Services/DialogUtils.vala:78
+msgid "If you don't save, changes will be lost forever."
+msgstr "Jeśli nie zapiszesz, zmiany zostaną utracone na zawsze."
+
+#: src/Services/DialogUtils.vala:83
+msgid "Close without saving"
+msgstr "Zamknij bez zapisywania"
+
+#: src/Widgets/Preferences.vala:185
+msgid "Type of Focus Mode:"
+msgstr "Typ Fokusa"
+
+#: src/Widgets/Preferences.vala:187
+msgid "Sentence"
+msgstr "Zdanie"
+
+#: src/Widgets/Preferences.vala:188
+msgid "Paragraph"
+msgstr "Paragraf"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/po/pt_BR.po 
new/quilter-1.4.6/po/pt_BR.po
--- old/quilter-1.4.4/po/pt_BR.po       2017-12-25 18:01:53.000000000 +0100
+++ new/quilter-1.4.6/po/pt_BR.po       2018-01-13 16:31:11.000000000 +0100
@@ -276,3 +276,15 @@
 #: src/Services/DialogUtils.vala:83
 msgid "Close without saving"
 msgstr "Fechar sem Salvar"
+
+#: src/Widgets/Preferences.vala:185
+msgid "Type of Focus Mode:"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:187
+msgid "Sentence"
+msgstr ""
+
+#: src/Widgets/Preferences.vala:188
+msgid "Paragraph"
+msgstr ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/src/Constants/AppSettings.vala 
new/quilter-1.4.6/src/Constants/AppSettings.vala
--- old/quilter-1.4.4/src/Constants/AppSettings.vala    2017-12-25 
18:01:53.000000000 +0100
+++ new/quilter-1.4.6/src/Constants/AppSettings.vala    2018-01-13 
16:31:11.000000000 +0100
@@ -35,6 +35,7 @@
         public string last_file { get; set; }
         public string subtitle { get; set; }
         public string spellcheck_language { get; set; }
+        public FocusMode focus_mode_type { get; set; }
 
         private static AppSettings? instance;
         public static unowned AppSettings get_default () {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/src/Constants/FocusMode.vala 
new/quilter-1.4.6/src/Constants/FocusMode.vala
--- old/quilter-1.4.4/src/Constants/FocusMode.vala      1970-01-01 
01:00:00.000000000 +0100
+++ new/quilter-1.4.6/src/Constants/FocusMode.vala      2018-01-13 
16:31:11.000000000 +0100
@@ -0,0 +1,23 @@
+/*-
+ * Copyright (c) 2017 Lains
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 2.1 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Quilter {
+    public enum FocusMode {
+        PARAGRAPH,
+        SENTENCE
+    }
+}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/src/Widgets/Preferences.vala 
new/quilter-1.4.6/src/Widgets/Preferences.vala
--- old/quilter-1.4.4/src/Widgets/Preferences.vala      2017-12-25 
18:01:53.000000000 +0100
+++ new/quilter-1.4.6/src/Widgets/Preferences.vala      2018-01-13 
16:31:11.000000000 +0100
@@ -182,6 +182,38 @@
             var focus_mode = new SettingsSwitch ("focus-mode");
             var dark_mode_label = new SettingsLabel (_("Enable Dark Mode:"));
             var dark_mode = new SettingsSwitch ("dark-mode");
+            var focus_mode_type_label = new SettingsLabel (_("Type of Focus 
Mode:"));
+            var focus_mode_type_size = new Granite.Widgets.ModeButton ();
+            focus_mode_type_size.append_text (_("Paragraph"));
+            focus_mode_type_size.append_text (_("Sentence"));
+
+            var focus_mode_type = main_settings.focus_mode_type;
+
+            switch (focus_mode_type) {
+                case FocusMode.PARAGRAPH:
+                    focus_mode_type_size.selected = 0;
+                    break;
+                case FocusMode.SENTENCE:
+                    focus_mode_type_size.selected = 1;
+                    break;
+                default:
+                    focus_mode_type_size.selected = 0;
+                    break;
+            }
+
+            focus_mode_type_size.mode_changed.connect (() => {
+                switch (focus_mode_type_size.selected) {
+                    case 0:
+                        main_settings.focus_mode_type = FocusMode.PARAGRAPH;
+                        break;
+                    case 1:
+                        main_settings.focus_mode_type = FocusMode.SENTENCE;
+                        break;
+                    case 2:
+                        main_settings.focus_mode_type = focus_mode_type;
+                        break;
+                }
+            });
 
             var font_header = new Granite.HeaderLabel (_("Font"));
             var use_custom_font_label = new SettingsLabel (_("Custom font:"));
@@ -208,15 +240,17 @@
             interface_grid.attach (focus_mode, 1, 5, 1, 1);
             interface_grid.attach (dark_mode_label, 0, 6, 1, 1);
             interface_grid.attach (dark_mode, 1, 6, 1, 1);
+            interface_grid.attach (focus_mode_type_label, 0, 7, 1, 1);
+            interface_grid.attach (focus_mode_type_size, 1, 7, 1, 1);
 
-            interface_grid.attach (font_header, 0, 7, 3, 1);
-            interface_grid.attach (use_custom_font_label , 0, 8, 1, 1);
-            interface_grid.attach (use_custom_font, 1, 8, 1, 1);
-            interface_grid.attach (select_font, 2, 8, 1, 1);
-
-            interface_grid.attach (statusbar_header,  0, 9, 1, 1);
-            interface_grid.attach (statusbar_label,  0, 10, 1, 1);
-            interface_grid.attach (statusbar, 1, 10, 1, 1);
+            interface_grid.attach (font_header, 0, 8, 3, 1);
+            interface_grid.attach (use_custom_font_label , 0, 9, 1, 1);
+            interface_grid.attach (use_custom_font, 1, 9, 1, 1);
+            interface_grid.attach (select_font, 2, 9, 1, 1);
+
+            interface_grid.attach (statusbar_header,  0, 10, 1, 1);
+            interface_grid.attach (statusbar_label,  0, 11, 1, 1);
+            interface_grid.attach (statusbar, 1, 11, 1, 1);
 
             return interface_grid;
         }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.4.4/src/Widgets/SourceView.vala 
new/quilter-1.4.6/src/Widgets/SourceView.vala
--- old/quilter-1.4.4/src/Widgets/SourceView.vala       2017-12-25 
18:01:53.000000000 +0100
+++ new/quilter-1.4.6/src/Widgets/SourceView.vala       2018-01-13 
16:31:11.000000000 +0100
@@ -267,13 +267,36 @@
 
             if (cursor != null) {
                 var start_sentence = cursor_iter;
-                if (cursor_iter != start)
-                    start_sentence.backward_lines (1);
+                var focus_type = settings.focus_mode_type;
+                if (cursor_iter != start) {
+                    switch (focus_type) {
+                        case FocusMode.PARAGRAPH:
+                            start_sentence.backward_lines (1);
+                            break;
+                        case FocusMode.SENTENCE:
+                            start_sentence.backward_sentence_start ();
+                            break;
+                        default:
+                            start_sentence.backward_lines (1);
+                            break;
+                    }
+                }
 
                 var end_sentence = cursor_iter;
-                if (cursor_iter != end)
-                    end_sentence.forward_lines (2);
+                if (cursor_iter != end) {
+                    switch (focus_type) {
+                        case FocusMode.PARAGRAPH:
+                            end_sentence.forward_lines (2);
+                            break;
+                        case FocusMode.SENTENCE:
+                            end_sentence.forward_sentence_end ();
+                            break;
+                        default:
+                            end_sentence.forward_lines (2);
+                            break;
+                    }
 
+                }
                 if (!settings.dark_mode) {
                     buffer.apply_tag(lightgrayfont, start_sentence, 
end_sentence);
                     buffer.apply_tag(blackfont, start_sentence, end_sentence);


Reply via email to