docs: rename l10n help files #36377

This commit is contained in:
Justin M. Keyes
2025-10-28 23:15:16 -04:00
committed by GitHub
parent c06f2f6b38
commit 6dd6c5b523
10 changed files with 22 additions and 18 deletions

View File

@@ -314,6 +314,10 @@ preprocess_patch() {
LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/eval\.txt/\1\/vimeval.txt/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
# Rename <lang>.txt to l10n-<lang>.txt
LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/(arabic|hebrew|russian|vietnamese)\.txt/\1\/l10n-\2.txt/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
# Rename version*.txt to news.txt
LC_ALL=C sed -Ee 's/( [ab]\/runtime\/doc)\/version[0-9]+\.txt/\1\/news.txt/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"