- language file changes,
- profile changes, - tagged 4.0.6 - line endings normalized to CR+LF in language files and postprocessing profiles - fixed capitalization of "raw" - patched generateTranslationDiffs.sh to properly sort numbered entries, e.g. 113 should be after 11 and 12, not between. Small change - now comments appear before the "!!!!!" section. Not worth worrying about imho. Also used sort's -unique capabilities to not unnecessarily spawn another process. see http://code.google.com/p/rawtherapee/source/detail?r=71bb39ab934e2e8654b35c1e36dcc1a572a26f03
This commit is contained in:
@@ -16,7 +16,7 @@ if [[ $? != 0 ]]; then
|
||||
fi
|
||||
|
||||
#First thing, we want to strip default of any !s and duplicates.
|
||||
cat "default" | grep -v '^!' | sort | uniq > "$TEMP"
|
||||
cat "default" | grep -v '^!' | sort -Vu > "$TEMP"
|
||||
mv "$TEMP" "default"
|
||||
|
||||
echo "Generating differences... this may take a few minutes."
|
||||
@@ -34,7 +34,7 @@ while read X; do
|
||||
|
||||
#Start by copying the existing file to a temporary one, after sorting and removing all
|
||||
#previous differences
|
||||
cat "$X" | grep -v '^!' | sort | uniq > "$TEMP"
|
||||
cat "$X" | grep -v '^!' | sort -Vu > "$TEMP"
|
||||
|
||||
echo -e "\n\n!!!!!!!!!!!!!!!!!!!!!!!!!\n! Untranslated keys follow; remove the ! prefix after an entry is translated.\n!!!!!!!!!!!!!!!!!!!!!!!!!\n\n" >> "$TEMP"
|
||||
|
||||
|
Reference in New Issue
Block a user