Merge branch 'master' of github.com:gramps-project/gramps

This commit is contained in:
erikdrgm
2017-03-19 10:16:23 +01:00
36 changed files with 2793 additions and 2637 deletions

View File

@@ -39,6 +39,7 @@ from ..lib.date import Date
from ._dateparser import DateParser from ._dateparser import DateParser
from ._datedisplay import DateDisplay from ._datedisplay import DateDisplay
from ._datehandler import register_datehandler from ._datehandler import register_datehandler
from ..const import ARABIC_COMMA
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@@ -202,6 +203,27 @@ class DateDisplayAR(DateDisplay):
scal = self.format_extras(cal, newyear) scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal) return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
def dd_dformat01(self, date_val):
"""
numerical -- for Arabic dates
"""
value = DateDisplay.dd_dformat01(self, date_val)
return value.replace(',', ARABIC_COMMA)
def dd_dformat02(self, date_val, inflect, long_months):
"""
month_name day, year -- for Arabic dates
"""
value = DateDisplay.dd_dformat02(self, date_val, inflect, long_months)
return value.replace(',', ARABIC_COMMA)
def dd_dformat03(self, date_val, inflect, short_months):
"""
month_abbreviation day, year -- for Arabic dates
"""
value = DateDisplay.dd_dformat03(self, date_val, inflect, short_months)
return value.replace(',', ARABIC_COMMA)
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Register classes # Register classes

View File

@@ -305,6 +305,26 @@ class DateDisplayBG(DateDisplay):
scal = self.format_extras(cal, newyear) scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal) return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
def dd_dformat01(self, date_val):
"""
numerical -- for Bulgarian dates
"""
if date_val[3]:
return self.display_iso(date_val)
else:
if date_val[0] == date_val[1] == 0:
return str(date_val[2])
else:
value = self._tformat.replace('%m', str(date_val[1]))
# some locales have %b for the month, e.g. ar_EG, is_IS, nb_NO
value = value.replace('%b', str(date_val[1]))
if date_val[0] == 0: # ignore the zero day and its delimiter
i_day = value.find('%e') # Bulgarian uses %e and not %d
value = value.replace(value[i_day:i_day+3], '')
value = value.replace('%e', str(date_val[0]))
value = value.replace('%Y', str(abs(date_val[2])))
return value.replace('-', '/')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Register classes # Register classes

View File

@@ -30,6 +30,7 @@ Icelandic-specific classes for parsing and displaying dates.
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import re import re
import datetime
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@@ -172,6 +173,34 @@ class DateDisplayIs(DateDisplay):
return "%s%s%s%s" % (qual_str, self._mod_str[mod], return "%s%s%s%s" % (qual_str, self._mod_str[mod],
text, scal) text, scal)
def _get_weekday(self, date_val):
if date_val[0] == 0 or date_val[1] == 0: # no day or no month or both
return ''
w_day = datetime.date(date_val[2], date_val[1], date_val[0]) # y, m, d
return self.short_days[((w_day.weekday() + 1) % 7) + 1]
def dd_dformat01(self, date_val):
"""
numerical -- for Icelandic dates
"""
if date_val[3]:
return self.display_iso(date_val)
else:
if date_val[0] == date_val[1] == 0:
return str(date_val[2])
else:
value = self._tformat.replace('%m', str(date_val[1]))
# some locales have %b for the month, e.g. ar_EG, is_IS, nb_NO
value = value.replace('%b', str(date_val[1]))
# some locales have %a for the abbreviated day, e.g. is_IS
value = value.replace('%a', self._get_weekday(date_val))
if date_val[0] == 0: # ignore the zero day and its delimiter
i_day = value.find('%e') # Icelandic uses %e and not %d
value = value.replace(value[i_day:i_day+3], '')
value = value.replace('%e', str(date_val[0]))
value = value.replace('%Y', str(abs(date_val[2])))
return value.replace('-', '/')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Register classes # Register classes

View File

@@ -195,7 +195,7 @@ class DateDisplayPL(DateDisplay):
formats = ( formats = (
"RRRR-MM-DD (ISO)", "Numeryczny", "Miesiąc Dzień, Rok", "RRRR-MM-DD (ISO)", "Numeryczny", "Miesiąc Dzień, Rok",
"Dzień.Miesiąc.Rok", "Dzień Miesiąc Rok", "Dzień MieRzym Rok" "Miesiąc.Dzień.Rok", "Dzień Miesiąc Rok", "Dzień MieRzym Rok"
) )
# this definition must agree with its "_display_gregorian" method # this definition must agree with its "_display_gregorian" method
@@ -224,15 +224,15 @@ class DateDisplayPL(DateDisplay):
if self.format == 0: if self.format == 0:
return self.display_iso(date_val) return self.display_iso(date_val)
elif self.format == 1: elif self.format == 1:
# month_number.day.year # day.month_number.year
if date_val[3]: if date_val[3]:
return self.display_iso(date_val) return self.display_iso(date_val)
else: else:
if date_val[0] == date_val[1] == 0: if date_val[0] == date_val[1] == 0:
value = str(date_val[2]) value = str(date_val[2])
else: else:
value = self._tformat.replace('%m', str(date_val[0])) value = self._tformat.replace('%d', str(date_val[0]))
value = value.replace('%d', str(date_val[1])) value = value.replace('%m', str(date_val[1]))
value = value.replace('%Y', str(date_val[2])) value = value.replace('%Y', str(date_val[2]))
elif self.format == 2: elif self.format == 2:
# month_name day, year # month_name day, year
@@ -245,14 +245,14 @@ class DateDisplayPL(DateDisplay):
value = "%s %d, %s" % (self.long_months[date_val[1]], value = "%s %d, %s" % (self.long_months[date_val[1]],
date_val[0], year) date_val[0], year)
elif self.format == 3: elif self.format == 3:
# day. month_number. year # month_number. day. year
if date_val[0] == 0: if date_val[0] == 0:
if date_val[1] == 0: if date_val[1] == 0:
value = year value = year
else: else:
value = "%d.%s" % (date_val[1], year) value = "%d.%s" % (date_val[1], year)
else: else:
value = "%d.%d.%s" % (date_val[0], date_val[1], year) value = "%d.%d.%s" % (date_val[1], date_val[0], year)
elif self.format == 4: elif self.format == 4:
# day month_name year # day month_name year
if date_val[0] == 0: if date_val[0] == 0:

View File

@@ -121,6 +121,7 @@ class DateDisplay:
self._mod_str = self._ds.modifiers self._mod_str = self._ds.modifiers
self._qual_str = self._ds.qualifiers self._qual_str = self._ds.qualifiers
self.long_days = self._ds.long_days self.long_days = self._ds.long_days
self.short_days = self._ds.short_days # Icelandic needs this
if format is None: if format is None:
self.format = 0 self.format = 0
@@ -553,6 +554,8 @@ class DateDisplay:
return str(date_val[2]) return str(date_val[2])
else: else:
value = self._tformat.replace('%m', str(date_val[1])) value = self._tformat.replace('%m', str(date_val[1]))
# some locales have %b for the month, e.g. ar_EG, is_IS, nb_NO
value = value.replace('%b', str(date_val[1]))
if date_val[0] == 0: # ignore the zero day and its delimiter if date_val[0] == 0: # ignore the zero day and its delimiter
i_day = value.find('%d') i_day = value.find('%d')
value = value.replace(value[i_day:i_day+3], '') value = value.replace(value[i_day:i_day+3], '')

View File

@@ -248,12 +248,23 @@ class DateStrings:
_("Saturday"), _("Saturday"),
) )
self.short_days = ("", # Icelandic needs them
_("Sun"),
_("Mon"),
_("Tue"),
_("Wed"),
_("Thu"),
_("Fri"),
_("Sat"))
# set GRAMPS_RESOURCES then: python3 -m gramps.gen.datehandler._datestrings
if __name__ == '__main__': if __name__ == '__main__':
import sys import sys
from ..utils.grampslocale import GrampsLocale from ..utils.grampslocale import GrampsLocale
from ..const import GRAMPS_LOCALE as glocale from ..const import GRAMPS_LOCALE as glocale
from ._grampslocale import (_deprecated_long_months as old_long, from ._grampslocale import (_deprecated_long_months as old_long,
_deprecated_short_months as old_short, _deprecated_short_months as old_short,
_deprecated_short_days as old_short_days, # Icelandic needs them
_deprecated_long_days as old_days) _deprecated_long_days as old_days)
from ._datedisplay import DateDisplay from ._datedisplay import DateDisplay
import gettext import gettext
@@ -272,10 +283,10 @@ if __name__ == '__main__':
print ("# Generating snippets for {}*.po\n" print ("# Generating snippets for {}*.po\n"
"# Available languages: {}".format( "# Available languages: {}".format(
lang_short, available_langs)) lang_short, available_langs))
glocale = GrampsLocale(languages=(lang)) glocale = GrampsLocale(languages=(lang)) # in __main__
dd = glocale.date_displayer dd = glocale.date_displayer
ds = dd._ds ds = dd._ds
glocale_EN = GrampsLocale(languages=('en')) glocale_EN = GrampsLocale(languages=('en')) # in __main__
ds_EN = DateStrings(glocale_EN) ds_EN = DateStrings(glocale_EN)
filename = __file__ filename = __file__
@@ -308,6 +319,7 @@ if __name__ == '__main__':
localized_months = old_long localized_months = old_long
print_po_snippet((ds_EN.long_months, localized_months, old_long), print_po_snippet((ds_EN.long_months, localized_months, old_long),
"localized lexeme inflections||") "localized lexeme inflections||")
try: try:
localized_months = dd.__class__.short_months localized_months = dd.__class__.short_months
except AttributeError: except AttributeError:
@@ -315,6 +327,10 @@ if __name__ == '__main__':
print_po_snippet((ds_EN.short_months, localized_months, old_short), print_po_snippet((ds_EN.short_months, localized_months, old_short),
"localized lexeme inflections - short month form||") "localized lexeme inflections - short month form||")
print_po_snippet((ds_EN.long_days, old_days, old_days), "")
print_po_snippet((ds_EN.short_days, old_short_days, old_short_days), "")
try: try:
loc = dd.__class__.hebrew loc = dd.__class__.hebrew
print_po_snippet((ds_EN.hebrew, loc, loc), print_po_snippet((ds_EN.hebrew, loc, loc),
@@ -356,5 +372,3 @@ if __name__ == '__main__':
"date quality|") "date quality|")
except AttributeError: except AttributeError:
pass pass
print_po_snippet((ds_EN.long_days, old_days, old_days), "")

View File

@@ -1,3 +1,22 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2015 Douglas S. Blank <doug.blank@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# Standard python modules # Standard python modules

View File

@@ -95,6 +95,7 @@ class GraphicsStyle:
self.fill_color = obj.fill_color self.fill_color = obj.fill_color
self.lwidth = obj.lwidth self.lwidth = obj.lwidth
self.lstyle = obj.lstyle self.lstyle = obj.lstyle
self.description = obj.description
else: else:
self.para_name = "" self.para_name = ""
self.shadow = 0 self.shadow = 0
@@ -103,6 +104,19 @@ class GraphicsStyle:
self.color = (0, 0, 0) self.color = (0, 0, 0)
self.fill_color = (255, 255, 255) self.fill_color = (255, 255, 255)
self.lstyle = SOLID self.lstyle = SOLID
self.description = ""
def set_description(self, text):
"""
Set the desciption of the graphics object
"""
self.description = text
def get_description(self):
"""
Return the desciption of the graphics object
"""
return self.description
def set_line_width(self, val): def set_line_width(self, val):
""" """

View File

@@ -147,25 +147,25 @@ class StyleSheetList:
xml_file.write('<?xml version="1.0" encoding="utf-8"?>\n') xml_file.write('<?xml version="1.0" encoding="utf-8"?>\n')
xml_file.write('<stylelist>\n') xml_file.write('<stylelist>\n')
for name in sorted(self.map.keys()): # enable diff of archived copies for name in sorted(self.map.keys()): # enable diff of archived ones
if name == "default": if name == "default":
continue continue
sheet = self.map[name] sheet = self.map[name]
xml_file.write('<sheet name="%s">\n' % escxml(name)) xml_file.write(' <sheet name="%s">\n' % escxml(name))
for p_name in sheet.get_paragraph_style_names(): for p_name in sorted(sheet.get_paragraph_style_names()):
self.write_paragraph_style(xml_file, sheet, p_name) self.write_paragraph_style(xml_file, sheet, p_name)
for t_name in sheet.get_table_style_names(): for t_name in sorted(sheet.get_table_style_names()):
self.write_table_style(xml_file, sheet, t_name) self.write_table_style(xml_file, sheet, t_name)
for c_name in sheet.get_cell_style_names(): for c_name in sorted(sheet.get_cell_style_names()):
self.write_cell_style(xml_file, sheet, c_name) self.write_cell_style(xml_file, sheet, c_name)
for g_name in sheet.get_draw_style_names(): for g_name in sorted(sheet.get_draw_style_names()):
self.write_graphics_style(xml_file, sheet, g_name) self.write_graphics_style(xml_file, sheet, g_name)
xml_file.write('</sheet>\n') xml_file.write(' </sheet>\n')
xml_file.write('</stylelist>\n') xml_file.write('</stylelist>\n')
def write_paragraph_style(self, xml_file, sheet, p_name): def write_paragraph_style(self, xml_file, sheet, p_name):
@@ -184,15 +184,15 @@ class StyleSheetList:
# Write out style definition # Write out style definition
xml_file.write( xml_file.write(
'<style name="%s">\n' % escxml(p_name) + ' <style name="%s">\n' % escxml(p_name) +
'<font face="%d" ' % font.get_type_face() + ' <font face="%d" ' % font.get_type_face() +
'size="%d" ' % font.get_size() + 'size="%d" ' % font.get_size() +
'italic="%d" ' % font.get_italic() + 'italic="%d" ' % font.get_italic() +
'bold="%d" ' % font.get_bold() + 'bold="%d" ' % font.get_bold() +
'underline="%d" ' % font.get_underline() + 'underline="%d" ' % font.get_underline() +
'color="#%02x%02x%02x" ' % font.get_color() + 'color="#%02x%02x%02x" ' % font.get_color() +
'/>\n' + '/>\n' +
'<para ' + ' <para ' +
'description="%s" ' % escxml(para.get_description()) + 'description="%s" ' % escxml(para.get_description()) +
'rmargin="%.3f" ' % rmargin + 'rmargin="%.3f" ' % rmargin +
'lmargin="%.3f" ' % lmargin + 'lmargin="%.3f" ' % lmargin +
@@ -208,7 +208,7 @@ class StyleSheetList:
'rborder="%d" ' % para.get_right_border() + 'rborder="%d" ' % para.get_right_border() +
'bborder="%d" ' % para.get_bottom_border() + 'bborder="%d" ' % para.get_bottom_border() +
'/>\n' + '/>\n' +
'</style>\n' ' </style>\n'
) )
def write_table_style(self, xml_file, sheet, t_name): def write_table_style(self, xml_file, sheet, t_name):
@@ -217,8 +217,8 @@ class StyleSheetList:
# Write out style definition # Write out style definition
xml_file.write( xml_file.write(
'<style name="%s">\n' % escxml(t_name) + ' <style name="%s">\n' % escxml(t_name) +
'<table width="%d" ' % t_style.get_width() + ' <table width="%d" ' % t_style.get_width() +
'columns="%d"' % t_style.get_columns() + 'columns="%d"' % t_style.get_columns() +
'>\n') '>\n')
@@ -226,8 +226,8 @@ class StyleSheetList:
column_width = t_style.get_column_width(col) column_width = t_style.get_column_width(col)
xml_file.write('<column width="%d" />\n' % column_width) xml_file.write('<column width="%d" />\n' % column_width)
xml_file.write('</table>\n') xml_file.write(' </table>\n')
xml_file.write('</style>\n') xml_file.write(' </style>\n')
def write_cell_style(self, xml_file, sheet, c_name): def write_cell_style(self, xml_file, sheet, c_name):
@@ -235,14 +235,14 @@ class StyleSheetList:
# Write out style definition # Write out style definition
xml_file.write( xml_file.write(
'<style name="%s">\n' % escxml(c_name) + ' <style name="%s">\n' % escxml(c_name) +
'<cell lborder="%d" ' % cell.get_left_border() + ' <cell lborder="%d" ' % cell.get_left_border() +
'rborder="%d" ' % cell.get_right_border() + 'rborder="%d" ' % cell.get_right_border() +
'tborder="%d" ' % cell.get_top_border() + 'tborder="%d" ' % cell.get_top_border() +
'bborder="%d" ' % cell.get_bottom_border() + 'bborder="%d" ' % cell.get_bottom_border() +
'pad="%.3f" ' % cell.get_padding() + 'pad="%.3f" ' % cell.get_padding() +
'/>\n' + '/>\n' +
'</style>\n' ' </style>\n'
) )
def write_graphics_style(self, xml_file, sheet, g_name): def write_graphics_style(self, xml_file, sheet, g_name):
@@ -251,8 +251,9 @@ class StyleSheetList:
# Write out style definition # Write out style definition
xml_file.write( xml_file.write(
'<style name="%s">\n' % escxml(g_name) + ' <style name="%s">\n' % escxml(g_name) +
'<draw para="%s" ' % draw.get_paragraph_style() + ' <draw para="%s" ' % draw.get_paragraph_style() +
'description="%s" ' % escxml(draw.get_description()) +
'width="%.3f" ' % draw.get_line_width() + 'width="%.3f" ' % draw.get_line_width() +
'style="%d" ' % draw.get_line_style() + 'style="%d" ' % draw.get_line_style() +
'color="#%02x%02x%02x" ' % draw.get_color() + 'color="#%02x%02x%02x" ' % draw.get_color() +
@@ -260,7 +261,7 @@ class StyleSheetList:
'shadow="%d" ' % draw.get_shadow() + 'shadow="%d" ' % draw.get_shadow() +
'space="%.3f" ' % draw.get_shadow_space() + 'space="%.3f" ' % draw.get_shadow_space() +
'/>\n' + '/>\n' +
'</style>\n' ' </style>\n'
) )
def parse(self): def parse(self):
@@ -507,6 +508,8 @@ class SheetParser(handler.ContentHandler):
self.c.set_padding(float(attrs['pad'])) self.c.set_padding(float(attrs['pad']))
elif tag == "draw": elif tag == "draw":
self.g = GraphicsStyle() self.g = GraphicsStyle()
if 'description' in attrs:
self.g.set_description(attrs['description'])
self.g.set_paragraph_style(attrs['para']) self.g.set_paragraph_style(attrs['para'])
self.g.set_line_width(float(attrs['width'])) self.g.set_line_width(float(attrs['width']))
self.g.set_line_style(int(attrs['style'])) self.g.set_line_style(int(attrs['style']))

View File

@@ -30,8 +30,6 @@
# Gramps modules # Gramps modules
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from ...const import GRAMPS_LOCALE as glocale
_ = glocale.translation.sgettext
from ..docgen import PaperSize from ..docgen import PaperSize
from ...const import PAPERSIZE from ...const import PAPERSIZE

View File

@@ -256,8 +256,11 @@ class ConfigManager:
try: # see bugs 5356, 5490, 5591, 5651, 5718, etc. try: # see bugs 5356, 5490, 5591, 5651, 5718, etc.
parser.read(filename, encoding='utf8') parser.read(filename, encoding='utf8')
except Exception as err: except Exception as err:
msg1 = _("WARNING: could not parse file %s because %s, recreating it:\n") msg1 = _("WARNING: could not parse file:\n%(file)s\n"
logging.warn(msg1 % (filename, str(err))) "because %(error)s -- recreating it\n") % {
'file' : filename,
'error' : str(err)}
logging.warn(msg1)
return return
for sec in parser.sections(): for sec in parser.sections():
name = sec.lower() name = sec.lower()

View File

@@ -32,6 +32,7 @@ class RotateHandlerTest(unittest.TestCase):
rh = RotateHandler(10) rh = RotateHandler(10)
l = logging.getLogger("RotateHandlerTest") l = logging.getLogger("RotateHandlerTest")
l.setLevel(logging.DEBUG) l.setLevel(logging.DEBUG)
l.propagate = False
l.addHandler(rh) l.addHandler(rh)
@@ -53,6 +54,7 @@ class RotateHandlerTest(unittest.TestCase):
rh = RotateHandler(10) rh = RotateHandler(10)
l = logging.getLogger("RotateHandlerTest") l = logging.getLogger("RotateHandlerTest")
l.setLevel(logging.DEBUG) l.setLevel(logging.DEBUG)
l.propagate = False
l.addHandler(rh) l.addHandler(rh)

View File

@@ -336,7 +336,9 @@ class StyleEditor(ManagedWindow):
self.pname.set_text( '<span size="larger" weight="bold">%s</span>' % self.pname.set_text( '<span size="larger" weight="bold">%s</span>' %
self.current_name) self.current_name)
self.pname.set_use_markup(True) self.pname.set_use_markup(True)
self.pdescription.set_text(_("No description available") )
descr = g.get_description()
self.pdescription.set_text(descr or _("No description available"))
self.top.get_object("line_style").set_active(g.get_line_style()) self.top.get_object("line_style").set_active(g.get_line_style())
self.top.get_object("line_width").set_value(g.get_line_width()) self.top.get_object("line_width").set_value(g.get_line_width())

View File

@@ -27,8 +27,6 @@ __all__ = ["UndoableEntry"]
# Standard python modules # Standard python modules
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
import warnings import warnings
import logging import logging

View File

@@ -142,8 +142,8 @@ class CursorTest(unittest.TestCase):
self.assertEqual(v.handle, data.handle) self.assertEqual(v.handle, data.handle)
def test_insert_with_curor_closed(self): def test_insert_with_cursor_closed(self):
"""test_insert_with_curor_closed""" """test_insert_with_cursor_closed"""
cursor_txn = self.env.txn_begin() cursor_txn = self.env.txn_begin()
@@ -162,9 +162,8 @@ class CursorTest(unittest.TestCase):
self.assertEqual(v.handle, data.handle) self.assertEqual(v.handle, data.handle)
@unittest.skip("Insert expected to fail with open cursor") def test_insert_with_cursor_open(self):
def test_insert_with_curor_open(self): """test_insert_with_cursor_open"""
"""test_insert_with_curor_open"""
cursor_txn = self.env.txn_begin() cursor_txn = self.env.txn_begin()
cursor = self.surnames.cursor(txn=cursor_txn) cursor = self.surnames.cursor(txn=cursor_txn)
@@ -172,9 +171,7 @@ class CursorTest(unittest.TestCase):
cursor.next() cursor.next()
data = Data(b'2', 'surname2', 'name2') data = Data(b'2', 'surname2', 'name2')
the_txn = self.env.txn_begin() self.person_map.put(data.handle, data, txn=cursor_txn)
self.person_map.put(data.handle, data, txn=the_txn)
the_txn.commit()
cursor.close() cursor.close()
cursor_txn.commit() cursor_txn.commit()
@@ -183,9 +180,8 @@ class CursorTest(unittest.TestCase):
self.assertEqual(v.handle, data.handle) self.assertEqual(v.handle, data.handle)
@unittest.skip("Insert expected to fail with open cursor") def test_insert_with_cursor_open_and_db_open(self):
def test_insert_with_curor_open_and_db_open(self): """test_insert_with_cursor_open_and_db_open"""
"""test_insert_with_curor_open_and_db_open"""
(person2,surnames2) = self._open_tables() (person2,surnames2) = self._open_tables()
@@ -195,9 +191,7 @@ class CursorTest(unittest.TestCase):
cursor.next() cursor.next()
data = Data(b'2', 'surname2', 'name2') data = Data(b'2', 'surname2', 'name2')
the_txn = self.env.txn_begin() self.person_map.put(data.handle, data, txn=cursor_txn)
self.person_map.put(data.handle, data, txn=the_txn)
the_txn.commit()
cursor.close() cursor.close()
cursor_txn.commit() cursor_txn.commit()

View File

@@ -48,7 +48,6 @@ from gramps.gen.lib import (Tag, Media, Person, Family, Source,
Citation, Event, Place, Repository, Note) Citation, Event, Place, Repository, Note)
from gramps.gen.lib.genderstats import GenderStats from gramps.gen.lib.genderstats import GenderStats
from gramps.gen.const import GRAMPS_LOCALE as glocale from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
LOG = logging.getLogger(".dbapi") LOG = logging.getLogger(".dbapi")
_LOG = logging.getLogger(DBLOGNAME) _LOG = logging.getLogger(DBLOGNAME)

View File

@@ -28,8 +28,6 @@
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import os import os
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #

View File

@@ -119,7 +119,7 @@ def importData(database, filename, user):
database.smap = {} database.smap = {}
database.pmap = {} database.pmap = {}
database.fmap = {} database.fmap = {}
line_cnt = 0 line_cnt = 1
person_cnt = 0 person_cnt = 0
with ImportOpenFileContextManager(filename, user) as xml_file: with ImportOpenFileContextManager(filename, user) as xml_file:
@@ -900,7 +900,7 @@ class GrampsParser(UpdateCallback):
gramps_ids[id_] = gramps_id gramps_ids[id_] = gramps_id
return gramps_ids[id_] return gramps_ids[id_]
def parse(self, ifile, linecount=0, personcount=0): def parse(self, ifile, linecount=1, personcount=0):
""" """
Parse the xml file Parse the xml file
:param ifile: must be a file handle that is already open, with position :param ifile: must be a file handle that is already open, with position

View File

@@ -24,8 +24,6 @@
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from gi.repository import Gtk from gi.repository import Gtk
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #

View File

@@ -26,8 +26,6 @@ Google Maps map service plugin. Open place in maps.google.com
# python modules # python modules
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #

View File

@@ -17,6 +17,8 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
MODULE_VERSION="5.0" MODULE_VERSION="5.0"

View File

@@ -26,8 +26,6 @@ OpenStreetMap map service plugin. Open place in openstreetmap.org
# python modules # python modules
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #

View File

@@ -17,7 +17,8 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
# $Id: sidebar.gpr.py 20634 2012-11-07 17:53:14Z bmcage $ from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
MODULE_VERSION="5.0" MODULE_VERSION="5.0"

View File

@@ -61,8 +61,8 @@ tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
register(TOOL, register(TOOL,
id = 'dgenstats', id = 'dgenstats',
name = "Dump Gender Statistics", name = _("Dump Gender Statistics"),
description = ("Will dump the statistics for the gender guessing " description = _("Will dump the statistics for guessing the gender "
"from the first name."), "from the first name."),
version = '1.0', version = '1.0',
gramps_target_version = MODULE_VERSION, gramps_target_version = MODULE_VERSION,

View File

@@ -21,6 +21,8 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
MODULE_VERSION="5.0" MODULE_VERSION="5.0"

View File

@@ -18,6 +18,8 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
# plugins/webstuff/webstuff.gpr.py # plugins/webstuff/webstuff.gpr.py

View File

@@ -1,5 +1,5 @@
# List of source files which contain translatable strings. # List of source files which contain translatable strings.
# $Id$ #
gramps/cli/arghandler.py gramps/cli/arghandler.py
gramps/cli/argparser.py gramps/cli/argparser.py
gramps/cli/clidbman.py gramps/cli/clidbman.py
@@ -10,14 +10,15 @@ gramps/gen/config.py
gramps/gen/const.py gramps/gen/const.py
gramps/gen/datehandler/__init__.py gramps/gen/datehandler/__init__.py
gramps/gen/datehandler/_datedisplay.py gramps/gen/datehandler/_datedisplay.py
gramps/gen/datehandler/_datestrings.py
gramps/gen/datehandler/_dateparser.py gramps/gen/datehandler/_dateparser.py
gramps/gen/datehandler/_datestrings.py
gramps/gen/datehandler/_dateutils.py
gramps/gen/db/base.py gramps/gen/db/base.py
gramps/gen/db/exceptions.py gramps/gen/db/exceptions.py
gramps/gen/db/generic.py gramps/gen/db/generic.py
gramps/gen/db/undoredo.py
gramps/gen/display/name.py gramps/gen/display/name.py
gramps/gen/filters/_filterparser.py gramps/gen/filters/_filterparser.py
gramps/gen/filters/_genericfilter.py
gramps/gen/filters/rules/_changedsincebase.py gramps/gen/filters/rules/_changedsincebase.py
gramps/gen/filters/rules/_everything.py gramps/gen/filters/rules/_everything.py
gramps/gen/filters/rules/_hasattributebase.py gramps/gen/filters/rules/_hasattributebase.py
@@ -177,6 +178,7 @@ gramps/gen/filters/rules/person/_hasnote.py
gramps/gen/filters/rules/person/_hasnotematchingsubstringof.py gramps/gen/filters/rules/person/_hasnotematchingsubstringof.py
gramps/gen/filters/rules/person/_hasnoteregexp.py gramps/gen/filters/rules/person/_hasnoteregexp.py
gramps/gen/filters/rules/person/_hasrelationship.py gramps/gen/filters/rules/person/_hasrelationship.py
gramps/gen/filters/rules/person/_hassoundexname.py
gramps/gen/filters/rules/person/_hassourcecount.py gramps/gen/filters/rules/person/_hassourcecount.py
gramps/gen/filters/rules/person/_hassourceof.py gramps/gen/filters/rules/person/_hassourceof.py
gramps/gen/filters/rules/person/_hastag.py gramps/gen/filters/rules/person/_hastag.py
@@ -279,9 +281,13 @@ gramps/gen/filters/rules/source/_regexpidof.py
gramps/gen/filters/rules/source/_sourceprivate.py gramps/gen/filters/rules/source/_sourceprivate.py
gramps/gen/lib/attrtype.py gramps/gen/lib/attrtype.py
gramps/gen/lib/childreftype.py gramps/gen/lib/childreftype.py
gramps/gen/lib/citation.py
gramps/gen/lib/date.py gramps/gen/lib/date.py
gramps/gen/lib/event.py
gramps/gen/lib/eventref.py
gramps/gen/lib/eventroletype.py gramps/gen/lib/eventroletype.py
gramps/gen/lib/eventtype.py gramps/gen/lib/eventtype.py
gramps/gen/lib/family.py
gramps/gen/lib/familyreltype.py gramps/gen/lib/familyreltype.py
gramps/gen/lib/grampstype.py gramps/gen/lib/grampstype.py
gramps/gen/lib/ldsord.py gramps/gen/lib/ldsord.py
@@ -290,14 +296,21 @@ gramps/gen/lib/media.py
gramps/gen/lib/name.py gramps/gen/lib/name.py
gramps/gen/lib/nameorigintype.py gramps/gen/lib/nameorigintype.py
gramps/gen/lib/nametype.py gramps/gen/lib/nametype.py
gramps/gen/lib/note.py
gramps/gen/lib/notetype.py gramps/gen/lib/notetype.py
gramps/gen/lib/person.py gramps/gen/lib/person.py
gramps/gen/lib/place.py
gramps/gen/lib/placetype.py gramps/gen/lib/placetype.py
gramps/gen/lib/repo.py
gramps/gen/lib/repotype.py gramps/gen/lib/repotype.py
gramps/gen/lib/src.py
gramps/gen/lib/srcmediatype.py gramps/gen/lib/srcmediatype.py
gramps/gen/lib/srcattrtype.py gramps/gen/lib/srcattrtype.py
gramps/gen/lib/styledtext.py
gramps/gen/lib/styledtexttagtype.py gramps/gen/lib/styledtexttagtype.py
gramps/gen/lib/surname.py
gramps/gen/lib/surnamebase.py gramps/gen/lib/surnamebase.py
gramps/gen/lib/tag.py
gramps/gen/lib/urltype.py gramps/gen/lib/urltype.py
gramps/gen/merge/diff.py gramps/gen/merge/diff.py
gramps/gen/merge/mergecitationquery.py gramps/gen/merge/mergecitationquery.py
@@ -322,7 +335,6 @@ gramps/gen/plug/docgen/paperstyle.py
gramps/gen/plug/menu/_enumeratedlist.py gramps/gen/plug/menu/_enumeratedlist.py
gramps/gen/plug/report/_book.py gramps/gen/plug/report/_book.py
gramps/gen/plug/report/_constants.py gramps/gen/plug/report/_constants.py
gramps/gen/plug/report/_paper.py
gramps/gen/plug/report/endnotes.py gramps/gen/plug/report/endnotes.py
gramps/gen/plug/report/stdoptions.py gramps/gen/plug/report/stdoptions.py
gramps/gen/plug/report/utils.py gramps/gen/plug/report/utils.py
@@ -331,8 +343,10 @@ gramps/gen/proxy/private.py
gramps/gen/recentfiles.py gramps/gen/recentfiles.py
gramps/gen/relationship.py gramps/gen/relationship.py
gramps/gen/simple/_simpleaccess.py gramps/gen/simple/_simpleaccess.py
gramps/gen/simple/_simpletable.py
gramps/gen/utils/alive.py gramps/gen/utils/alive.py
gramps/gen/utils/cast.py gramps/gen/utils/cast.py
gramps/gen/utils/configmanager.py
gramps/gen/utils/db.py gramps/gen/utils/db.py
gramps/gen/utils/docgen/odstab.py gramps/gen/utils/docgen/odstab.py
gramps/gen/utils/image.py gramps/gen/utils/image.py
@@ -406,6 +420,7 @@ gramps/gui/editors/edittaglist.py
gramps/gui/editors/editurl.py gramps/gui/editors/editurl.py
gramps/gui/editors/filtereditor.py gramps/gui/editors/filtereditor.py
gramps/gui/editors/objectentries.py gramps/gui/editors/objectentries.py
gramps/gui/filters/_filterstore.py
gramps/gui/filters/_searchbar.py gramps/gui/filters/_searchbar.py
gramps/gui/filters/sidebar/_citationsidebarfilter.py gramps/gui/filters/sidebar/_citationsidebarfilter.py
gramps/gui/filters/sidebar/_eventsidebarfilter.py gramps/gui/filters/sidebar/_eventsidebarfilter.py
@@ -516,6 +531,7 @@ gramps/gui/views/listview.py
gramps/gui/views/navigationview.py gramps/gui/views/navigationview.py
gramps/gui/views/pageview.py gramps/gui/views/pageview.py
gramps/gui/views/tags.py gramps/gui/views/tags.py
gramps/gui/views/treemodels/citationbasemodel.py
gramps/gui/views/treemodels/citationtreemodel.py gramps/gui/views/treemodels/citationtreemodel.py
gramps/gui/views/treemodels/mediamodel.py gramps/gui/views/treemodels/mediamodel.py
gramps/gui/views/treemodels/peoplemodel.py gramps/gui/views/treemodels/peoplemodel.py
@@ -541,7 +557,6 @@ gramps/plugins/db/bsddb/undoredo.py
gramps/plugins/db/bsddb/upgrade.py gramps/plugins/db/bsddb/upgrade.py
gramps/plugins/db/bsddb/write.py gramps/plugins/db/bsddb/write.py
gramps/plugins/db/dbapi/inmemorydb.gpr.py gramps/plugins/db/dbapi/inmemorydb.gpr.py
gramps/plugins/db/dbapi/inmemorydb.py
gramps/plugins/docgen/asciidoc.py gramps/plugins/docgen/asciidoc.py
gramps/plugins/docgen/docgen.gpr.py gramps/plugins/docgen/docgen.gpr.py
gramps/plugins/docgen/gtkprint.glade gramps/plugins/docgen/gtkprint.glade
@@ -621,6 +636,7 @@ gramps/plugins/importer/importvcard.py
gramps/plugins/importer/importxml.py gramps/plugins/importer/importxml.py
gramps/plugins/lib/libcairodoc.py gramps/plugins/lib/libcairodoc.py
gramps/plugins/lib/libgedcom.py gramps/plugins/lib/libgedcom.py
gramps/plugins/lib/libholiday.py
gramps/plugins/lib/libhtmlbackend.py gramps/plugins/lib/libhtmlbackend.py
gramps/plugins/lib/libhtmlconst.py gramps/plugins/lib/libhtmlconst.py
gramps/plugins/lib/libmetadata.py gramps/plugins/lib/libmetadata.py
@@ -707,6 +723,7 @@ gramps/plugins/tool/reorderids.py
gramps/plugins/tool/sortevents.py gramps/plugins/tool/sortevents.py
gramps/plugins/tool/testcasegenerator.py gramps/plugins/tool/testcasegenerator.py
gramps/plugins/tool/tools.gpr.py gramps/plugins/tool/tools.gpr.py
gramps/plugins/tool/toolsdebug.gpr.py
gramps/plugins/tool/verify.glade gramps/plugins/tool/verify.glade
gramps/plugins/tool/verify.py gramps/plugins/tool/verify.py
gramps/plugins/view/citationlistview.py gramps/plugins/view/citationlistview.py

View File

@@ -1,5 +1,4 @@
# List of source files which do not need to be translated. # List of source files which do not need to be translated.
# $Id$
# #
# Python files # Python files
# #
@@ -47,7 +46,6 @@ gramps/gen/datehandler/_date_sk.py
gramps/gen/datehandler/_date_sl.py gramps/gen/datehandler/_date_sl.py
gramps/gen/datehandler/_date_sr.py gramps/gen/datehandler/_date_sr.py
gramps/gen/datehandler/_date_sv.py gramps/gen/datehandler/_date_sv.py
gramps/gen/datehandler/_dateutils.py
gramps/gen/datehandler/_date_zh.py gramps/gen/datehandler/_date_zh.py
gramps/gen/datehandler/_grampslocale.py gramps/gen/datehandler/_grampslocale.py
# #
@@ -61,6 +59,7 @@ gramps/gen/db/cursor.py
gramps/gen/db/dbconst.py gramps/gen/db/dbconst.py
gramps/gen/db/test/db_test.py gramps/gen/db/test/db_test.py
gramps/gen/db/txn.py gramps/gen/db/txn.py
gramps/gen/db/undoredo.py
gramps/gen/db/utils.py gramps/gen/db/utils.py
# #
# gen.display package # gen.display package
@@ -70,7 +69,6 @@ gramps/gen/display/__init__.py
# gen.filters package # gen.filters package
# #
gramps/gen/filters/_filterlist.py gramps/gen/filters/_filterlist.py
gramps/gen/filters/_genericfilter.py
gramps/gen/filters/__init__.py gramps/gen/filters/__init__.py
gramps/gen/filters/_paramfilter.py gramps/gen/filters/_paramfilter.py
gramps/gen/filters/_searchfilter.py gramps/gen/filters/_searchfilter.py
@@ -139,12 +137,8 @@ gramps/gen/lib/baseobj.py
gramps/gen/lib/gcalendar.py gramps/gen/lib/gcalendar.py
gramps/gen/lib/childref.py gramps/gen/lib/childref.py
gramps/gen/lib/citationbase.py gramps/gen/lib/citationbase.py
gramps/gen/lib/citation.py
gramps/gen/lib/const.py gramps/gen/lib/const.py
gramps/gen/lib/datebase.py gramps/gen/lib/datebase.py
gramps/gen/lib/event.py
gramps/gen/lib/eventref.py
gramps/gen/lib/family.py
gramps/gen/lib/genderstats.py gramps/gen/lib/genderstats.py
gramps/gen/lib/ldsordbase.py gramps/gen/lib/ldsordbase.py
gramps/gen/lib/location.py gramps/gen/lib/location.py
@@ -152,28 +146,21 @@ gramps/gen/lib/locationbase.py
gramps/gen/lib/mediaobj.py gramps/gen/lib/mediaobj.py
gramps/gen/lib/mediabase.py gramps/gen/lib/mediabase.py
gramps/gen/lib/mediaref.py gramps/gen/lib/mediaref.py
gramps/gen/lib/note.py
gramps/gen/lib/notebase.py gramps/gen/lib/notebase.py
gramps/gen/lib/personref.py gramps/gen/lib/personref.py
gramps/gen/lib/place.py
gramps/gen/lib/placebase.py gramps/gen/lib/placebase.py
gramps/gen/lib/primaryobj.py gramps/gen/lib/primaryobj.py
gramps/gen/lib/privacybase.py gramps/gen/lib/privacybase.py
gramps/gen/lib/refbase.py gramps/gen/lib/refbase.py
gramps/gen/lib/repo.py
gramps/gen/lib/reporef.py gramps/gen/lib/reporef.py
gramps/gen/lib/researcher.py gramps/gen/lib/researcher.py
gramps/gen/lib/secondaryobj.py gramps/gen/lib/secondaryobj.py
gramps/gen/lib/serialize.py gramps/gen/lib/serialize.py
gramps/gen/lib/src.py
gramps/gen/lib/srcbase.py gramps/gen/lib/srcbase.py
gramps/gen/lib/srcref.py gramps/gen/lib/srcref.py
gramps/gen/lib/styledtext.py
gramps/gen/lib/styledtexttag.py gramps/gen/lib/styledtexttag.py
gramps/gen/lib/surname.py
gramps/gen/lib/tableobj.py gramps/gen/lib/tableobj.py
gramps/gen/lib/tagbase.py gramps/gen/lib/tagbase.py
gramps/gen/lib/tag.py
gramps/gen/lib/test/date_test.py gramps/gen/lib/test/date_test.py
gramps/gen/lib/test/grampstype_test.py gramps/gen/lib/test/grampstype_test.py
gramps/gen/lib/test/merge_test.py gramps/gen/lib/test/merge_test.py
@@ -230,6 +217,7 @@ gramps/gen/plug/docgen/textdoc.py
gramps/gen/plug/report/_bibliography.py gramps/gen/plug/report/_bibliography.py
gramps/gen/plug/report/__init__.py gramps/gen/plug/report/__init__.py
gramps/gen/plug/report/_options.py gramps/gen/plug/report/_options.py
gramps/gen/plug/report/_paper.py
gramps/gen/plug/report/_reportbase.py gramps/gen/plug/report/_reportbase.py
# #
# gen proxy API # gen proxy API
@@ -356,7 +344,6 @@ gramps/gui/views/__init__.py
# gui/views/treemodels - the GUI views package # gui/views/treemodels - the GUI views package
# #
gramps/gui/views/treemodels/__init__.py gramps/gui/views/treemodels/__init__.py
gramps/gui/views/treemodels/citationbasemodel.py
gramps/gui/views/treemodels/citationlistmodel.py gramps/gui/views/treemodels/citationlistmodel.py
gramps/gui/views/treemodels/eventmodel.py gramps/gui/views/treemodels/eventmodel.py
gramps/gui/views/treemodels/familymodel.py gramps/gui/views/treemodels/familymodel.py
@@ -390,7 +377,10 @@ gramps/gui/widgets/valuetoolitem.py
# plugins .gpr.py # plugins .gpr.py
# #
gramps/plugins/__init__.py gramps/plugins/__init__.py
gramps/plugins/tool/toolsdebug.gpr.py #
# plugins/db directory
#
gramps/plugins/db/dbapi/inmemorydb.py
# #
# plugins/docgen directory # plugins/docgen directory
# #
@@ -410,7 +400,6 @@ gramps/plugins/export/test/exportvcard_test.py
# #
gramps/plugins/lib/__init__.py gramps/plugins/lib/__init__.py
gramps/plugins/lib/libgrampsxml.py gramps/plugins/lib/libgrampsxml.py
gramps/plugins/lib/libholiday.py
gramps/plugins/lib/libhtml.py gramps/plugins/lib/libhtml.py
gramps/plugins/lib/libmapservice.py gramps/plugins/lib/libmapservice.py
gramps/plugins/lib/libmixin.py gramps/plugins/lib/libmixin.py

File diff suppressed because it is too large Load Diff

101
po/he.po
View File

@@ -1970,109 +1970,77 @@ msgstr ""
msgid "today" msgid "today"
msgstr "היום" msgstr "היום"
#. TRANSLATORS: see
#. http://gramps-project.org/wiki/index.php?title=Translating_Gramps#Translating_dates
#. to learn how to select proper inflection to be used in your localized
#. DateDisplayer code!
#: ../gramps/gen/datehandler/_datestrings.py:79
msgid "localized lexeme inflections||January" msgid "localized lexeme inflections||January"
msgstr "" msgstr "ינואר"
#: ../gramps/gen/datehandler/_datestrings.py:80
msgid "localized lexeme inflections||February" msgid "localized lexeme inflections||February"
msgstr "" msgstr "פברואר"
#: ../gramps/gen/datehandler/_datestrings.py:81
msgid "localized lexeme inflections||March" msgid "localized lexeme inflections||March"
msgstr "" msgstr "מרץ"
#: ../gramps/gen/datehandler/_datestrings.py:82
msgid "localized lexeme inflections||April" msgid "localized lexeme inflections||April"
msgstr "" msgstr "אפריל"
#: ../gramps/gen/datehandler/_datestrings.py:83
msgid "localized lexeme inflections||May" msgid "localized lexeme inflections||May"
msgstr "" msgstr "מאי"
#: ../gramps/gen/datehandler/_datestrings.py:84
msgid "localized lexeme inflections||June" msgid "localized lexeme inflections||June"
msgstr "" msgstr "יוני"
#: ../gramps/gen/datehandler/_datestrings.py:85
msgid "localized lexeme inflections||July" msgid "localized lexeme inflections||July"
msgstr "" msgstr "יולי"
#: ../gramps/gen/datehandler/_datestrings.py:86
msgid "localized lexeme inflections||August" msgid "localized lexeme inflections||August"
msgstr "" msgstr "אוגוסט"
#: ../gramps/gen/datehandler/_datestrings.py:87
msgid "localized lexeme inflections||September" msgid "localized lexeme inflections||September"
msgstr "" msgstr "ספטמבר"
#: ../gramps/gen/datehandler/_datestrings.py:88
msgid "localized lexeme inflections||October" msgid "localized lexeme inflections||October"
msgstr "" msgstr "אוקטובר"
#: ../gramps/gen/datehandler/_datestrings.py:89
msgid "localized lexeme inflections||November" msgid "localized lexeme inflections||November"
msgstr "" msgstr "נובמבר"
#: ../gramps/gen/datehandler/_datestrings.py:90
msgid "localized lexeme inflections||December" msgid "localized lexeme inflections||December"
msgstr "" msgstr "דצמבר"
#. TRANSLATORS: see
#. http://gramps-project.org/wiki/index.php?title=Translating_Gramps#Translating_dates
#. to learn how to select proper inflection to be used in your localized
#. DateDisplayer code!
#: ../gramps/gen/datehandler/_datestrings.py:97
msgid "localized lexeme inflections - short month form||Jan" msgid "localized lexeme inflections - short month form||Jan"
msgstr "" msgstr "ינו"
#: ../gramps/gen/datehandler/_datestrings.py:98
msgid "localized lexeme inflections - short month form||Feb" msgid "localized lexeme inflections - short month form||Feb"
msgstr "" msgstr "פבר"
#: ../gramps/gen/datehandler/_datestrings.py:99
msgid "localized lexeme inflections - short month form||Mar" msgid "localized lexeme inflections - short month form||Mar"
msgstr "" msgstr "מרץ"
#: ../gramps/gen/datehandler/_datestrings.py:100
msgid "localized lexeme inflections - short month form||Apr" msgid "localized lexeme inflections - short month form||Apr"
msgstr "" msgstr "אפר"
#: ../gramps/gen/datehandler/_datestrings.py:101
msgid "localized lexeme inflections - short month form||May" msgid "localized lexeme inflections - short month form||May"
msgstr "" msgstr "מאי"
#: ../gramps/gen/datehandler/_datestrings.py:102
msgid "localized lexeme inflections - short month form||Jun" msgid "localized lexeme inflections - short month form||Jun"
msgstr "" msgstr "יונ"
#: ../gramps/gen/datehandler/_datestrings.py:103
msgid "localized lexeme inflections - short month form||Jul" msgid "localized lexeme inflections - short month form||Jul"
msgstr "" msgstr "יול"
#: ../gramps/gen/datehandler/_datestrings.py:104
msgid "localized lexeme inflections - short month form||Aug" msgid "localized lexeme inflections - short month form||Aug"
msgstr "" msgstr "אוג"
#: ../gramps/gen/datehandler/_datestrings.py:105
msgid "localized lexeme inflections - short month form||Sep" msgid "localized lexeme inflections - short month form||Sep"
msgstr "" msgstr "ספט"
#: ../gramps/gen/datehandler/_datestrings.py:106
msgid "localized lexeme inflections - short month form||Oct" msgid "localized lexeme inflections - short month form||Oct"
msgstr "" msgstr "אוק"
#: ../gramps/gen/datehandler/_datestrings.py:107
msgid "localized lexeme inflections - short month form||Nov" msgid "localized lexeme inflections - short month form||Nov"
msgstr "" msgstr "נוב"
#: ../gramps/gen/datehandler/_datestrings.py:108
msgid "localized lexeme inflections - short month form||Dec" msgid "localized lexeme inflections - short month form||Dec"
msgstr "" msgstr "דצמ"
#. TRANSLATORS: see #. TRANSLATORS: see
#. http://gramps-project.org/wiki/index.php?title=Translating_Gramps#Translating_dates #. http://gramps-project.org/wiki/index.php?title=Translating_Gramps#Translating_dates
@@ -34669,6 +34637,27 @@ msgstr "נברסקה"
msgid "No style sheet" msgid "No style sheet"
msgstr "ללא עמוד סגנון" msgstr "ללא עמוד סגנון"
msgid "Sun"
msgstr "א'"
msgid "Mon"
msgstr "ב'"
msgid "Tue"
msgstr "ג'"
msgid "Wed"
msgstr "ד'"
msgid "Thu"
msgstr "ה'"
msgid "Fri"
msgstr "ו'"
msgid "Sat"
msgstr "ש'"
#~ msgid "none" #~ msgid "none"
#~ msgstr "ללא" #~ msgstr "ללא"

View File

@@ -2756,6 +2756,34 @@ msgstr "Föstudagur"
msgid "Saturday" msgid "Saturday"
msgstr "Laugardagur" msgstr "Laugardagur"
#: ../gramps/gen/datehandler/_datestrings.py:10031
msgid "Sun"
msgstr "sun"
#: ../gramps/gen/datehandler/_datestrings.py:10032
msgid "Mon"
msgstr "mán"
#: ../gramps/gen/datehandler/_datestrings.py:10033
msgid "Tue"
msgstr "þri"
#: ../gramps/gen/datehandler/_datestrings.py:10034
msgid "Wed"
msgstr "mið"
#: ../gramps/gen/datehandler/_datestrings.py:10035
msgid "Thu"
msgstr "fim"
#: ../gramps/gen/datehandler/_datestrings.py:10036
msgid "Fri"
msgstr "fös"
#: ../gramps/gen/datehandler/_datestrings.py:10037
msgid "Sat"
msgstr "lau"
#: ../gramps/gen/db/base.py:1750 ../gramps/gui/widgets/fanchart.py:1831 #: ../gramps/gen/db/base.py:1750 ../gramps/gui/widgets/fanchart.py:1831
msgid "Add child to family" msgid "Add child to family"
msgstr "Bæta barni við fjölskyldu" msgstr "Bæta barni við fjölskyldu"