Update correct_strings.sh to persist "Element Call"

Change-Id: I7ff0d1fdde519d3897752cdef67d05d90cfcd5e4
This commit is contained in:
SpiritCroc 2022-09-14 15:09:52 +02:00
parent e30721abbe
commit 8e9f3262ef
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ find "$stringdir" -name strings.xml -exec \
sed -i 's|\("use_latest_riot">.*\)SchildiChat\(.*</string>\)|\1Element\2|g' '{}' \;
find "$stringdir" -name strings.xml -exec \
sed -i 's|\("use_other_session_content_description">.*\)SchildiChat\(.*SchildiChat.*</string>\)|\1SchildiChat/Element\2|' '{}' \;
find "$stringdir" -name strings.xml -exec \
sed -i 's|SchildiChat Call|Element Call|g' '{}' \;
unpatched_strings_file=.tmp_unpatched_strings
new_patched_strings_file=.tmp_new_patched_strings