Use tde_l10n_prepare_xml macro instead of extractrc script #10

Слито
SlavekB слито 1 коммит(ов) из feat/replace-extractrc-by-macro в master 5 лет назад
SlavekB прокомментировал(а) 5 лет назад
Владелец

Because the new macro tde_l10n_prepare_xml provides the same extraction of strings, only in a way other than the extractrc script, there is the option to replace the extractrc script with the macro tde_l10n_prepare_xml.

The advantage is that xgettext will then generate location information corresponding directly to rows in the original XML file.

For interest: For multiple line strings, extractrc generates a location information, that points to the last line of text, while with the tde_10n_prepare_xml macro is generated location information, that points to the first line of text.

Because the new macro tde_l10n_prepare_xml provides the same extraction of strings, only in a way other than the extractrc script, there is the option to replace the extractrc script with the macro tde_l10n_prepare_xml. The advantage is that xgettext will then generate location information corresponding directly to rows in the original XML file. For interest: For multiple line strings, extractrc generates a location information, that points to the last line of text, while with the tde_10n_prepare_xml macro is generated location information, that points to the first line of text.
MicheleC одобрил(а) эти изменения 5 лет назад
MicheleC оставил комментарий
Владелец

looks good. I like the fact that the reference points to the first line instead of the last line 👍

looks good. I like the fact that the reference points to the first line instead of the last line :+1:
SlavekB прокомментировал(а) 5 лет назад
Автор
Владелец

Note0: For this PR, it is required that #9 be already merged.

Note1: If you want to test #8, #9 and #10 together, there are two small conflicts between #8 and #10, because #10 removes some of the parts that were changed in #8.

Note0: For this PR, it is required that #9 be already merged. Note1: If you want to test #8, #9 and #10 together, there are two small conflicts between #8 and #10, because #10 removes some of the parts that were changed in #8.
SlavekB закрыл этот запрос на слияние 5 лет назад
SlavekB удалил(а) ветку feat/replace-extractrc-by-macro 5 лет назад
SlavekB добавил(а) к этапу R14.0.6 release 5 лет назад
Запрос на слияние был объединен как 3c40942680.
Войдите, чтобы присоединиться к обсуждению.
Нет рецензентов
Нет этапа
Нет назначенных лиц
2 участников
Уведомления
Срок выполнения

Срок выполнения не установлен.

Зависимости

Зависимостей нет.

Reference: TDE/tde-cmake#10
Загрузка…
Пока нет содержимого.