remove WebODF l10n
This commit is contained in:
parent
7f82237453
commit
9a62fcfe7d
48
js/locale.js
48
js/locale.js
@ -1,48 +0,0 @@
|
||||
t('richdocuments', 'Align Left');
|
||||
t('richdocuments', 'Alignment');
|
||||
t('richdocuments', 'Align Right');
|
||||
t('richdocuments', 'Annotate');
|
||||
t('richdocuments', 'Background');
|
||||
t('richdocuments', 'Bold');
|
||||
t('richdocuments', 'Bottom');
|
||||
t('richdocuments', 'Cancel');
|
||||
t('richdocuments', 'Center');
|
||||
t('richdocuments', 'Clone');
|
||||
t('richdocuments', 'Clone this Style');
|
||||
t('richdocuments', 'Close');
|
||||
t('richdocuments', 'Color');
|
||||
t('richdocuments', 'Create');
|
||||
t('richdocuments', 'Decrease Indent');
|
||||
t('richdocuments', 'Default Style');
|
||||
t('richdocuments', 'Delete');
|
||||
t('richdocuments', 'Family');
|
||||
t('richdocuments', 'Font');
|
||||
t('richdocuments', 'Font Effects');
|
||||
t('richdocuments', 'Format');
|
||||
t('richdocuments', 'Increase Indent');
|
||||
t('richdocuments', 'Insert Image');
|
||||
t('richdocuments', 'Invite Members');
|
||||
t('richdocuments', 'Italic');
|
||||
t('richdocuments', 'Justified');
|
||||
t('richdocuments', 'Justify');
|
||||
t('richdocuments', 'Left');
|
||||
t('richdocuments', 'Loading');
|
||||
t('richdocuments', 'Members');
|
||||
t('richdocuments', 'New Name:');
|
||||
t('richdocuments', 'OK');
|
||||
t('richdocuments', 'Open');
|
||||
t('richdocuments', 'Options');
|
||||
t('richdocuments', 'Paragraph...');
|
||||
t('richdocuments', 'Paragraph Styles');
|
||||
t('richdocuments', 'Redo');
|
||||
t('richdocuments', 'Right');
|
||||
t('richdocuments', 'Save');
|
||||
t('richdocuments', 'Size');
|
||||
t('richdocuments', 'Spacing');
|
||||
t('richdocuments', 'Strikethrough');
|
||||
t('richdocuments', 'Style');
|
||||
t('richdocuments', 'Text');
|
||||
t('richdocuments', 'Top');
|
||||
t('richdocuments', 'Underline');
|
||||
t('richdocuments', 'Undo');
|
||||
t('richdocuments', 'Unknown Author');
|
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
#extracts strings for translation
|
||||
|
||||
if [ ! -e "README.md" ]; then
|
||||
echo "Call me in the toplevel dir of OwnCloud Documents."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
JS_PATH=js/
|
||||
WEBODF_PATH=js/3rdparty/webodf/
|
||||
|
||||
TMP=/tmp/documents-locale.js
|
||||
|
||||
grep -ohEr "tr\([\"|'][^\"|']*[\"|']\)" ${WEBODF_PATH} | sed -e "s/\"/'/g" -e "s/^tr(/t('documents',\ /" -e "s/\$/;/" > ${TMP}
|
||||
|
||||
grep -ohEr "text-i18n=[\"|'][^\"|']*[\"|']" ${WEBODF_PATH} | sed -e "s/\"/'/g" -e "s/^text-i18n=/t('documents',\ /" -e "s/\$/);/" >> ${TMP}
|
||||
|
||||
sort ${TMP} | uniq > ${JS_PATH}locale.js
|
Loading…
x
Reference in New Issue
Block a user