add script to extract preference translations from the schema; update translations
parent
30b6ee8c08
commit
2cd992574a
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,12 @@
|
|||||||
|
__("Title");
|
||||||
|
__("Title or Content");
|
||||||
|
__("Link");
|
||||||
|
__("Content");
|
||||||
|
__("Article Date");
|
||||||
|
|
||||||
|
__("Filter article");
|
||||||
|
__("Mark as read");
|
||||||
|
__("Set starred");
|
||||||
|
__("Publish article");
|
||||||
|
__("Assign tags");
|
||||||
|
__("Assign label");
|
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
BASENAME=`basename $0`
|
||||||
|
TMPFILE="/tmp/$BASENAME-$$.tmp"
|
||||||
|
|
||||||
|
cat schema/ttrss_schema_pgsql.sql | grep 'insert.*pref_name' | awk -F\' '{ print $8 }' > $TMPFILE
|
||||||
|
cat schema/ttrss_schema_pgsql.sql | grep 'insert.*pref_name' | awk -F\' '{ print $6 }' >> $TMPFILE
|
||||||
|
|
||||||
|
echo "<?php # This file has been generated at: " `date` > localized_schema.php
|
||||||
|
echo >> localized_schema.php
|
||||||
|
cat utils/localized_schema.txt >> localized_schema.php
|
||||||
|
echo >> localized_schema.php
|
||||||
|
|
||||||
|
cat $TMPFILE | grep -v '^$' | sed "s/.*/__('&');/" >> localized_schema.php
|
||||||
|
|
||||||
|
echo "?>" >> localized_schema.php
|
||||||
|
|
||||||
|
rm $TMPFILE
|
Loading…
Reference in New Issue