~dpm/qreator/snap

« back to all changes in this revision

Viewing changes to qreator/qrcodes/QRCodeVCardGtk.py

  • Committer: David Planella
  • Date: 2012-11-23 14:07:08 UTC
  • mfrom: (107.1.1 qreator)
  • Revision ID: david.planella@ubuntu.com-20121123140708-ef2ny921lpwo99eq
Merged i18n fixes and updated .pot file

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# with this program.  If not, see <http://www.gnu.org/licenses/>.
15
15
### END LICENSE
16
16
 
17
 
 
18
 
from GtkHelpers import clear_text_entry, show_clear_icon
19
 
from gi.repository import Gtk, GObject
20
 
from qreator_lib.helpers import get_data_file
21
 
from qreator_lib.i18n import _
22
 
import vobject
23
 
 
24
17
# VCARD reference http://tools.ietf.org/html/rfc6350
25
18
 
26
19
# TODO:
39
32
# X-KADDRESSBOOK-X-AssistantsName, X-KADDRESSBOOK-X-IMAddress,
40
33
# X-KADDRESSBOOK-X-ManagersName, X-KADDRESSBOOK-X-Office
41
34
# X-KADDRESSBOOK-X-Profession, X-KADDRESSBOOK-X-SpouseName
 
35
 
 
36
from GtkHelpers import clear_text_entry, show_clear_icon
 
37
from gi.repository import Gtk, GObject
 
38
from qreator_lib.helpers import get_data_file
 
39
from qreator_lib.i18n import _
 
40
import vobject
 
41
 
 
42
 
42
43
ENTRY_TYPES = [(_("E-mail"), "email"),
43
44
               (_("Phone"), "tel"),
44
45
               (_("Address"), "adr"),
45
46
               (_("Website"), "url"),
46
 
               #(_("Organization"), "org"), # python-vobject/+bug/1010104
47
47
               (_("Nickname"), "nickname"),
48
48
               (_("Title"), "title"),
49
49
               (_("Role"), "role"),
50
50
               (_("Note"), "note"),
 
51
               #(_("Organization"), "org"), # python-vobject/+bug/1010104
51
52
               ]
52
53
 
53
54
# TRANSLATORS: