diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-10-28 23:15:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-28 20:15:16 -0700 |
| commit | 6dd6c5b523b11a1316f7c161217bd7b97cdb8b39 (patch) | |
| tree | 6d6d05c621c9dc3ff3b8b99487a021026cd03fe5 /scripts | |
| parent | c06f2f6b380523b93b52600ae23d458eb4c85a7e (diff) | |
docs: rename l10n help files #36377
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/vim-patch.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 3f9aa538c7..dddbbf4bf5 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -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" |
