forked from Mirrors/apostrophe
fixed wordcount bug
parent
c2ac83492a
commit
55ef6fb7b3
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-09-06 17:58+0200\n"
|
||||
"POT-Creation-Date: 2014-09-11 17:47+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -130,10 +130,6 @@ msgstr ""
|
|||
msgid "Commandline Reference"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/__init__.py:35
|
||||
msgid "Show debug messages (-vv debugs uberwriter_lib also)"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/FormatShortcuts.py:85
|
||||
msgid "emphasized text"
|
||||
msgstr ""
|
||||
|
@ -150,60 +146,77 @@ msgstr ""
|
|||
msgid "Heading"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter.desktop.in.h:1
|
||||
msgid "UberWriter"
|
||||
#: ../uberwriter/__init__.py:35
|
||||
msgid "Show debug messages (-vv debugs uberwriter_lib also)"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter.desktop.in.h:2
|
||||
msgid "UberWriter, a simple and distraction free Markdown Editor"
|
||||
#: ../data/ui/AboutUberwriterDialog.ui.h:1
|
||||
msgid ""
|
||||
"# Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>\n"
|
||||
"# This program is free software: you can redistribute it and/or modify it \n"
|
||||
"# under the terms of the GNU General Public License version 3, as "
|
||||
"published \n"
|
||||
"# by the Free Software Foundation.\n"
|
||||
"# \n"
|
||||
"# This program is distributed in the hope that it will be useful, but \n"
|
||||
"# WITHOUT ANY WARRANTY; without even the implied warranties of \n"
|
||||
"# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n"
|
||||
"# PURPOSE. See the GNU General Public License for more details.\n"
|
||||
"# \n"
|
||||
"# You should have received a copy of the GNU General Public License along \n"
|
||||
"# with this program. If not, see <http://www.gnu.org/licenses/>.\n"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:331
|
||||
#: ../data/ui/AboutUberwriterDialog.ui.h:14
|
||||
msgid "Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:338
|
||||
msgid "Save your File"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:477
|
||||
#: ../uberwriter/UberwriterWindow.py:484
|
||||
msgid "You can not export to PDF."
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:479
|
||||
#: ../uberwriter/UberwriterWindow.py:486
|
||||
msgid ""
|
||||
"Please install <a href=\"apt:texlive\">texlive</a> from the software center."
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:509
|
||||
#: ../uberwriter/UberwriterWindow.py:516
|
||||
msgid "MarkDown or Plain Text"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:512
|
||||
#: ../uberwriter/UberwriterWindow.py:519
|
||||
msgid "Open a .md-File"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:534
|
||||
#: ../uberwriter/UberwriterWindow.py:541
|
||||
msgid "You have not saved your changes."
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:536
|
||||
#: ../uberwriter/UberwriterWindow.py:543
|
||||
msgid "Close without Saving"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:537
|
||||
#: ../uberwriter/UberwriterWindow.py:544
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:538
|
||||
#: ../uberwriter/UberwriterWindow.py:545
|
||||
msgid "Save now"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:539
|
||||
#: ../uberwriter/UberwriterWindow.py:546
|
||||
msgid "Unsaved changes"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:604
|
||||
#: ../uberwriter/UberwriterWindow.py:611
|
||||
msgid "You can not enable the Spell Checker."
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterWindow.py:606
|
||||
#: ../uberwriter/UberwriterWindow.py:613
|
||||
msgid ""
|
||||
"Please install 'hunspell' or 'aspell' dictionarys for your language from the "
|
||||
"software center."
|
||||
|
@ -233,27 +246,6 @@ msgstr ""
|
|||
msgid "Suggestions"
|
||||
msgstr ""
|
||||
|
||||
#: ../data/ui/AboutUberwriterDialog.ui.h:1
|
||||
msgid ""
|
||||
"# Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>\n"
|
||||
"# This program is free software: you can redistribute it and/or modify it \n"
|
||||
"# under the terms of the GNU General Public License version 3, as "
|
||||
"published \n"
|
||||
"# by the Free Software Foundation.\n"
|
||||
"# \n"
|
||||
"# This program is distributed in the hope that it will be useful, but \n"
|
||||
"# WITHOUT ANY WARRANTY; without even the implied warranties of \n"
|
||||
"# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR \n"
|
||||
"# PURPOSE. See the GNU General Public License for more details.\n"
|
||||
"# \n"
|
||||
"# You should have received a copy of the GNU General Public License along \n"
|
||||
"# with this program. If not, see <http://www.gnu.org/licenses/>.\n"
|
||||
msgstr ""
|
||||
|
||||
#: ../data/ui/AboutUberwriterDialog.ui.h:14
|
||||
msgid "Copyright (C) 2012, Wolf Vollprecht <w.vollprecht@gmail.com>"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter/UberwriterInlinePreview.py:174
|
||||
msgid "Website is not available"
|
||||
msgstr ""
|
||||
|
@ -270,6 +262,14 @@ msgstr ""
|
|||
msgid "No matching footnote found"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter.desktop.in.h:1
|
||||
msgid "UberWriter"
|
||||
msgstr ""
|
||||
|
||||
#: ../uberwriter.desktop.in.h:2
|
||||
msgid "UberWriter, a simple and distraction free Markdown Editor"
|
||||
msgstr ""
|
||||
|
||||
#: ../data/ui/UberwriterWindow.ui.h:1
|
||||
msgid "Case Sensitive"
|
||||
msgstr ""
|
||||
|
|
|
@ -122,7 +122,7 @@ class UberwriterWindow(Window):
|
|||
end_iter = self.TextBuffer.get_end_iter()
|
||||
return self.TextBuffer.get_text(start_iter, end_iter, False)
|
||||
|
||||
WORDCOUNT = re.compile(r"[\s#*\+\-]+", re.UNICODE)
|
||||
WORDCOUNT = re.compile(r"(?!\-\w)[\s#*\+\-]+", re.UNICODE)
|
||||
def update_line_and_char_count(self):
|
||||
if self.status_bar_visible == False:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue