1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 10:12:41 +01:00
phorge-phorge/scripts
vrana 0acb7734cd Use pht()
Summary:
This is the first step in Phabricator internationalization.
It adds a translation selector and calls it at startup.
Installations can add custom selectors to override some texts.
We can add official translations in future.

Next step is to allow user to choose his translation which will override the global one.

This is currently used only for English plurals.

Test Plan: Displayed a diff with unit test error, verified that it says 'Detail' or 'Details' and not 'Detail(s)'.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T1139

Differential Revision: https://secure.phabricator.com/D2753
2012-06-14 16:25:20 -07:00
..
aphront Use PhabricatorEnv::newObjectFromConfig() wherever possible 2012-03-21 14:57:52 -07:00
calendar Display holidays 2012-05-03 09:22:52 -07:00
conduit Depend on class autoloading 2012-05-30 16:57:21 -07:00
daemon Depend on class autoloading 2012-05-30 16:57:21 -07:00
differential Depend on class autoloading 2012-05-30 16:57:21 -07:00
drydock Depend on class autoloading 2012-05-30 16:57:21 -07:00
fpm Fix minor issues with D2630 2012-06-06 09:12:42 -07:00
install Simplify daemon management: "phd start" 2012-05-09 10:29:37 -07:00
mail Depend on class autoloading 2012-05-30 16:57:21 -07:00
repository Ignore errors in svn diff 2012-06-01 21:45:33 -07:00
search Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
setup Test for pcntl availability from the command line, not Apache 2011-05-30 21:02:08 -07:00
sql Make default database namespace configurable 2012-04-30 11:56:58 -07:00
symbols Depend on class autoloading 2012-05-30 16:57:21 -07:00
user Allow usernames to include ".", "-" and "_" 2012-06-06 07:09:05 -07:00
util Depend on class autoloading 2012-05-30 16:57:21 -07:00
__init_script__.php Use pht() 2012-06-14 16:25:20 -07:00
celerity_mapper.php Allow specifying custom celerity resource map 2012-06-04 18:45:03 -07:00