Skip to content

Commit

Permalink
remove some markup from strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jseipp committed Oct 2, 2009
1 parent f237b72 commit 7b2eef2
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 69 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include po/*.pot
include po/*.po
include rednotebook/images/*.png
include rednotebook/images/redNotebookIcon/*.png
include rednotebook/files/*.glade
Expand Down
32 changes: 21 additions & 11 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,42 @@ implementation if you tell me that you'd like its addition ;)
=== Roadmap ===

0.8.8
O i18n
X mark translatable strings
O statistics, options
O setup translations at launchpad
X make German translation
X install mo files with setup.py
X Internationalization
X Mark translatable strings
X Setup translations at launchpad
X Make German translation
X Install mo files with setup.py
X Add "Start minimized to tray" command line parameter
X Cloud words white list for short words

0.8.9
O Add ssh and ftp support
X Windows: RedNotebook can now be run in portable mode
(edit the setting in "RedNotebook-directory/files/default.cfg")
O Propose to portableapps
O Show message in windows installer
O Save dataDir relative to exe

0.8.x
O Import of exported backups
O Password protection
0.9
O Markup Highlighting (similar to real WYSIWYG)

0.9.5
O Use Zeitgeist for automatic category entries

0.9
0.9.x
O Automatic insertion of photo links for current day
O Automatic insertion of holidays
O Import of exported backups
O Change to newer KeepNote Version

1.0
O WYSIWYG editing as an alternative to markup text?
O Solid amount of translations
O Stable
O Fix freeze bug
O Many automatic insertions

1.1
O Password protection or encryption



Expand Down
3 changes: 3 additions & 0 deletions dev/generate-pot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ cd ../po
# Get strings from glade file into helper file
intltool-extract --local --type=gettext/glade ../rednotebook/files/mainWindow.glade

# Remove gtk-ok and gtk-cancel lines
sed -i '/"gtk-/d' tmp/mainWindow.glade.h

# Get strings from both glade helper file and the python files

# Write a list of all sourcefiles
Expand Down
2 changes: 1 addition & 1 deletion po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ msgstr "Vorschau: %s"

#: ../rednotebook/gui/options.py:282
msgid "Check for new version at startup"
msgstr "Prüfe Updates beim Programmstart"
msgstr "Suche nach Updates beim Programmstart"

#: ../rednotebook/gui/options.py:285
msgid "Close to system tray"
Expand Down
94 changes: 43 additions & 51 deletions po/rednotebook.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-10-01 03:17+0200\n"
"POT-Creation-Date: 2009-10-02 17:28+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"
Expand All @@ -33,163 +33,163 @@ msgid "Select an empty folder for your new journal"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:455
msgid "<b>Journals are saved in a directory, not in a single file.\n"
msgid "Journals are saved in a directory, not in a single file."
msgstr ""

#: ../rednotebook/gui/mainWindow.py:456
msgid "The directory name will be the title of the new journal.</b>"
msgid "The directory name will be the title of the new journal."
msgstr ""

#: ../rednotebook/gui/mainWindow.py:460
msgid "Select an existing journal directory"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:461
msgid "<b>The directory should contain your journal's data files</b>"
#: ../rednotebook/gui/mainWindow.py:462
msgid "The directory should contain your journal's data files"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:463
#: ../rednotebook/gui/mainWindow.py:464
msgid "Select an empty folder for the new location your journal"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:464
msgid "<b>The directory name will be the new title of the journal</b>"
#: ../rednotebook/gui/mainWindow.py:466
msgid "The directory name will be the new title of the journal"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:484
#: ../rednotebook/gui/mainWindow.py:486
msgid "The default journal has been opened"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:626
#: ../rednotebook/gui/mainWindow.py:628
msgid "Format"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:627
#: ../rednotebook/gui/mainWindow.py:629
msgid "Format the selected text or category entry"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:670
#: ../rednotebook/gui/mainWindow.py:672
msgid "First Item"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:671
#: ../rednotebook/gui/mainWindow.py:673
msgid "Second Item"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:672
#: ../rednotebook/gui/mainWindow.py:674
msgid "Indented Item"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:673
#: ../rednotebook/gui/mainWindow.py:675
msgid "Two blank lines close the list"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:677
#: ../rednotebook/gui/mainWindow.py:679
msgid "Title text"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:693
#: ../rednotebook/gui/mainWindow.py:695
msgid "Picture"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:694
#: ../rednotebook/gui/mainWindow.py:696
msgid "Insert an image from the harddisk"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:696
#: ../rednotebook/gui/mainWindow.py:698
msgid "File"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:697
#: ../rednotebook/gui/mainWindow.py:699
msgid "Insert a link to a file"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:699
#: ../rednotebook/gui/mainWindow.py:701
msgid "_Link"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:700
#: ../rednotebook/gui/mainWindow.py:702
msgid "Insert a link to a website"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:702
#: ../rednotebook/gui/mainWindow.py:704
msgid "Bullet List"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:703
#: ../rednotebook/gui/mainWindow.py:705
msgid "Insert a bullet list"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:708
#: ../rednotebook/gui/mainWindow.py:710
msgid "Title"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:709
#: ../rednotebook/gui/mainWindow.py:711
msgid "Insert a title"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:711
#: ../rednotebook/gui/mainWindow.py:713
msgid "Line"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:712
#: ../rednotebook/gui/mainWindow.py:714
msgid "Insert a separator line"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:714
#: ../rednotebook/gui/mainWindow.py:716
msgid "Date/Time"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:715
#: ../rednotebook/gui/mainWindow.py:717
msgid "Insert the current date and time (edit format in preferences)"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:717
#: ../rednotebook/gui/mainWindow.py:719
msgid "Line Break"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:718
#: ../rednotebook/gui/mainWindow.py:720
msgid "Insert a manual line break"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:746
#: ../rednotebook/gui/mainWindow.py:748
msgid "Insert"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:750
#: ../rednotebook/gui/mainWindow.py:752
msgid "Insert images, files, links and other content"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:834
#: ../rednotebook/gui/mainWindow.py:836
msgid "No link location has been entered"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:996
#: ../rednotebook/gui/mainWindow.py:998
msgid "Search ..."
msgstr ""

#: ../rednotebook/gui/mainWindow.py:1075
#: ../rednotebook/gui/mainWindow.py:1077
msgid "filter, these, comma, separated, words"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:1080
#: ../rednotebook/gui/mainWindow.py:1082
msgid "mtv, spam, work, job, play"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:1137
#: ../rednotebook/gui/mainWindow.py:1139
msgid "Hide selected words"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:1200
#: ../rednotebook/gui/mainWindow.py:1202
msgid "Date"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:1201 ../rednotebook/gui/mainWindow.py:1243
#: ../rednotebook/gui/mainWindow.py:1251 tmp/mainWindow.glade.h:67
#: ../rednotebook/gui/mainWindow.py:1203 ../rednotebook/gui/mainWindow.py:1245
#: ../rednotebook/gui/mainWindow.py:1253 tmp/mainWindow.glade.h:67
msgid "Text"
msgstr ""

#: ../rednotebook/gui/mainWindow.py:1247
#: ../rednotebook/gui/mainWindow.py:1249
msgid "Entry"
msgstr ""

Expand Down Expand Up @@ -747,14 +747,6 @@ msgid ""
"select the days you want to export and where the output will be saved."
msgstr ""

#: tmp/mainWindow.glade.h:72
msgid "gtk-cancel"
msgstr ""

#: tmp/mainWindow.glade.h:73
msgid "gtk-ok"
msgstr ""

#: tmp/mainWindow.glade.h:75
msgid "translator-credits"
msgstr ""
1 change: 0 additions & 1 deletion rednotebook/files/mainWindow.glade
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,6 @@ This wizard will help you to export your journal to various formats. You can sel
<property name="title" translatable="yes">Select a directory</property>
<property name="window_position">center-on-parent</property>
<property name="type_hint">dialog</property>
<property name="has_separator">False</property>
<property name="action">select-folder</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox17">
Expand Down
12 changes: 7 additions & 5 deletions rednotebook/gui/mainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,16 +452,18 @@ def show_dir_chooser(self, type, dir_not_found=False):
if type == 'new':
#dir_chooser.set_action(gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER)
dir_chooser.set_title(_('Select an empty folder for your new journal'))
msg_part1 = _('<b>Journals are saved in a directory, not in a single file.\n')
msg_part2 = _('The directory name will be the title of the new journal.</b>')
label.set_markup(msg_part1 + msg_part2)
msg_part1 = _('Journals are saved in a directory, not in a single file.')
msg_part2 = _('The directory name will be the title of the new journal.')
label.set_markup('<b>' + msg_part1 + '\n' + msg_part2 + '</b>')
elif type == 'open':
#dir_chooser.set_action(gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER)
dir_chooser.set_title(_('Select an existing journal directory'))
label.set_markup(_("<b>The directory should contain your journal's data files</b>"))
label.set_markup('<b>' + \
_("The directory should contain your journal's data files") + '</b>')
elif type == 'saveas':
dir_chooser.set_title(_('Select an empty folder for the new location your journal'))
label.set_markup(_('<b>The directory name will be the new title of the journal</b>'))
label.set_markup('<b>' + \
_('The directory name will be the new title of the journal') + '</b>')
dir_chooser.set_current_folder(self.redNotebook.dirs.dataDir)

response = dir_chooser.run()
Expand Down

0 comments on commit 7b2eef2

Please sign in to comment.