Implement tde_l10n_preparetips using the tde_l10n_prepare_xml #11
Samengevoegd
SlavekB
heeft 1 commits samengevoegd van feat/replace-preparetips-by-prepare-xml
naar master
5 jaren geleden
Laden…
Verwijs in nieuw issue
Er is nog geen inhoud.
Verwijder branch 'feat/replace-preparetips-by-prepare-xml'
Het verwijderen van een branch is permanent. Het KAN NIET ongedaan gemaakt worden. Wil je toch doorgaan?
The
tips
files have an XML-like structure. The large portion of the tde_l10n_preparetips macro code was similar to the code in tde_l10n_prepare_xml. And since the tde_l10n_prepare_xml macro has many options (including remove leading empty lines), it could be used to prepare tips.Note0: For this PR, it is required that #9 be already merged.
Note1: Tested with tips in tdebase: kate, ktip and konsole, and knowit application.
Note2: Here, it might make sense to mark translations as
no-c-format
, but the original prepartips script did not do this. That's why I kept it the same.Looks ok
72ca5313ec
.