Add link to Transifex

This commit is contained in:
Hillel Coren 2016-10-05 21:20:00 +03:00
parent 9934bba169
commit 08a07f09ed
3 changed files with 5 additions and 1 deletions

View File

@ -644,6 +644,7 @@ if (!defined('CONTACT_EMAIL')) {
define('EMAIL_MARKUP_URL', env('EMAIL_MARKUP_URL', 'https://developers.google.com/gmail/markup')); define('EMAIL_MARKUP_URL', env('EMAIL_MARKUP_URL', 'https://developers.google.com/gmail/markup'));
define('OFX_HOME_URL', env('OFX_HOME_URL', 'http://www.ofxhome.com/index.php/home/directory/all')); define('OFX_HOME_URL', env('OFX_HOME_URL', 'http://www.ofxhome.com/index.php/home/directory/all'));
define('GOOGLE_ANALYITCS_URL', env('GOOGLE_ANALYITCS_URL', 'https://www.google-analytics.com/collect')); define('GOOGLE_ANALYITCS_URL', env('GOOGLE_ANALYITCS_URL', 'https://www.google-analytics.com/collect'));
define('TRANSIFEX_URL', env('TRANSIFEX_URL', 'https://www.transifex.com/invoice-ninja/invoice-ninja'));
define('MSBOT_LOGIN_URL', 'https://login.microsoftonline.com/common/oauth2/v2.0/token'); define('MSBOT_LOGIN_URL', 'https://login.microsoftonline.com/common/oauth2/v2.0/token');
define('MSBOT_LUIS_URL', 'https://api.projectoxford.ai/luis/v1/application'); define('MSBOT_LUIS_URL', 'https://api.projectoxford.ai/luis/v1/application');

View File

@ -2146,6 +2146,8 @@ $LANG = array(
'expenses_will_create' => 'expenses will be created', 'expenses_will_create' => 'expenses will be created',
'created_expenses' => 'Successfully created :count expense(s)', 'created_expenses' => 'Successfully created :count expense(s)',
'translate_app' => 'Help improve our translations with :link',
); );
return $LANG; return $LANG;

View File

@ -23,7 +23,8 @@
{!! Former::select('currency_id')->addOption('','') {!! Former::select('currency_id')->addOption('','')
->fromQuery($currencies, 'name', 'id') !!} ->fromQuery($currencies, 'name', 'id') !!}
{!! Former::select('language_id')->addOption('','') {!! Former::select('language_id')->addOption('','')
->fromQuery($languages, 'name', 'id') !!} ->fromQuery($languages, 'name', 'id')
->help(trans('texts.translate_app', ['link' => link_to(TRANSIFEX_URL, 'Transifex.com', ['target' => '_blank'])])) !!}
{!! Former::select('timezone_id')->addOption('','') {!! Former::select('timezone_id')->addOption('','')
->fromQuery($timezones, 'location', 'id') !!} ->fromQuery($timezones, 'location', 'id') !!}
{!! Former::select('date_format_id')->addOption('','') {!! Former::select('date_format_id')->addOption('','')