Thank you for the quick response.
I generated the patch and mostly just removed the dots after numbers.
I also removed prepositions from Russian NT book names.
In uk-utf8.conf I added extra abbreviated names with "-" (i.e. "1-е
Коринтян"). Should I remove those?
I think the main concern were dots after numbers. Probably it snicked in
via automatic conversion
/sincerely,/
/Evgen Kucherov/
zhk.pp.ua <https://zhk.pp.ua>
linkedin.com/in/evgen-kucherov <https://www.linkedin.com/in/evgen-kucherov/>
23.04.21 10:23, Troy A. Griffitts пише:
Generally, Fr. Cyrille is correct. Specifically, in this instance
there is a deficiency in the SWORD engine which will not allow what
you wish.
Let me explain a bit.
First, SWORD always overlays a chosen locale on top of English. This
means that when choosing, say, Ukrainian, both Луки and Luke will work
for the 3rd Gospel. The referencing language in SWORD uses OSIS which
has a set of books defined using English names.
That shouldn't pose a problem for you, but does give a bit of
background for the real problem...
OSIS (osisRef) and English ranges and verse lists use the three "- ,
;" characters for special delimiters, each with a specific meaning.
These characters cannot currently be used as part of a localized book
name.
Eventually, SWORD should allow localization of verse reference and
list symbols, but this will require no longer supporting 2 locales at
once (both OSIS / English underlying a selected localization) but will
require either the parser to be smarter in determining context within
a verse list and determining how to parse symbols (OSIS / English, or
using the locale-provided symbol meaning, if they contradict each
other), or else the client of the library will need to manually state
which mode to use.
Bottom line, right now, "- , ;" cannot be used in localized book names.
I am sorry for the bad news. Welcome! Thank you for your willingness
to work together.
Troy
On April 23, 2021 7:31:50 AM MST, Fr Cyrille <fr.cyri...@tiberiade.be>
wrote:
Probably download sword
http://www.crosswire.org/sword/develop/index.jsp and use svn for
your changes. You need to change the file
locales.d/uk-utf8.conf and then send a patch to Troy.
Le 23/04/2021 à 16:02, Evgen Kucherov a écrit :
Hi guys,
I'm new to the SWORD project. I'm currently contributing a bit to
the Ezra Bible App (Ezra project). In general I'm interested in
improving the quality of Russian and Ukrainian modules.
But for now I want to fix book names that has numbers in their
titles:
It should be "1-e Коринтян" instead of "1. Коринтян" and so on.
How I can do this? Is there a git repository?
--
/sincerely,/
/Evgen Kucherov/
_______________________________________________
sword-devel mailing list:sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Index: locales.d/ru-utf8.conf
===================================================================
--- locales.d/ru-utf8.conf (revision 3857)
+++ locales.d/ru-utf8.conf (working copy)
@@ -19,16 +19,16 @@
Joshua=Иисус Навин
Judges=Судьи
Ruth=Руфь
-I Samuel=1. Царств
-II Samuel=2. Царств
-I Kings=3. Царств
-II Kings=4. Царств
-I Chronicles=1. Паралипоменон
-II Chronicles=2. Паралипоменон
+I Samuel=1 Царств
+II Samuel=2 Царств
+I Kings=3 Царств
+II Kings=4 Царств
+I Chronicles=1 Паралипоменон
+II Chronicles=2 Паралипоменон
Prayer of Manasses=Молитва Манассии
Ezra=Ездра
Nehemiah=Неемия
-I Esdras=2. Ездры
+I Esdras=2 Ездры
Tobit=Товита
Judith=Иудифь
Esther=Есфирь
@@ -36,7 +36,7 @@
Psalms=Псалтирь
Proverbs=Притчи
Ecclesiastes=Екклесиаст
-Song of Solomon=Песня Песней
+Song of Solomon=Песнь Песней
Wisdom=Премудрость Соломона
Sirach=Сирах
Isaiah=Исаия
@@ -58,35 +58,35 @@
Haggai=Аггей
Zechariah=Захария
Malachi=Малахия
-I Maccabees=1. Маккавейская
-II Maccabees=2. Маккавейская
-III Maccabees=3. Маккавейская
-II Esdras=3. Ездры
-Matthew=От Матфея
-Mark=От Марка
-Luke=От Луки
-John=От Иоанна
+I Maccabees=1 Маккавейская
+II Maccabees=2 Маккавейская
+III Maccabees=3 Маккавейская
+II Esdras=3 Ездры
+Matthew=Матфея
+Mark=Марка
+Luke=Луки
+John=Иоанна
Acts=Деяния
-Romans=К Римлянам
-I Corinthians=1. Коринфянам
-II Corinthians=2. Коринфянам
-Galatians=К Галатам
-Ephesians=К Ефесянам
-Philippians=К Филиппийцам
-Colossians=К Колоссянам
-I Thessalonians=1. Фессалоникийцам
-II Thessalonians=2. Фессалоникийцам
-I Timothy=1. Тимофею
-II Timothy=2. Тимофею
-Titus=К Титу
-Philemon=К Филимону
-Hebrews=К Евреям
+Romans=Римлянам
+I Corinthians=1 Коринфянам
+II Corinthians=2 Коринфянам
+Galatians=Галатам
+Ephesians=Ефесянам
+Philippians=Филиппийцам
+Colossians=Колоссянам
+I Thessalonians=1 Фессалоникийцам
+II Thessalonians=2 Фессалоникийцам
+I Timothy=1 Тимофею
+II Timothy=2 Тимофею
+Titus=Титу
+Philemon=Филимону
+Hebrews=Евреям
James=Иакова
-I Peter=1. Петра
-II Peter=2. Петра
-I John=1. Иоанна
-II John=2. Иоанна
-III John=3. Иоанна
+I Peter=1 Петра
+II Peter=2 Петра
+I John=1 Иоанна
+II John=2 Иоанна
+III John=3 Иоанна
Jude=Иуды
Revelation of John=Откровение
Index: locales.d/ru_RU-utf8.conf
===================================================================
--- locales.d/ru_RU-utf8.conf (revision 3857)
+++ locales.d/ru_RU-utf8.conf (working copy)
@@ -19,16 +19,16 @@
Joshua=Иисус Навин
Judges=Судьи
Ruth=Руфь
-I Samuel=1. Царств
-II Samuel=2. Царств
-I Kings=3. Царств
-II Kings=4. Царств
-I Chronicles=1. Паралипоменон
-II Chronicles=2. Паралипоменон
+I Samuel=1 Царств
+II Samuel=2 Царств
+I Kings=3 Царств
+II Kings=4 Царств
+I Chronicles=1 Паралипоменон
+II Chronicles=2 Паралипоменон
Prayer of Manasses=Молитва Манассии
Ezra=Ездра
Nehemiah=Неемия
-I Esdras=2. Ездры
+I Esdras=2 Ездры
Tobit=Товита
Judith=Иудифь
Esther=Есфирь
@@ -36,7 +36,7 @@
Psalms=Псалтирь
Proverbs=Притчи
Ecclesiastes=Екклесиаст
-Song of Solomon=Песня Песней
+Song of Solomon=Песнь Песней
Wisdom=Премудрость Соломона
Sirach=Сирах
Isaiah=Исаия
@@ -58,35 +58,35 @@
Haggai=Аггей
Zechariah=Захария
Malachi=Малахия
-I Maccabees=1. Маккавейская
-II Maccabees=2. Маккавейская
-III Maccabees=3. Маккавейская
-II Esdras=3. Ездры
-Matthew=От Матфея
-Mark=От Марка
-Luke=От Луки
-John=От Иоанна
+I Maccabees=1 Маккавейская
+II Maccabees=2 Маккавейская
+III Maccabees=3 Маккавейская
+II Esdras=3 Ездры
+Matthew=Матфея
+Mark=Марка
+Luke=Луки
+John=Иоанна
Acts=Деяния
-Romans=К Римлянам
-I Corinthians=1. Коринфянам
-II Corinthians=2. Коринфянам
-Galatians=К Галатам
-Ephesians=К Ефесянам
-Philippians=К Филиппийцам
-Colossians=К Колоссянам
-I Thessalonians=1. Фессалоникийцам
-II Thessalonians=2. Фессалоникийцам
-I Timothy=1. Тимофею
-II Timothy=2. Тимофею
-Titus=К Титу
-Philemon=К Филимону
-Hebrews=К Евреям
+Romans=Римлянам
+I Corinthians=1 Коринфянам
+II Corinthians=2 Коринфянам
+Galatians=Галатам
+Ephesians=Ефесянам
+Philippians=Филиппийцам
+Colossians=Колоссянам
+I Thessalonians=1 Фессалоникийцам
+II Thessalonians=2 Фессалоникийцам
+I Timothy=1 Тимофею
+II Timothy=2 Тимофею
+Titus=Титу
+Philemon=Филимону
+Hebrews=Евреям
James=Иакова
-I Peter=1. Петра
-II Peter=2. Петра
-I John=1. Иоанна
-II John=2. Иоанна
-III John=3. Иоанна
+I Peter=1 Петра
+II Peter=2 Петра
+I John=1 Иоанна
+II John=2 Иоанна
+III John=3 Иоанна
Jude=Иуды
Revelation of John=Откровение
Index: locales.d/uk-utf8.conf
===================================================================
--- locales.d/uk-utf8.conf (revision 3857)
+++ locales.d/uk-utf8.conf (working copy)
@@ -17,12 +17,12 @@
Joshua=Ісус Навин
Judges=Суддів
Ruth=Рут
-I Samuel=1. Самуїла
-II Samuel=2. Самуїла
-I Kings=1. Царів
-II Kings=2. Царів
-I Chronicles=1. Хроніки
-II Chronicles=2. Хроніки
+I Samuel=1 Самуїла
+II Samuel=2 Самуїла
+I Kings=1 Царів
+II Kings=2 Царів
+I Chronicles=1 Хроніки
+II Chronicles=2 Хроніки
Ezra=Ездри
Nehemiah=Неемії
Esther=Eстер
@@ -54,25 +54,25 @@
John=Івана
Acts=Дії
Romans=Римлян
-I Corinthians=1. Коринтян
-II Corinthians=2. Коринтян
+I Corinthians=1 Коринтян
+II Corinthians=2 Коринтян
Galatians=Галатів
Ephesians=Ефесян
Philippians=Филип'ян
Colossians=Колосян
-I Thessalonians=1. Солунян
-II Thessalonians=2. Солунян
-I Timothy=1. Тимофія
-II Timothy=2. Тимофія
+I Thessalonians=1 Солунян
+II Thessalonians=2 Солунян
+I Timothy=1 Тимофія
+II Timothy=2 Тимофія
Titus=Тита
Philemon=Филимона
Hebrews=Євреїв
James=Якова
-I Peter=1. Петра
-II Peter=2. Петра
-I John=1. Івана
-II John=2. Івана
-III John=3. Івана
+I Peter=1 Петра
+II Peter=2 Петра
+I John=1 Івана
+II John=2 Івана
+III John=3 Івана
Jude=Юди
Revelation of John=Об'явлення
@@ -88,26 +88,44 @@
Рут=Ruth
1. Самуїла=1Sam
+1-а Самуїла=1Sam
+1-ша Самуїла=1Sam
+Перша Самуїла=1Sam
1 Самуїла=1Sam
1Самуїла=1Sam
2. Самуїла=2Sam
+2-а Самуїла=2Sam
+2-га Самуїла=2Sam
+Друга Самуїла=2Sam
2 Самуїла=2Sam
2Самуїла=2Sam
1. Царів=1Kgs
+1-а Царів=1Kgs
+1-ша Царів=1Kgs
+Перша царів=1Kgs
1 Царів=1Kgs
1Царів=1Kgs
2. Царів=2Kgs
+2-а Царів=2Kgs
+2-га Царів=2Kgs
+Друга царів=2Kgs
2 Царів=2Kgs
2Царів=2Kgs
1. Хроніки=1Chr
+1-а Хроніки=1Chr
+1-ша Хроніки=1Chr
+Перша хроніки=1Chr
1 Хроніки=1Chr
1Хроніки=1Chr
2. Хроніки=2Chr
+2-а Хроніки=2Chr
+2-га Хроніки=2Chr
+Друга хроніки=2Chr
2 Хроніки=2Chr
2Хроніки=2Chr
@@ -144,10 +162,16 @@
Римлян=Rom
1. Коринтян=1Cor
+1-е Коринтян=1Cor
+1-ше Коринтян=1Cor
+Перше Коринтян=1Cor
1 Коринтян=1Cor
1Коринтян=1Cor
2. Коринтян=2Cor
+2-е Коринтян=2Cor
+2-ге Коринтян=2Cor
+Друге Коринтян=2Cor
2 Коринтян=2Cor
2Коринтян=2Cor
@@ -157,18 +181,30 @@
Колосян=Col
1. Солунян=1Thess
+1-е Солунян=1Thess
+1-ше Солунян=1Thess
+Перше Солунян=1Thess
1 Солунян=1Thess
1Солунян=1Thess
2. Солунян=2Thess
+2-е Солунян=2Thess
+2-ге Солунян=2Thess
+Друге Солунян=2Thess
2 Солунян=2Thess
2Солунян=2Thess
1. Тимофія=1Tim
1 Тимофія=1Tim
+1-е Тимофія=1Tim
+1-ше Тимофія=1Tim
+Перше Тимофія=1Tim
1Тимофія=1Tim
2. Тимофія=2Tim
+2-е Тимофія=2Tim
+2-ге Тимофія=2Tim
+Друге Тимофія=2Tim
2 Тимофія=2Tim
2Тимофія=2Tim
@@ -178,22 +214,37 @@
Якова=Jas
1. Петра=1Pet
+1-е Петра=1Pet
+1-ше Петра=1Pet
+Перше Петра=1Pet
1 Петра=1Pet
1Петра=1Pet
2. Петра=2Pet
+2-е Петра=2Pet
+2-ше Петра=2Pet
+Друге Петра=2Pet
2 Петра=2Pet
2Петра=2Pet
1. Івана=1John
+1-е Івана=1John
+1-ше Івана=1John
+Перше Івана=1John
1 Івана=1John
1Івана=1John
2. Івана=2John
+2-е Івана=1John
+2-ге Івана=1John
+Друге Івана=1John
2 Івана=2John
2Івана=2John
3. Івана=3John
+3-є Івана=1John
+3-тє Івана=1John
+Третє Івана=1John
3 Івана=3John
3Івана=3John
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page