diff options
author | Barry Jackson <barjac@mageia.org> | 2023-01-22 18:19:21 +0000 |
---|---|---|
committer | Barry Jackson <barjac@mageia.org> | 2023-01-22 18:19:21 +0000 |
commit | 3990e3211ea0544b6b0326f871b77d4710e55048 (patch) | |
tree | 5054049d0c05cbab10926972ac20f6e7d2406518 /mk-pot | |
parent | db18acbd7b284307c6314a781e4044a1353e9379 (diff) | |
download | remove-old-kernels-3990e3211ea0544b6b0326f871b77d4710e55048.tar remove-old-kernels-3990e3211ea0544b6b0326f871b77d4710e55048.tar.gz remove-old-kernels-3990e3211ea0544b6b0326f871b77d4710e55048.tar.bz2 remove-old-kernels-3990e3211ea0544b6b0326f871b77d4710e55048.tar.xz remove-old-kernels-3990e3211ea0544b6b0326f871b77d4710e55048.zip |
Minor edit to TRANSLATIONS.md and typo fix in mk-pot
Diffstat (limited to 'mk-pot')
-rwxr-xr-x | mk-pot | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ rawarray=(); x=0 ; y=0 while IFS='' read -r line; do if echo "$line"|grep -q '(i18n'; then # [[ dbg -eq 1 ]] && echo "$line" - # Look for the first ocurrance of i18n and extract raw text only + # Look for the first occurrence of i18n and extract raw text only idstr1="$(echo "$line"|grep i18n|sed "s/\$(i18n/@/g"|cut -d@ -f2|cut -d\" -f2| sed 's/").*//')" isdupe=0 # Check it is not dupe @@ -37,7 +37,7 @@ while IFS='' read -r line; do IFS='' echo -e "msgid \""$idstr1"\"\nmsgstr \"\"\n" >> $outpot fi - # Look for a second ocurrance of i18n and extract raw text only + # Look for a second occurrence of i18n and extract raw text only idstr2="$(echo "$line"|grep i18n|sed 's/\$(i18n/@/g'|cut -d@ -f3|cut -d\" -f2| sed 's/").*//')" # Check it exists if [[ ${#idstr2} > 0 ]]; then |