diff --git a/app/Http/routes.php b/app/Http/routes.php index bf67e1682a4a..94abf483358c 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -644,6 +644,7 @@ if (!defined('CONTACT_EMAIL')) { 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('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_LUIS_URL', 'https://api.projectoxford.ai/luis/v1/application'); diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 8fac10816e80..dbe1e533577b 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2146,6 +2146,8 @@ $LANG = array( 'expenses_will_create' => 'expenses will be created', 'created_expenses' => 'Successfully created :count expense(s)', + 'translate_app' => 'Help improve our translations with :link', + ); return $LANG; diff --git a/resources/views/accounts/localization.blade.php b/resources/views/accounts/localization.blade.php index 1aa0722dcf2d..170b593c50d0 100644 --- a/resources/views/accounts/localization.blade.php +++ b/resources/views/accounts/localization.blade.php @@ -23,7 +23,8 @@ {!! Former::select('currency_id')->addOption('','') ->fromQuery($currencies, 'name', 'id') !!} {!! 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('','') ->fromQuery($timezones, 'location', 'id') !!} {!! Former::select('date_format_id')->addOption('','')