From: Peter Verthez Date: Sun, 2 Feb 2003 14:43:59 +0000 (+0000) Subject: Updated for release. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=e64a3ac05141381579c407b779d6db66ecdb367d;p=gedcom-parse.git Updated for release. --- diff --git a/po/POTFILES.in b/po/POTFILES.in index 306cac0..6eaea5b 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -3,6 +3,7 @@ # $Name$ gedcom/encoding.c +gedcom/encoding_state.c gedcom/gedcom.y gedcom/gedcom_date.y gedcom/gedcom_date.lex @@ -21,4 +22,6 @@ gom/gom_modify.c gom/event.c gom/lds_event.c bin/gedcom-check.c +bin/gedcom-sanitize.c + diff --git a/po/gedcom-parse.pot b/po/gedcom-parse.pot index 2a0e7dd..f0c5818 100644 --- a/po/gedcom-parse.pot +++ b/po/gedcom-parse.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-12-30 11:51+0100\n" +"POT-Creation-Date: 2003-02-02 15:43+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,128 +19,158 @@ msgstr "" msgid "Duplicate entry found for encoding '%s', ignoring" msgstr "" -#: gedcom/encoding.c:101 +#: gedcom/encoding.c:105 #, c-format msgid "No encoding defined for '%s'" msgstr "" -#: gedcom/encoding.c:185 +#: gedcom/encoding.c:189 msgid "Could not register path cleanup function" msgstr "" -#: gedcom/encoding.c:200 +#: gedcom/encoding.c:204 msgid "Could not register encoding cleanup function" msgstr "" -#: gedcom/encoding.c:214 +#: gedcom/encoding.c:218 #, c-format msgid "Could not open encoding configuration file '%s': %s" msgstr "" -#: gedcom/encoding.c:221 +#: gedcom/encoding.c:225 #, c-format msgid "Line too long in encoding configuration file '%s'" msgstr "" -#: gedcom/encoding.c:231 +#: gedcom/encoding.c:235 #, c-format msgid "Missing data in encoding configuration file '%s'" msgstr "" -#: gedcom/encoding.c:240 +#: gedcom/encoding.c:244 #, c-format msgid "Error closing file '%s': %s" msgstr "" -#: gedcom/encoding.c:263 +#: gedcom/encoding.c:262 #, c-format msgid "Error opening conversion context for encoding %s: %s" msgstr "" -#: gedcom/gedcom.y:209 +#: gedcom/encoding_state.c:82 +msgid "Unicode cannot be encoded into one byte" +msgstr "" + +#: gedcom/gedcom.y:214 #, c-format msgid "The tag '%s' is mandatory within '%s', but missing" msgstr "" -#: gedcom/gedcom.y:231 +#: gedcom/gedcom.y:238 #, c-format msgid "The tag '%s' can maximally occur %d time(s) within '%s'" msgstr "" -#: gedcom/gedcom.y:238 +#: gedcom/gedcom.y:245 #, c-format msgid "The tag '%s' is not a valid tag within '%s'" msgstr "" -#: gedcom/gedcom.y:243 +#: gedcom/gedcom.y:250 #, c-format msgid "The tag '%s' is not a valid top-level tag" msgstr "" -#: gedcom/gedcom.y:674 -msgid "Header change time lost in the compatibility" -msgstr "" - -#: gedcom/gedcom.y:1407 gedcom/gedcom.y:3704 +#: gedcom/gedcom.y:1438 gedcom/gedcom.y:3971 msgid "Missing value" msgstr "" -#: gedcom/gedcom.y:3632 gedcom/gedcom.y:3656 +#: gedcom/gedcom.y:3876 gedcom/gedcom.y:3913 #, c-format msgid "Undefined tag (and not a valid user tag): %s" msgstr "" +#: gedcom/gedcom.y:3939 +msgid "Standard tag not allowed in user section" +msgstr "" + #. empty -#: gedcom/gedcom.y:3692 +#: gedcom/gedcom.y:3960 msgid "Missing pointer" msgstr "" -#: gedcom/gedcom.y:3780 +#: gedcom/gedcom.y:4061 msgid "Missing cross-reference" msgstr "" -#: gedcom/gedcom.y:3945 +#: gedcom/gedcom.y:4226 msgid "Internal error: count level mismatch" msgstr "" -#: gedcom/gedcom.y:3949 +#: gedcom/gedcom.y:4230 msgid "Internal error: count array overflow" msgstr "" -#: gedcom/gedcom.y:3956 +#: gedcom/gedcom.y:4237 msgid "Internal error: count array calloc error" msgstr "" -#: gedcom/gedcom.y:4002 +#: gedcom/gedcom.y:4283 msgid "Internal error: count array underflow" msgstr "" -#: gedcom/gedcom_date.y:323 +#. On error: put entire string in 'phrase' member +#. as fallback +#: gedcom/date.c:426 gedcom/gedcom_date.y:129 +msgid "Putting date in 'phrase' member" +msgstr "" + +#: gedcom/gedcom_date.y:340 +#, c-format +msgid "Year is missing: '%s'" +msgstr "" + +#: gedcom/gedcom_date.y:345 +#, c-format +msgid "Month is missing: '%s'" +msgstr "" + +#: gedcom/gedcom_date.y:354 #, c-format msgid "Too many characters in day '%s'" msgstr "" -#: gedcom/gedcom_date.y:334 +#: gedcom/gedcom_date.y:365 #, c-format msgid "Not a valid day number: '%s'" msgstr "" -#: gedcom/gedcom_date.y:359 +#: gedcom/gedcom_date.y:390 #, c-format msgid "Not a valid month for the given calendar: '%s'" msgstr "" -#: gedcom/gedcom_date.y:372 +#: gedcom/gedcom_date.y:403 #, c-format msgid "Too many characters in year '%s'" msgstr "" -#: gedcom/gedcom_date.y:381 +#: gedcom/gedcom_date.y:413 +#, c-format +msgid "Year after slash should be two digits: '%s/%s'" +msgstr "" + +#: gedcom/gedcom_date.y:422 +#, c-format +msgid "Year after slash should be following year: '%s/%s'" +msgstr "" + +#: gedcom/gedcom_date.y:430 #, c-format msgid "Too many characters in year '%s/%s'" msgstr "" -#: gedcom/gedcom_date.y:397 +#: gedcom/gedcom_date.y:446 #, c-format msgid "Not a valid year: '%s'" msgstr "" @@ -157,89 +187,72 @@ msgstr "" msgid "Unknown calendar type" msgstr "" -#: gedcom/gedcom_lex_common.c:97 +#: gedcom/gedcom_lex_common.c:99 #, c-format msgid "Line too long, max %d characters allowed" msgstr "" -#: gedcom/gedcom_lex_common.c:102 +#: gedcom/gedcom_lex_common.c:105 msgid "Level number with leading zero not allowed" msgstr "" -#: gedcom/gedcom_lex_common.c:107 +#: gedcom/gedcom_lex_common.c:110 #, c-format msgid "Level number out of range [0..%d]" msgstr "" -#: gedcom/gedcom_lex_common.c:112 +#: gedcom/gedcom_lex_common.c:115 #, c-format msgid "GEDCOM level number is %d higher than previous" msgstr "" -#: gedcom/gedcom_lex_common.c:118 +#: gedcom/gedcom_lex_common.c:121 #, c-format msgid "Tag '%s' too long, max %d characters allowed" msgstr "" -#: gedcom/gedcom_lex_common.c:124 +#: gedcom/gedcom_lex_common.c:127 #, c-format msgid "Invalid character for encoding: '%s' (0x%02x)" msgstr "" -#: gedcom/gedcom_lex_common.c:129 +#: gedcom/gedcom_lex_common.c:132 #, c-format msgid "Pointer '%s' too long, max %d characters allowed" msgstr "" -#: gedcom/gedcom_lex_common.c:135 +#: gedcom/gedcom_lex_common.c:138 msgid "'@' character should be written as '@@' in values" msgstr "" -#: gedcom/gedcom_lex_common.c:140 -#, c-format -msgid "Unexpected character: '%s' (0x%02x)" +#: gedcom/gedcom_lex_common.c:143 +msgid "Tab character is not allowed in values" msgstr "" -#: gedcom/multilex.c:78 +#: gedcom/gedcom_lex_common.c:148 #, c-format -msgid "Error reading from input file: %s" -msgstr "" - -#: gedcom/multilex.c:82 -msgid "One-byte encoding" +msgid "Unexpected character: '%s' (0x%02x)" msgstr "" -#: gedcom/multilex.c:84 gedcom/multilex.c:91 gedcom/multilex.c:103 -#: gedcom/multilex.c:114 +#: gedcom/multilex.c:75 #, c-format msgid "Error positioning input file: %s" msgstr "" -#: gedcom/multilex.c:89 -msgid "Two-byte encoding, high-low" -msgstr "" - -#: gedcom/multilex.c:96 -msgid "Two-byte encoding, high-low, with BOM" -msgstr "" - -#: gedcom/multilex.c:101 -msgid "Two-byte encoding, low-high" -msgstr "" - -#: gedcom/multilex.c:108 -msgid "Two-byte encoding, low-high, with BOM" +#: gedcom/multilex.c:86 gedcom/multilex.c:118 +#, c-format +msgid "Error reading from input file: %s" msgstr "" -#: gedcom/multilex.c:112 +#: gedcom/multilex.c:126 gedcom/multilex.c:132 msgid "Unknown encoding, falling back to one-byte" msgstr "" -#: gedcom/multilex.c:141 +#: gedcom/multilex.c:160 msgid "Internal error: GEDCOM parser not initialized" msgstr "" -#: gedcom/multilex.c:146 +#: gedcom/multilex.c:165 #, c-format msgid "Could not open file '%s': %s" msgstr "" @@ -262,7 +275,7 @@ msgstr "" msgid "Error: " msgstr "" -#: gedcom/buffer.c:64 gedcom/message.c:97 gom/gom.c:187 +#: gedcom/buffer.c:64 gedcom/message.c:97 gom/gom.c:221 #, c-format msgid "Could not allocate memory at %s, %d" msgstr "" @@ -271,33 +284,37 @@ msgstr "" msgid "Internal error: Duplicate registration for default callback" msgstr "" -#: gedcom/interface.c:45 +#: gedcom/interface.c:46 #, c-format msgid "Internal error: Duplicate registration for record type %d" msgstr "" -#: gedcom/interface.c:57 +#: gedcom/interface.c:58 #, c-format msgid "Internal error: Duplicate registration for element type %d" msgstr "" -#: gedcom/interface.c:105 +#: gedcom/interface.c:106 msgid "null value" msgstr "" -#: gedcom/interface.c:106 +#: gedcom/interface.c:107 msgid "character string" msgstr "" -#: gedcom/interface.c:107 +#: gedcom/interface.c:108 msgid "date" msgstr "" -#: gedcom/interface.c:108 +#: gedcom/interface.c:109 +msgid "age" +msgstr "" + +#: gedcom/interface.c:110 msgid "cross-reference" msgstr "" -#: gedcom/interface.c:115 +#: gedcom/interface.c:126 #, c-format msgid "Wrong cast of value in file %s, at line %d: %s instead of %s" msgstr "" @@ -397,68 +414,105 @@ msgstr "" msgid "Cross-reference %s still in use" msgstr "" -#: gedcom/compat.c:73 -msgid "Enabling compatibility with 'ftree'" +#: gedcom/compat.c:168 +#, c-format +msgid "Enabling compatibility with '%s', version %d" +msgstr "" + +#: gedcom/compat.c:171 +#, c-format +msgid "Enabling compatibility with '%s'" +msgstr "" + +#: gedcom/compat.c:281 +#, c-format +msgid "Adding link to submitter record with xref '%s'" +msgstr "" + +#: gedcom/compat.c:428 +#, c-format +msgid "Header change time '%s' lost in the compatibility (out of context)" +msgstr "" + +#: gedcom/compat.c:468 +#, c-format +msgid "Country '%s' lost in the compatibility (out of context)" +msgstr "" + +#: gedcom/compat.c:531 +#, c-format +msgid "Converting 5.5.1 tag '%s' to standard 5.5 user tag '%s'" +msgstr "" + +#: gedcom/compat.c:552 +#, c-format +msgid "Adding link to family record with xref '%s'" +msgstr "" + +#: gedcom/compat.c:592 +#, c-format +msgid "Converting non-standard tag '%s' to user tag '%s'" +msgstr "" + +#: gedcom/compat.c:744 +#, c-format +msgid "Converting undefined tag '%s' to user tag '%s'" msgstr "" -#. Matches "LIFELINES 3.0.2" -#: gedcom/compat.c:78 -msgid "Enabling compatibility with 'Lifelines'" +#: gedcom/compat.c:761 +#, c-format +msgid "Converting invalidly used tag '%s' to user tag '%s'" msgstr "" -#: gedcom/write.c:104 +#: gedcom/write.c:85 msgid "Line too long" msgstr "" -#: gedcom/write.c:117 +#: gedcom/write.c:98 #, c-format msgid "Error converting output string: %s (%d conversion failures)" msgstr "" -#: gedcom/write.c:129 +#: gedcom/write.c:111 #, c-format msgid "Forcing HEAD.CHAR value to '%s'" msgstr "" -#: gedcom/write.c:158 +#: gedcom/write.c:141 #, c-format msgid "The tag %s doesn't support newlines" msgstr "" -#: gedcom/write.c:210 -msgid "Unicode cannot be encoded into one byte" -msgstr "" - -#: gedcom/write.c:255 +#: gedcom/write.c:206 #, c-format msgid "Could not open encoding '%s' for writing: %s" msgstr "" -#: gedcom/write.c:263 +#: gedcom/write.c:214 #, c-format msgid "Could not open file '%s' for writing: %s" msgstr "" -#: gedcom/write.c:278 -msgid "Byte order mark configured, but no Unicode" +#: gedcom/write.c:231 +msgid "Byte order mark configured, but not relevant" msgstr "" -#: gedcom/write.c:309 +#: gedcom/write.c:262 #, c-format msgid "Not a valid tag: %d" msgstr "" -#: gedcom/write.c:314 +#: gedcom/write.c:267 #, c-format msgid "The element or record type '%s' requires a specific tag for writing" msgstr "" -#: gedcom/write.c:327 +#: gedcom/write.c:280 #, c-format msgid "Wrong data type for writing element or record type '%s'" msgstr "" -#: gedcom/write.c:345 +#: gedcom/write.c:298 #, c-format msgid "Parent %d not found during write of %d" msgstr "" @@ -488,59 +542,65 @@ msgstr "" msgid "Unrecognized age format" msgstr "" -#: gedcom/date.c:148 +#: gedcom/date.c:150 msgid "Cannot compute SDN for unknown calendar type" msgstr "" -#: gedcom/date.c:172 +#: gedcom/date.c:174 msgid "Year has to be given in bounded date" msgstr "" -#: gedcom/date.c:183 gedcom/date.c:191 -msgid "Error converting date" +#: gedcom/date.c:185 gedcom/date.c:194 +#, c-format +msgid "Error converting date: year %d, month %d, day %d" msgstr "" -#: gedcom/date.c:209 +#: gedcom/date.c:213 msgid "Cannot compute from SDN for unknown calendar type" msgstr "" -#: gedcom/date.c:217 +#: gedcom/date.c:221 msgid "SDN 1 should be bigger than zero" msgstr "" -#: gedcom/date.c:224 +#: gedcom/date.c:228 msgid "SDN 1 isn't a valid date in the given calendar" msgstr "" -#: gedcom/date.c:231 +#: gedcom/date.c:235 msgid "SDN 2 should be -1 for exact dates" msgstr "" -#: gedcom/date.c:237 +#: gedcom/date.c:241 msgid "SDN 2 should be bigger than zero" msgstr "" -#: gedcom/date.c:241 +#: gedcom/date.c:245 msgid "SDN 2 should be bigger than SDN 1" msgstr "" -#: gedcom/date.c:248 +#: gedcom/date.c:252 msgid "SDN 2 isn't a valid date in the given calendar" msgstr "" -#: gedcom/date.c:269 +#: gedcom/date.c:273 msgid "SDN1/SDN2 isn't a bounded date" msgstr "" -#: gedcom/date.c:295 +#: gedcom/date.c:299 msgid "Cannot compute months for unknown calendar type" msgstr "" -#: gedcom/date.c:328 +#: gedcom/date.c:332 msgid "Cannot compute month names for unknown calendar type" msgstr "" -#: gedcom/date.c:419 +#: gedcom/date.c:413 +#, c-format +msgid "Empty value changed to '%s'" +msgstr "" + +#: gedcom/date.c:435 msgid "Date is not normalized: some fields are invalid" msgstr "" @@ -548,45 +608,99 @@ msgstr "" msgid "Could not register buffer cleanup function" msgstr "" -#: gom/gom.c:102 +#: gom/gom.c:115 msgid "Could not register gom cleanup function" msgstr "" -#: gom/gom.c:192 +#: gom/gom.c:226 +#, c-format +msgid "Cross-reference key '%s' is already in use" +msgstr "" + +#: gom/gom.c:234 #, c-format -msgid "Internal error: Unexpected context at %s, line %d: %d" +msgid "Internal error: Unexpected context at %s, line %d: %s" msgstr "" -#: gom/gom.c:198 +#: gom/gom.c:240 #, c-format msgid "Internal error: No context at %s, line %d" msgstr "" -#: gom/gom.c:206 +#: gom/gom.c:246 +#, c-format +msgid "Could not move struct of type %s" +msgstr "" + +#: gom/gom.c:251 +#, c-format +msgid "Could not find struct of type %s in chain" +msgstr "" + +#: gom/gom.c:258 #, c-format msgid "Data loss in import: \"%d %s %s\"" msgstr "" -#: gom/gom_modify.c:52 +#: gom/gom_modify.c:56 #, c-format msgid "The input '%s' is not a valid UTF-8 string" msgstr "" -#: gom/gom_modify.c:74 +#: gom/gom_modify.c:84 #, c-format msgid "The input '%s' is not a valid string for the locale" msgstr "" -#: gom/event.c:328 gom/lds_event.c:151 +#: gom/gom_modify.c:126 gom/gom_modify.c:160 gom/gom_modify.c:178 +#, c-format +msgid "No record found for xref '%s'" +msgstr "" + +#: gom/gom_modify.c:188 +#, c-format +msgid "Xref '%s' not part of chain" +msgstr "" + +#: gom/event.c:297 gom/lds_event.c:151 #, c-format msgid "Internal error: unknown evt tag %d" msgstr "" -#: gom/event.c:332 +#: gom/event.c:301 #, c-format msgid "Internal error: unknown evt type %d" msgstr "" -#: gom/event.c:348 +#: gom/event.c:317 msgid "Internal error: wrong parent for evt->family" msgstr "" + +#: bin/gedcom-check.c:121 +msgid "Parse succeeded\n" +msgstr "" + +#: bin/gedcom-check.c:124 bin/gedcom-sanitize.c:188 +msgid "Parse failed\n" +msgstr "" + +#: bin/gedcom-check.c:126 +msgid " Note: Compatibility mode was not enabled\n" +msgstr "" + +#: bin/gedcom-check.c:127 +msgid " You could try the check again using the '-c' option\n" +msgstr "" + +#: bin/gedcom-sanitize.c:173 +#, c-format +msgid "Parse succeeded, now writing file '%s'\n" +msgstr "" + +#: bin/gedcom-sanitize.c:181 +msgid "Write succeeded\n" +msgstr "" + +#: bin/gedcom-sanitize.c:184 +msgid "Write failed\n" +msgstr ""