← Back to team overview

phatch-dev team mailing list archive

[Bug 437852] Re: German file save uses reserved word "Tag"

 

Fix committed in trunk

=== modified file 'phatch/lib/pyWx/popup.py'
--- phatch/lib/pyWx/popup.py	2009-09-22 17:10:51 +0000
+++ phatch/lib/pyWx/popup.py	2009-10-01 03:18:24 +0000
@@ -166,7 +166,7 @@
             v = parent.SplitValue(value)[0]
         else:
             v = value
-        v = self._to_local(v).strip()
+        v = v.strip()
         if v and v not in local_choices:
             local_choices.insert(0, v)
         super(TextCtrl, self).__init__(parent, id, value,
@@ -699,7 +699,7 @@
         #create ctrl instance
         if Ctrl._busy_cursor:
             wx.BeginBusyCursor()
-        self.edit = Ctrl(self, value=value_as_string,
+        self.edit = Ctrl(self, value=Ctrl._to_english(value_as_string),
                             size=(height, height-2*border), **extra)
         #check min size
         if self.edit.GetSize()[1] > height:


** Changed in: phatch
       Status: In Progress => Fix Committed

-- 
German file save uses reserved word "Tag"
https://bugs.launchpad.net/bugs/437852
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Committed

Bug description:
It is not possible to use the 4th option in rename/filename dropdown dialog.
The german word for day is Tag, wich is already used as a variable in phatch.
Suggestion: use dayOfWeek, that is "WochenTag"

tested OK Fix:
#: /home/stani/sync/python/phatch/trunk/phatch/actions/time_shift.py:43
msgid "day"
msgstr "WochenTag"

It would be nice to see two digits for every number in order to comply with ISO format & readability
(NOT working here)
formField.py
160:    DATE = '<%02s>-<%02s>-<%02s>'%(_t('year'), _t('month'), _t('day'))



References