mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-17 19:29:13 +00:00
tools/fix-ellipsis.sh: standardize to keep translation merges easy
This commit is contained in:
parent
dd2f44c70e
commit
5ba7220802
4 changed files with 22 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
Reminds you to go to sleep... until you do
|
||||
Reminds you to go to sleep… until you do
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Add an ownCloud server now and get ... Your Cloud, Your Data, Your Way!
|
||||
Add an ownCloud server now and get … Your Cloud, Your Data, Your Way!
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ Approximate map coverage and quality:
|
|||
• Africa: **
|
||||
• Antarctica: *
|
||||
Most countries around the globe available as downloads!
|
||||
From Afghanistan to Zimbabwe, from Australia to the USA. Argentina, Brazil, Canada, France, Germany, Mexico, UK, Spain, ...
|
||||
From Afghanistan to Zimbabwe, from Australia to the USA. Argentina, Brazil, Canada, France, Germany, Mexico, UK, Spain, …
|
||||
|
||||
Anti-Features:
|
||||
* NonFreeAssets - Artwork and layouts are under a non-commercial license.
|
||||
|
|
|
|||
19
tools/fix-ellipsis.sh
Executable file
19
tools/fix-ellipsis.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Fix TypographyEllipsis programmatically
|
||||
|
||||
exitvalue=0
|
||||
for d in metadata/*/*; do
|
||||
test -d $d || continue
|
||||
test $(basename $d) != "signatures" || continue
|
||||
sed -i 's/\.\.\./…/g' $d/*.txt
|
||||
if [ $exitvalue = 0 ]; then
|
||||
git diff $d | grep -Eo '^\+.*…' || exitvalue=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
if [ $exitvalue != 0 ]; then
|
||||
echo Fix TypographyEllipsis
|
||||
fi
|
||||
exit $exitvalue
|
||||
Loading…
Reference in a new issue