Skip to content

Commit

Permalink
replacing ... (three dots) with … (ellipsis)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrasca committed Nov 16, 2017
1 parent 4837274 commit 8941cef
Show file tree
Hide file tree
Showing 34 changed files with 508 additions and 259 deletions.
6 changes: 3 additions & 3 deletions bauble/connmgr.glade
Expand Up @@ -302,7 +302,7 @@ Click on &lt;b&gt;Add&lt;/b&gt; to create a new connection.</property>
</child>
<child>
<object class="GtkButton" id="file_btnbrowse">
<property name="label">...</property>
<property name="label"></property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
Expand Down Expand Up @@ -348,7 +348,7 @@ Click on &lt;b&gt;Add&lt;/b&gt; to create a new connection.</property>
</child>
<child>
<object class="GtkButton" id="pictureroot_btnbrowse">
<property name="label">...</property>
<property name="label"></property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
Expand Down Expand Up @@ -533,7 +533,7 @@ Click on &lt;b&gt;Add&lt;/b&gt; to create a new connection.</property>
</child>
<child>
<object class="GtkButton" id="pictureroot2_btnbrowse">
<property name="label">...</property>
<property name="label"></property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
Expand Down
6 changes: 3 additions & 3 deletions bauble/connmgr.py
Expand Up @@ -233,7 +233,7 @@ def on_file_btnbrowse_clicked(self, *args):
previously = self.view.widget_get_value('file_entry')
last_folder, bn = os.path.split(previously)
self.view.run_file_chooser_dialog(
_("Choose a file..."), None,
_("Choose a file"), None,
action=gtk.FILE_CHOOSER_ACTION_SAVE,
buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL),
Expand All @@ -243,7 +243,7 @@ def on_pictureroot_btnbrowse_clicked(self, *args):
previously = self.view.widget_get_value('pictureroot_entry')
last_folder, bn = os.path.split(previously)
self.view.run_file_chooser_dialog(
_("Choose a file..."), None,
_("Choose a file"), None,
action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL),
Expand All @@ -253,7 +253,7 @@ def on_pictureroot2_btnbrowse_clicked(self, *args):
previously = self.view.widget_get_value('pictureroot2_entry')
last_folder, bn = os.path.split(previously)
self.view.run_file_chooser_dialog(
_("Choose a file..."), None,
_("Choose a file"), None,
action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL),
Expand Down
6 changes: 3 additions & 3 deletions bauble/editor.py
Expand Up @@ -1928,7 +1928,7 @@ def update_label(self):
# label.props.ellipsize doesn't work properly on a
# label in an expander we just do it ourselves here
if len(self.model.note) > max_length:
label.append('%s ...' % note_str[0:max_length-1])
label.append('%s ' % note_str[0:max_length-1])
else:
label.append(note_str)

Expand Down Expand Up @@ -2012,14 +2012,14 @@ def set_content(self, basename):
else:
# make button hold some text
im = gtk.Label()
im.set_text(_('Choose a file...'))
im.set_text(_('Choose a file'))
im.show()
self.widgets.picture_button.add(im)
self.widgets.picture_button.show()

def on_activate_browse_button(self, widget, data=None):
fileChooserDialog = gtk.FileChooserDialog(
_("Choose a file..."), None,
_("Choose a file"), None,
buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL))
try:
Expand Down
2 changes: 1 addition & 1 deletion bauble/plugins/garden/exporttopocket.py
Expand Up @@ -152,7 +152,7 @@ class ExportToPocketTool(pluginmgr.Tool):

@classmethod
def start(self):
d = gtk.FileChooserDialog(_("Choose a file to export to..."), None,
d = gtk.FileChooserDialog(_("Choose a file to export to"), None,
gtk.FILE_CHOOSER_ACTION_SAVE,
(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL))
Expand Down
2 changes: 1 addition & 1 deletion bauble/plugins/imex/csv_.py
Expand Up @@ -553,7 +553,7 @@ def on_selection_changed(filechooser, data=None):
return
ok = filechooser.action_area.get_children()[1]
ok.set_sensitive(os.path.isfile(f))
fc = gtk.FileChooserDialog(_("Choose file(s) to import..."),
fc = gtk.FileChooserDialog(_("Choose file(s) to import"),
None,
gtk.FILE_CHOOSER_ACTION_OPEN,
(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
Expand Down
4 changes: 2 additions & 2 deletions bauble/plugins/imex/iojson.py
Expand Up @@ -162,7 +162,7 @@ def get_objects(self):

def on_btnbrowse_clicked(self, button):
self.view.run_file_chooser_dialog(
_("Choose a file..."), None,
_("Choose a file"), None,
action=gtk.FILE_CHOOSER_ACTION_SAVE,
buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL),
Expand Down Expand Up @@ -245,7 +245,7 @@ def __init__(self, view):

def on_btnbrowse_clicked(self, button):
self.view.run_file_chooser_dialog(
_("Choose a file..."), None,
_("Choose a file"), None,
action=gtk.FILE_CHOOSER_ACTION_OPEN,
buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL),
Expand Down
4 changes: 2 additions & 2 deletions bauble/plugins/imex/select_export.glade
Expand Up @@ -314,7 +314,7 @@
</child>
<child>
<object class="GtkButton" id="btnbrowse">
<property name="label">...</property>
<property name="label"></property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
Expand Down Expand Up @@ -535,7 +535,7 @@
</child>
<child>
<object class="GtkButton" id="btnbrowse1">
<property name="label">...</property>
<property name="label"></property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
Expand Down
2 changes: 1 addition & 1 deletion bauble/plugins/imex/xml.py
Expand Up @@ -98,7 +98,7 @@ def __export_task(self, path, one_file=True):
for table_name, table in db.metadata.tables.iteritems():
if one_file:
tableset_el = etree.Element('tableset')
logger.info('exporting %s...' % table_name)
logger.info('exporting %s' % table_name)
table_el = ElementFactory(tableset_el, 'table',
attrib={'name': table_name})
results = table.select().execute().fetchall()
Expand Down
2 changes: 1 addition & 1 deletion bauble/plugins/plants/taxonomy_check.py
Expand Up @@ -265,7 +265,7 @@ def on_filebtnbrowse_clicked(self, *args):
previously = self.view.widget_get_value('file_path_entry')
last_folder, bn = os.path.split(previously)
self.view.run_file_chooser_dialog(
_("Choose a file..."), None,
_("Choose a file"), None,
action=gtk.FILE_CHOOSER_ACTION_SAVE,
buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL),
Expand Down
2 changes: 1 addition & 1 deletion bauble/plugins/report/xsl/__init__.py
Expand Up @@ -374,7 +374,7 @@ class FileChooserButton(gtk.Button):
but doesn't revert back to the original file of the dialog is cancelled.
"""

_default_label = _("Select a file...")
_default_label = _("Select a file")

def __init__(self, dialog_parent):
super(FileChooserButton, self).__init__(self._default_label)
Expand Down
2 changes: 1 addition & 1 deletion bauble/search.py
Expand Up @@ -1087,7 +1087,7 @@ def __init__(self, query_builder, remove_callback, row_number):
self.table.attach(self.and_or_combo, 0, 1,
row_number, row_number + 1)

self.prop_button = gtk.Button(_('Choose a property...'))
self.prop_button = gtk.Button(_('Choose a property'))
self.prop_button.props.use_underline = False

def on_prop_button_clicked(button, event, menu):
Expand Down
2 changes: 1 addition & 1 deletion bauble/view.py
Expand Up @@ -820,7 +820,7 @@ def search(self, text):
if not utils.yes_no_dialog(msg):
return
statusbar.push(sbcontext_id, _("Retrieving %s search "
"results...") % len(results))
"results") % len(results))
try:
# don't bother with a task if the results are small,
# this keeps the screen from flickering when the main
Expand Down
17 changes: 10 additions & 7 deletions po/ar.po
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: bauble\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-15 10:52-0500\n"
"POT-Creation-Date: 2017-11-16 16:11-0500\n"
"PO-Revision-Date: 2015-07-12 18:47-0500\n"
"Last-Translator: Mario Frasca <mariotomo@gmail.com>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/bauble/master/ar/"
Expand Down Expand Up @@ -697,23 +697,26 @@ msgid "Changes"
msgstr ""

#: bauble/plugins/abcd/__init__.py:335
#: bauble/plugins/garden/exporttopocket.py:155
msgid "Choose a file to export to..."
msgstr ""

#: bauble/plugins/garden/exporttopocket.py:155
msgid "Choose a file to export to…"
msgstr ""

#: bauble/connmgr.py:236 bauble/connmgr.py:246 bauble/connmgr.py:256
#: bauble/editor.py:2015 bauble/editor.py:2022
#: bauble/plugins/imex/iojson.py:165 bauble/plugins/imex/iojson.py:248
#: bauble/plugins/plants/taxonomy_check.py:268
msgid "Choose a file..."
msgid "Choose a file"
msgstr ""

#: bauble/search.py:1090
msgid "Choose a property..."
msgid "Choose a property"
msgstr ""

#: bauble/plugins/imex/csv_.py:556
msgid "Choose file(s) to import..."
msgid "Choose file(s) to import"
msgstr ""

#: bauble/querybuilder.glade:134
Expand Down Expand Up @@ -2095,7 +2098,7 @@ msgid "Reset to defaults"
msgstr ""

#: bauble/view.py:822
msgid "Retrieving %s search results..."
msgid "Retrieving %s search results"
msgstr ""

#: bauble/plugins/garden/accession.py:440
Expand Down Expand Up @@ -2306,7 +2309,7 @@ msgid "Select a directory"
msgstr ""

#: bauble/plugins/report/xsl/__init__.py:377
msgid "Select a file..."
msgid "Select a file"
msgstr ""

#: bauble/plugins/report/xsl/__init__.py:385
Expand Down
42 changes: 30 additions & 12 deletions po/cs.po
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: bauble\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-15 10:52-0500\n"
"POT-Creation-Date: 2017-11-16 16:11-0500\n"
"PO-Revision-Date: 2015-09-08 16:23+0200\n"
"Last-Translator: Michal Čihař <michal@cihar.com>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/bauble/master/cs/"
Expand Down Expand Up @@ -725,24 +725,27 @@ msgid "Changes"
msgstr "Změny"

#: bauble/plugins/abcd/__init__.py:335
#: bauble/plugins/garden/exporttopocket.py:155
msgid "Choose a file to export to..."
msgstr "Zvolte soubor do kterého exportovat..."

#: bauble/plugins/garden/exporttopocket.py:155
msgid "Choose a file to export to…"
msgstr ""

#: bauble/connmgr.py:236 bauble/connmgr.py:246 bauble/connmgr.py:256
#: bauble/editor.py:2015 bauble/editor.py:2022
#: bauble/plugins/imex/iojson.py:165 bauble/plugins/imex/iojson.py:248
#: bauble/plugins/plants/taxonomy_check.py:268
msgid "Choose a file..."
msgstr "Zvolte soubor..."
msgid "Choose a file"
msgstr "Zvolte soubor"

#: bauble/search.py:1090
msgid "Choose a property..."
msgstr "Zvolte vlastnost..."
msgid "Choose a property"
msgstr "Zvolte vlastnost"

#: bauble/plugins/imex/csv_.py:556
msgid "Choose file(s) to import..."
msgstr "Zvolte soubor(y) pro importování..."
msgid "Choose file(s) to import"
msgstr "Zvolte soubor(y) pro importování"

#: bauble/querybuilder.glade:134
msgid "Clauses"
Expand Down Expand Up @@ -2197,8 +2200,8 @@ msgid "Reset to defaults"
msgstr ""

#: bauble/view.py:822
msgid "Retrieving %s search results..."
msgstr "Načítání %s výsledků vyhledávání..."
msgid "Retrieving %s search results"
msgstr "Načítání %s výsledků vyhledávání"

#: bauble/plugins/garden/accession.py:440
msgid "Rhizome"
Expand Down Expand Up @@ -2410,8 +2413,8 @@ msgid "Select a directory"
msgstr "Zvolte adresář"

#: bauble/plugins/report/xsl/__init__.py:377
msgid "Select a file..."
msgstr "Vyberte soubor..."
msgid "Select a file"
msgstr "Vyberte soubor"

#: bauble/plugins/report/xsl/__init__.py:385
msgid "Select a stylesheet"
Expand Down Expand Up @@ -3956,9 +3959,18 @@ msgstr "°F"
#~ msgid "Choose a file to import from..."
#~ msgstr "Zvolte soubor do kterého exportovat..."

#~ msgid "Choose a file..."
#~ msgstr "Zvolte soubor..."

#~ msgid "Choose a property..."
#~ msgstr "Zvolte vlastnost..."

#~ msgid "Choose a search domain..."
#~ msgstr "Zvolte doménu hledání..."

#~ msgid "Choose file(s) to import..."
#~ msgstr "Zvolte soubor(y) pro importování..."

#~ msgid "Container: %s"
#~ msgstr "Kontejner: %s"

Expand Down Expand Up @@ -4111,6 +4123,9 @@ msgstr "°F"
#~ msgid "Propagule of cultivated (wild) plant"
#~ msgstr "Propagule vypěstované divoké rostliny"

#~ msgid "Retrieving %s search results..."
#~ msgstr "Načítání %s výsledků vyhledávání..."

#~ msgid "Save your changes and add a planting to this accession."
#~ msgstr "Uložit Vaše změny a přidat tuto rostlinu do tohoto přírůstku."

Expand Down Expand Up @@ -4144,6 +4159,9 @@ msgstr "°F"
#~ msgid "Search Google"
#~ msgstr "Vyhledávání Google"

#~ msgid "Select a file..."
#~ msgstr "Vyberte soubor..."

#~ msgid "Select a source"
#~ msgstr "Vyberte zdroj"

Expand Down

0 comments on commit 8941cef

Please sign in to comment.