mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Move from extract.pl to standard xgettext
So far we have used extract.pl which originated in Horde to generate the PO files. This process took a long time to run. But xgettext is able to handle PHP by itself. In the source translate() and i18n() are used instead of _() therefore we have to pass a keyword parameter. From now on Translators: is the keyword to provide content to the translators on Transifex. Conflicts: scripts/po/extract.pl
This commit is contained in:
1 parent
a9231717c9
commit
5debe92237
6 files changed
+70
-165
No files matched your search
+3
-3
@@ -15,14 +15,14 @@ if ( isset($_SERVER['HTTP_REFERER']) ) {
|
||||
$wiki_help = 'w/Help/'.$wiki_help;
|
||||
}
|
||||
|
||||
$content = translate('<h1>Help</h1>
|
||||
$content = sprintf(translate('<h1>Help</h1>
|
||||
<p>For initial help you should visit the <a href="http://www.davical.org/" target="_blank">DAViCal Home Page</a> or take
|
||||
a look at the <a href="http://wiki.davical.org/'.$wiki_help.'" target="_blank">DAViCal Wiki</a>.</p>
|
||||
a look at the <a href="http://wiki.davical.org/%s" target="_blank">DAViCal Wiki</a>.</p>
|
||||
<p>If you can\'t find the answers there, visit us on <a href="http://wikipedia.org/wiki/Internet_Relay_Chat" target="_blank">IRC</a> in
|
||||
the <b>#davical</b> channel on <a href="http://www.oftc.net/" target="_blank">irc.oftc.net</a>,
|
||||
or send a question to the <a href="http://lists.sourceforge.net/mailman/listinfo/davical-general" target="_blank">DAViCal Users mailing list</a>.</p>
|
||||
<p>The <a href="http://sourceforge.net/mailarchive/forum.php?forum_id=8348" title="DAViCal Users Mailing List" target="_blank">mailing list
|
||||
archives can be helpful too.</p>');
|
||||
archives can be helpful too.</p>'), $wiki_help);
|
||||
|
||||
echo $content;
|
||||
|
||||
|
||||
Reference in new issue
Block a user