Translation: improve French translation + add shell script to extract strings
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@13 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
3265b34919
commit
a9232ac70a
2
edit.php
2
edit.php
@ -75,7 +75,7 @@ if (!($row = $bookmarkservice->getBookmark(intval($bookmark), true))) {
|
||||
}
|
||||
exit();
|
||||
} else {
|
||||
$tplVars['error'] = T_('Failed to delete the bookmark');
|
||||
$tplVars['error'] = T_('Failed to delete bookmark');
|
||||
$templateservice->loadTemplate('error.500.tpl', $tplVars);
|
||||
exit();
|
||||
}
|
||||
|
@ -17,4 +17,4 @@ if exist "..\..\..\locales\%1.po.bak" del ..\..\..\locales\%1.po.bak
|
||||
msgfmt --statistics "..\..\..\locales\%1.po"
|
||||
|
||||
:end
|
||||
echo Finished
|
||||
echo Finished
|
||||
|
12
includes/php-gettext/bin/gettexts.sh
Executable file
12
includes/php-gettext/bin/gettexts.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
xgettext -kT_ngettext:1,2 -kT_ -L PHP -o ../../../locales/messages.po ../../../*.php ../../../services/*.php ../../../templates/*.php
|
||||
|
||||
if [ -f "../../../locales/$1/LC_MESSAGES/messages.po" ]
|
||||
then
|
||||
msgmerge -o ../../../locales/$1/LC_MESSAGES/messages.po ../../../locales/$1/LC_MESSAGES/messages.po ../../../locales/messages.po
|
||||
|
||||
msgfmt --statistics "../../../locales/$1/LC_MESSAGES/messages.po" -o "../../../locales/$1/LC_MESSAGES/messages.mo"
|
||||
else
|
||||
echo "gettexts.sh LANGUAGE_CODE"
|
||||
echo "example: 'gettexts fr_FR' to get text for French"
|
||||
fi
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@ $this->includeTemplate($GLOBALS['top_include']);
|
||||
|
||||
<form action="<?= $formaction ?>" method="post">
|
||||
<input type="hidden" name="tag" value="<?php echo $tag ?>" />
|
||||
<p><?php echo T_('Create new link :')?></p>
|
||||
<p><?php echo T_('Create new link:')?></p>
|
||||
<p><?php echo $tag ?> > <input type="text" name="newTag" /></p>
|
||||
<!--p><?php echo T_('Are you sure?'); ?></p-->
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user