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:
mensonge 2008-01-14 10:59:29 +00:00
parent 3265b34919
commit a9232ac70a
7 changed files with 914 additions and 600 deletions

View File

@ -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();
}

View 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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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>