From e30ec3b0fb7d822aa63c4a85ffafc439ab002010 Mon Sep 17 00:00:00 2001 From: Naman Shankhydhar Date: Fri, 2 Oct 2020 12:11:55 +0530 Subject: [PATCH 1/6] translate local and templates to Punjabi(pu) --- .../templates/pu.email.auth.confirm.tpl | 16 ++ .../templates/pu.email.auth.invitation.tpl | 18 ++ .../templates/pu.email.auth.recovery.tpl | 15 ++ .../locale/translations/pu.continents.php | 11 + .../locale/translations/pu.countries.php | 203 ++++++++++++++++++ app/config/locale/translations/pu.php | 21 ++ 6 files changed, 284 insertions(+) create mode 100644 app/config/locale/templates/pu.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/pu.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/pu.email.auth.recovery.tpl create mode 100644 app/config/locale/translations/pu.continents.php create mode 100644 app/config/locale/translations/pu.countries.php create mode 100644 app/config/locale/translations/pu.php diff --git a/app/config/locale/templates/pu.email.auth.confirm.tpl b/app/config/locale/templates/pu.email.auth.confirm.tpl new file mode 100644 index 0000000000..b8dc31c467 --- /dev/null +++ b/app/config/locale/templates/pu.email.auth.confirm.tpl @@ -0,0 +1,16 @@ +

+ +ਸਤ ਸ੍ਰੀ ਅਕਾਲ {{name}}, +

+

+ ਆਪਣੇ ਈਮੇਲ ਪਤੇ ਦੀ ਤਸਦੀਕ ਕਰਨ ਲਈ ਇਸ ਲਿੰਕ ਤੇ ਕਲਿਕ ਕਰੋ. +

+{{cta}} +

+ਜੇ ਤੁਸੀਂ ਇਸ ਈਮੇਲ ਦੀ ਪੁਸ਼ਟੀ ਕਰਨ ਲਈ ਨਹੀਂ ਪੁੱਛਿਆ ਜਾਂਦਾ ਤਾਂ ਤੁਸੀਂ ਇਸ ਸੁਨੇਹੇ ਨੂੰ ਨਜ਼ਰਅੰਦਾਜ਼ ਕਰ ਸਕਦੇ ਹੋ. +

+

+ ਤੁਹਾਡਾ ਧੰਨਵਾਦ, +
+ {{project}} ਟੀਮ +

\ No newline at end of file diff --git a/app/config/locale/templates/pu.email.auth.invitation.tpl b/app/config/locale/templates/pu.email.auth.invitation.tpl new file mode 100644 index 0000000000..e7643abc17 --- /dev/null +++ b/app/config/locale/templates/pu.email.auth.invitation.tpl @@ -0,0 +1,18 @@ +

+ ਸਤ ਸ੍ਰੀ ਅਕਾਲ, +

+

+ ਕਿਉਂਕਿ ਇਹ ਮੇਲ ਤੁਹਾਨੂੰ ਭੇਜਿਆ ਗਿਆ ਸੀ {{owner}} ਤੁਸੀਂ {{project}} ਇਸ ਕਰਕੇ {{team}} ਇੱਥੇ ਇੱਕ ਮੈਂਬਰ ਬਣਨ ਲਈ ਸੱਦਾ ਦੇਣ ਦੀ ਇੱਛਾ ਹੈ. +

+

+ ਟੀਮ {{team}} ਸ਼ਾਮਲ ਹੋਣ ਲਈ ਇਸ ਲਿੰਕ 'ਤੇ ਕਲਿੱਕ ਕਰੋ : +

+{{cta}} +

+ਜੇ ਤੁਸੀਂ ਦਿਲਚਸਪੀ ਨਹੀਂ ਰੱਖਦੇ ਹੋ ਤਾਂ ਤੁਸੀਂ ਇਸ ਸੰਦੇਸ਼ ਨੂੰ ਅਣਡਿੱਠ ਕਰ ਸਕਦੇ ਹੋ. +

+

+ ਤੁਹਾਡਾ ਧੰਨਵਾਦ, +
+ {{project}} ਟੀਮ +

\ No newline at end of file diff --git a/app/config/locale/templates/pu.email.auth.recovery.tpl b/app/config/locale/templates/pu.email.auth.recovery.tpl new file mode 100644 index 0000000000..fab1d290f5 --- /dev/null +++ b/app/config/locale/templates/pu.email.auth.recovery.tpl @@ -0,0 +1,15 @@ +

+ ਸਤ ਸ੍ਰੀ ਅਕਾਲ {{name}}, +

+

+ {{project}} ਆਪਣਾ ਪਾਸਵਰਡ ਰੀਸੈਟ ਕਰਨ ਲਈ ਇਸ ਲਿੰਕ ਤੇ ਕਲਿਕ ਕਰੋ. +

+{{cta}} +

+ਜੇ ਤੁਹਾਨੂੰ ਆਪਣਾ ਪਾਸਵਰਡ ਰੀਸੈਟ ਕਰਨ ਲਈ ਨਹੀਂ ਕਿਹਾ ਜਾਂਦਾ, ਤਾਂ ਤੁਸੀਂ ਇਸ ਸੁਨੇਹੇ ਨੂੰ ਨਜ਼ਰਅੰਦਾਜ਼ ਕਰ ਸਕਦੇ ਹੋ. +

+

+ ਤੁਹਾਡਾ ਧੰਨਵਾਦ, +
+ {{project}} ਟੀਮ +

\ No newline at end of file diff --git a/app/config/locale/translations/pu.continents.php b/app/config/locale/translations/pu.continents.php new file mode 100644 index 0000000000..07b6548b38 --- /dev/null +++ b/app/config/locale/translations/pu.continents.php @@ -0,0 +1,11 @@ + 'ਅਫਰੀਕਾ', + 'AN' => 'ਅੰਟਾਰਕਟਿਕਾ', + 'AS' => 'ਏਸ਼ੀਆ', + 'EU' => 'ਯੂਰਪ', + 'NA' => 'ਉੱਤਰ ਅਮਰੀਕਾ', + 'OC' => 'ਓਸੀਆਨੀਆ', + 'SA' => 'ਸਾਉਥ ਅਮਰੀਕਾ', +]; diff --git a/app/config/locale/translations/pu.countries.php b/app/config/locale/translations/pu.countries.php new file mode 100644 index 0000000000..f650e1be29 --- /dev/null +++ b/app/config/locale/translations/pu.countries.php @@ -0,0 +1,203 @@ + 'ਅਫਗਾਨਿਸਤਾਨ', + 'AO' => 'ਐਂਗੋਲਾ', + 'AL' => 'ਅਲਬਾਨੀਆ', + 'AD' => 'ਅੰਡੋਰਾ', + 'AE' => 'ਸੰਯੂਕਤ ਅਰਬ ਅਮੀਰਾਤ', + 'AR' => 'ਅਰਜਿੰਟੀਨਾ', + 'AM' => 'ਅਰਮੇਨੀਆ', + 'AG' => 'ਐਨੀਟਗੁਆ ਅਤੇ ਬਰਮੁਡਾ', + 'AU' => 'ਆਸਟਰੇਲੀਆ', + 'AT' => 'ਆਸਟਰੀਆ', + 'AZ' => 'ਅਜ਼ਰਬਾਈਜਾਨ', + + 'BI' => 'ਬੁਰੂੰਡੀ', + 'BE' => 'ਬੈਲਜੀਅਮ', + 'BJ' => 'ਬੇਨਿਨ', + 'BF' => 'ਬੁਰਕੀਨਾ ਫਾਸੋ', + 'BD' => 'ਬੰਗਲਾਦੇਸ਼', + 'BG' => 'ਬੁਲਗਾਰੀਆ', + 'BH' => 'ਬਾਹਰੇਨ', + 'BS' => 'ਬਾਹਾਮਸ', + 'BA' => 'ਬੋਸਨੀਆ ਅਤੇ ਹਰਜ਼ੇਗੋਵਿਨਾ', + 'BY' => 'ਬੇਲਾਰੂਸ', + 'BZ' => 'ਬੇਲੀਜ਼', + 'BO' => 'ਬੋਲੀਵੀਆ', + 'BR' => 'ਬ੍ਰਾਜ਼ੀਲ', + 'BB' => 'ਬਾਰਬਾਡੋ', + 'BN' => 'ਬਰੂਨੇਈ ', + 'BT' => 'ਭੂਤਨ', + 'BW' => 'ਬੋਤਸਵਾਨਾ', + 'CF' => 'ਕੇਂਦਰੀ ਅਫ਼ਰੀਕੀ ਗਣਰਾਜ', + 'CA' => 'ਕੈਨਡਾ', + 'CH' => 'ਸਵਿੱਟਜਰਲੈਂਡ', + 'CL' => 'ਚਿਲੀ', + 'CN' => 'ਚੀਨ', + 'CI' => 'ਹਾਥੀ ਦੰਦ', + 'CM' => 'ਕੈਮਰੂਨ', + 'CD' => 'ਡੀ.ਆਰ. ਕੋਂਗੋ', + 'CG' => 'ਕੌਂਗੋ ਗਣਰਾਜ', + 'CO' => 'ਕੋਲੰਬੀਆ', + 'KM' => 'ਕੋਮੋਰੋਜ਼', + 'CV' => 'ਕੇਪ ਵਰਡ', + 'CR' => 'ਕੋਸਟਾਰੀਕਾ', + 'CU' => 'ਕਿ cਬਾ', + 'CY' => 'ਸਾਈਪ੍ਰਸ', + 'CZ' => 'ਚੇਕ ਗਣਤੰਤਰ', + 'DE' => 'ਜਰਮਨ', + 'DJ' => 'ਜਾਇਬੂਟੀ', + 'DM' => 'ਹਾਵੀਕਾ', + 'DK' => 'ਡੈਨਮਾਰਕ', + 'DO' => 'ਡੋਮਿਨਿੱਕ ਰਿਪਬਲਿਕ', + 'DZ' => 'ਅਲਜੀਰੀਆ', + 'ER' => 'ਇਰੀਟਰੀਆ', + 'EC' => 'ਇਕੂਏਟਰ', + 'EG' => 'ਮਿਸਰ', + 'IR' => 'ਇਰੀਟਰੀਆ', + 'ES' => 'ਸਪੇਨ', + 'EE' => 'ਈਸਟੋਨੀਆ', + 'ET' => 'ਈਥੋਪੀਆ', + 'FI' => 'ਫਿਨਲੈਂਡ', + 'FJ' => 'ਫਿਜੀ', + 'FR' => 'ਫ੍ਰਾਂਸ', + 'FM' => 'ਮਾਈਕਰੋਨੇਸ਼ੀਆ', + 'GA' => 'ਗੈਬਨ', + 'GB' => 'ਯੁਨਾਇਟੇਡ ਕਿਂਗਡਮ', + 'GE' => 'ਜਾਰਜੀਆ', + 'GH' => 'ਘਾਨਾ', + 'GN' => 'ਗਿੰਨੀ', + 'GM' => 'ਗੈਂਬੀਆ', + 'GW' => 'ਗਿੰਨੀ-ਬਿਸਾਉ', + 'GQ' => 'ਭੂਮੱਧ ਗਿੰਨੀ', + 'GR' => 'ਗ੍ਰੀਸ', + 'GD' => 'ਗ੍ਰੇਨਾਡਾ', + 'GT' => 'ਗੁਆਟੇਮਾਲਾ', + 'GY' => 'ਗੇਆਨਾ', + 'HN' => 'ਹੌਂਡੂਰਸ', + 'HR' => 'ਕਰੋਸ਼ੀਆ', + 'HT' => 'ਹੈਤੀ', + 'HU' => 'ਹੰਗਰੀਅਨ ਦੇਸ਼', + 'ID' => 'ਇੰਡੋਨੇਸ਼ੀਆ', + 'IN' => 'ਭਾਰਤ', + 'IE' => 'ਆਇਰਲੈਂਡ', + 'IR' => 'ਇਰਾਨ', + 'IQ' => 'ਇਰਾਕ', + 'IS' => 'ਆਈਸਲੈਂਡ', + 'IL' => 'ਇਸਰਾਇਲ', + 'IT' => 'ਇਟਲੀ', + 'JM' => 'ਜਮਾਏਕਾ', + 'JO' => 'ਜਾਰਡਨ', + 'JP' => 'ਜਪਾਨ', + 'KZ' => 'ਕਜ਼ਾਕਿਸਤਾਨ', + 'KE' => 'ਕੀਨੀਆ', + 'KG' => 'ਕਿਰਗਿਸਤਾਨ', + 'KH' => 'ਕੰਬੋਡੀਆ', + 'KI' => 'ਕਿਰੀਬਾਤੀ', + 'KN' => 'ਸੈਂਟ ਕਿੱਟਸ ਅਤੇ ਨੇਵਿਸ', + 'KR' => 'ਦੱਖਣੀ ਕੋਰੀਆ', + 'KW' => 'ਕੁਵੈਤ', + + 'LA' => 'ਲਾਓਸ', + 'LB' => 'ਲੇਬਨਾਨ', + 'LR' => 'ਲਾਇਬੇਰੀਆ', + 'LY' => 'ਲਿਬੀਆ', + 'LC' => 'ਸ੍ਟ੍ਰੀਟ ਲੂਸੀਆ', + 'LI' => 'ਲੀਚਨਸਟਾਈਨ', + 'LK' => 'ਸ਼ਿਰੀਲੰਕਾ', + 'LS' => 'ਲੈਸੋਥੋ', + 'LT' => 'ਲਿਥੁਆਨੀਆ', + 'LU' => 'ਲਕਸਮਬਰਗ', + 'LV' => 'ਲਾਤਵੀਆ', + 'MA' => 'ਮੋਰੋਕੋ', + 'MC' => 'ਮੋਨਾਕੋ', + 'MD' => 'ਮੋਲਡੋਵਾ', + 'MG' => 'ਮੈਡਾਗਾਸਕਰ', + 'MV' => 'ਮਾਲਦੀਵ', + 'MX' => 'ਮੈਕਸੀਕੋ', + 'MH' => 'ਮਾਰਸ਼ਲ ਟਾਪੂ', + 'MK' => 'ਮੈਸੇਡੋਨੀਆ', + 'ML' => 'ਮਾਲੀ', + 'MT' => 'ਮਾਲਟਾ', + 'MM' => 'ਮਿਆਂਮਾਰ', + 'ME' => 'ਮੋਨਟੇਨੇਗਰੋ', + 'MN' => 'ਮੰਗੋਲੀਆ', + 'MZ' => 'ਮੋਜ਼ਰਬਿਕ', + 'MR' => 'ਮੌਰੀਟਾਨੀਆ', + 'MU' => 'ਮਾਰੀਸ਼ਸ', + 'MW' => 'ਮਾਲਾਵੀ', + 'MY' => 'ਮਲੇਸ਼ੀਆ', + 'NA' => 'ਨਾਮੀਬੀਆ', + 'NE' => 'ਨਾਈਜਰ', + 'NG' => 'ਨਾਈਜੀਰੀਆ', + 'NI' => 'ਨਿਕਾਰਾਗੁਆ', + 'NL' => 'ਨੈੱਟਲਰਲੈਂਡ', + 'NO' => 'ਨਾਰਵੇ', + 'NP' => 'ਨੇਪਾਲ', + 'NR' => 'ਨਾਰੂ', + 'NZ' => 'ਨਿਊਜ਼ੀਲੈਂਡ', + 'OM' => 'ਓਮਾਨ', + 'PK' => 'ਪਾਕਿਸਤਾਨ', + 'PA' => 'ਪਨਾਮਾ', + 'PE' => 'ਪੇਰੂ', + 'PH' => 'ਫਿਲਪੀਨਜ਼', + 'PW' => 'ਪਲਾਉ', + 'PG' => 'ਪਪੁਆ ਨਵਾਂ ਗਿੰਨੀ', + 'PL' => 'ਪੋਲੈਂਡ', + 'KP' => 'ਉੱਤਰੀ ਕੋਰਿਆ', + 'PT' => 'ਪੋਰਟੁਗਲ', + 'PY' => 'ਪੈਰਾਗੁਏ', + + 'QA' => 'ਕਤਰ', + 'RO' => 'ਰੋਮਾਨੀਆ', + 'RU' => 'ਰੂਸ', + 'RW' => 'ਰੂਸ', + 'SA' => 'ਸੌਦੀ ਅਰਬ', + 'SD' => 'ਸੁਡਾਨ', + 'SN' => 'ਸੇਨੇਗਲ', + 'SG' => 'ਸਿੰਗਾਪੁਰ', + 'SB' => 'ਸੋਲੋਮੋਨ ਟਾਪੂ', + 'SL' => 'ਸੀਅਰਾ ਲਿਓਨ', + 'SV' => 'ਅਲ ਸਾਲਵਾਡੋਰ', + 'SM' => 'ਸੈਨ ਮਰੀਨੋ', + 'SO' => 'ਸੋਮਾਲੀਆ', + 'RS' => 'ਸਰਬੀਆ', + 'SS' => 'ਦੱਖਣੀ ਸੁਡਾਨ', + 'ST' => 'ਸਾਓ ਟੋਮ ਅਤੇ ਪ੍ਰਿੰਸੀਪਲ', + 'SR' => 'ਸੂਰੀਨਾਮ', + 'SK' => 'ਸਲਾਸਿਆ', + 'SI' => 'ਸਲੋਵੇਨੀਆ', + 'SE' => 'ਸਵੀਡਨ', + 'SZ' => 'ਸਵਾਜ਼ੀਲੈਂਡ', + 'SC' => 'ਸੇਸ਼ੇਲਸ', + 'SY' => 'ਸੀਰੀਆ', + 'TD' => 'ਚਾਡ', + 'TG' => 'ਹੁਣੇ ਜਾਣਾ', + 'TH' => 'ਥਾਈਲੈਂਡ', + 'TJ' => 'ਤਜਿਕਿਸਤਾਨ', + 'TM' => 'ਤੁਰਕਮੇਨਿਸਤਾਨ', + 'TL' => 'ਟਾਈਮਰ ਘੱਟ', + 'TO' => 'ਟੰਗਾ', + 'TT' => 'ਤ੍ਰਿਨੀਦਾਦ ਅਤੇ ਟੋਬਾਗੋ', + 'TN' => 'ਯੂਨਿਸੀਆ', + 'TR' => 'ਟਰਕੀ', + 'TV' => 'ਤੁਵਾਲੁ', + 'TZ' => 'ਤਨਜ਼ਾਨੀਆ', + 'UG' => 'ਯੂਗਾਂਡਾ', + 'UA' => 'ਯੂਕ੍ਰੇਨ', + 'UY' => 'ਉਰੁਗੁਏ', + 'US' => 'ਸੰਯੁਕਤ ਰਾਜ ਅਮਰੀਕਾ', + 'UZ' => 'ਉਜ਼ਬੇਕਿਸਤਾਨ', + 'VA' => 'ਵੈਟੀਕਨ ਸ਼ਹਿਰ', + 'VC' => 'ਸੈਂਟ ਵਿਨਸੈਂਟ ਅਤੇ ਗ੍ਰੇਨਾਡਾਈਨਜ਼', + 'VE' => 'ਵੈਨਜ਼ੂਏਲਾ', + 'VN' => 'ਵੀਅਤਨਾਮ', + 'VU' => 'ਵੈਨੂਆਟੂ', + 'WS' => 'ਸਮੋਆ', + 'YE' => 'ਯੀਮਨ', + 'ZA' => 'ਦੱਖਣੀ ਅਫਰੀਕਾ', + 'ZM' => 'ਜ਼ੈਂਬੀਆ', + 'ZW' => 'ਜ਼ਿੰਬਾਬਵੇ', +]; diff --git a/app/config/locale/translations/pu.php b/app/config/locale/translations/pu.php new file mode 100644 index 0000000000..640b20fce3 --- /dev/null +++ b/app/config/locale/translations/pu.php @@ -0,0 +1,21 @@ + '"ਬੁੱਧੀਮਾਨ ਬਣਨ ਦੀ ਕਲਾ ਇਹ ਜਾਣਨ ਦੀ ਕਲਾ ਹੈ ਕਿ ਕਿਸ ਨੂੰ ਨਜ਼ਰਅੰਦਾਜ਼ ਕਰਨਾ ਹੈ."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'pu', + 'settings.direction' => 'ltr', + + // Service - Users + 'account.emails.team' => '%s ਟੀਮ', + 'account.emails.verification.title' => 'ਖਾਤਾ ਪੁਸ਼ਟੀਕਰਣ', + 'account.emails.verification.body' => 'pu.email.auth.confirm.tpl', + 'account.emails.recovery.title' => 'ਪਾਸਵਰਡ ਰੀਸੈੱਟ', + 'account.emails.recovery.body' => 'pu.email.auth.recovery.tpl', + 'account.emails.invitation.title' => 'ਸੱਦਾ %s ਟੀਮ %s', + 'account.emails.invitation.body' => 'pu.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'ਅਣਜਾਣ', + + 'countries' => include 'pu.countries.php', + 'continents' => include 'pu.continents.php', +]; From c108a147d3b23b73d53bdf75351a35d6e4f96f18 Mon Sep 17 00:00:00 2001 From: Naman Shankhydhar Date: Fri, 2 Oct 2020 21:49:39 +0530 Subject: [PATCH 2/6] loaded and configured punjabi lang --- app/config/locale/codes.php | 1 + app/init.php | 1 + 2 files changed, 2 insertions(+) diff --git a/app/config/locale/codes.php b/app/config/locale/codes.php index 84738367be..71bedb0515 100644 --- a/app/config/locale/codes.php +++ b/app/config/locale/codes.php @@ -33,6 +33,7 @@ return [ 'pl', // Polish 'pt-br', // Portuguese - Brazil 'pt-pt', // Portuguese - Portugal + 'pu', //Punjabi 'ro', // Romanian 'ru', // Russian 'si', // Sinhala diff --git a/app/init.php b/app/init.php index 4d56ac3f58..376e080c67 100644 --- a/app/init.php +++ b/app/init.php @@ -254,6 +254,7 @@ Locale::setLanguage('ph', include __DIR__.'/config/locale/translations/ph.php'); Locale::setLanguage('pl', include __DIR__.'/config/locale/translations/pl.php'); Locale::setLanguage('pt-br', include __DIR__.'/config/locale/translations/pt-br.php'); Locale::setLanguage('pt-pt', include __DIR__.'/config/locale/translations/pt-pt.php'); +Locale::setLanguage('pt-pt', include __DIR__.'/config/locale/translations/pu.php'); Locale::setLanguage('ro', include __DIR__.'/config/locale/translations/ro.php'); Locale::setLanguage('ru', include __DIR__ . '/config/locale/translations/ru.php'); Locale::setLanguage('si', include __DIR__ . '/config/locale/translations/si.php'); From 4488f49af913fce039452ebf6f2f9164f0bcea4f Mon Sep 17 00:00:00 2001 From: Naman Shankhydhar Date: Fri, 2 Oct 2020 22:08:25 +0530 Subject: [PATCH 3/6] changed symbol --- app/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/init.php b/app/init.php index 376e080c67..919618cfe6 100644 --- a/app/init.php +++ b/app/init.php @@ -254,7 +254,7 @@ Locale::setLanguage('ph', include __DIR__.'/config/locale/translations/ph.php'); Locale::setLanguage('pl', include __DIR__.'/config/locale/translations/pl.php'); Locale::setLanguage('pt-br', include __DIR__.'/config/locale/translations/pt-br.php'); Locale::setLanguage('pt-pt', include __DIR__.'/config/locale/translations/pt-pt.php'); -Locale::setLanguage('pt-pt', include __DIR__.'/config/locale/translations/pu.php'); +Locale::setLanguage('pu', include __DIR__.'/config/locale/translations/pu.php'); Locale::setLanguage('ro', include __DIR__.'/config/locale/translations/ro.php'); Locale::setLanguage('ru', include __DIR__ . '/config/locale/translations/ru.php'); Locale::setLanguage('si', include __DIR__ . '/config/locale/translations/si.php'); From 18729edf7491569f60bb1f596cee99f1be9f029c Mon Sep 17 00:00:00 2001 From: Naman Shankhydhar Date: Sun, 4 Oct 2020 11:33:20 +0530 Subject: [PATCH 4/6] changed denotion of Punjabi from pu to pa --- app/config/locale/codes.php | 2 +- .../{pu.continents.php => pa.continents.php} | 0 .../{pu.countries.php => pa.countries.php} | 0 app/config/locale/translations/{pu.php => pa.php} | 12 ++++++------ app/init.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename app/config/locale/translations/{pu.continents.php => pa.continents.php} (100%) rename app/config/locale/translations/{pu.countries.php => pa.countries.php} (100%) rename app/config/locale/translations/{pu.php => pa.php} (69%) diff --git a/app/config/locale/codes.php b/app/config/locale/codes.php index 71bedb0515..9d39eb3046 100644 --- a/app/config/locale/codes.php +++ b/app/config/locale/codes.php @@ -33,7 +33,7 @@ return [ 'pl', // Polish 'pt-br', // Portuguese - Brazil 'pt-pt', // Portuguese - Portugal - 'pu', //Punjabi + 'pa', //Punjabi 'ro', // Romanian 'ru', // Russian 'si', // Sinhala diff --git a/app/config/locale/translations/pu.continents.php b/app/config/locale/translations/pa.continents.php similarity index 100% rename from app/config/locale/translations/pu.continents.php rename to app/config/locale/translations/pa.continents.php diff --git a/app/config/locale/translations/pu.countries.php b/app/config/locale/translations/pa.countries.php similarity index 100% rename from app/config/locale/translations/pu.countries.php rename to app/config/locale/translations/pa.countries.php diff --git a/app/config/locale/translations/pu.php b/app/config/locale/translations/pa.php similarity index 69% rename from app/config/locale/translations/pu.php rename to app/config/locale/translations/pa.php index 640b20fce3..6f1ffeeee4 100644 --- a/app/config/locale/translations/pu.php +++ b/app/config/locale/translations/pa.php @@ -2,20 +2,20 @@ return [ 'settings.inspire' => '"ਬੁੱਧੀਮਾਨ ਬਣਨ ਦੀ ਕਲਾ ਇਹ ਜਾਣਨ ਦੀ ਕਲਾ ਹੈ ਕਿ ਕਿਸ ਨੂੰ ਨਜ਼ਰਅੰਦਾਜ਼ ਕਰਨਾ ਹੈ."', // This is the line printed in the homepage and console 'view-source' - 'settings.locale' => 'pu', + 'settings.locale' => 'pa', 'settings.direction' => 'ltr', // Service - Users 'account.emails.team' => '%s ਟੀਮ', 'account.emails.verification.title' => 'ਖਾਤਾ ਪੁਸ਼ਟੀਕਰਣ', - 'account.emails.verification.body' => 'pu.email.auth.confirm.tpl', + 'account.emails.verification.body' => 'pa.email.auth.confirm.tpl', 'account.emails.recovery.title' => 'ਪਾਸਵਰਡ ਰੀਸੈੱਟ', - 'account.emails.recovery.body' => 'pu.email.auth.recovery.tpl', + 'account.emails.recovery.body' => 'pa.email.auth.recovery.tpl', 'account.emails.invitation.title' => 'ਸੱਦਾ %s ਟੀਮ %s', - 'account.emails.invitation.body' => 'pu.email.auth.invitation.tpl', + 'account.emails.invitation.body' => 'pa.email.auth.invitation.tpl', 'locale.country.unknown' => 'ਅਣਜਾਣ', - 'countries' => include 'pu.countries.php', - 'continents' => include 'pu.continents.php', + 'countries' => include 'pa.countries.php', + 'continents' => include 'pa.continents.php', ]; diff --git a/app/init.php b/app/init.php index 919618cfe6..4234e0cee0 100644 --- a/app/init.php +++ b/app/init.php @@ -254,7 +254,7 @@ Locale::setLanguage('ph', include __DIR__.'/config/locale/translations/ph.php'); Locale::setLanguage('pl', include __DIR__.'/config/locale/translations/pl.php'); Locale::setLanguage('pt-br', include __DIR__.'/config/locale/translations/pt-br.php'); Locale::setLanguage('pt-pt', include __DIR__.'/config/locale/translations/pt-pt.php'); -Locale::setLanguage('pu', include __DIR__.'/config/locale/translations/pu.php'); +Locale::setLanguage('pa', include __DIR__.'/config/locale/translations/pa.php'); Locale::setLanguage('ro', include __DIR__.'/config/locale/translations/ro.php'); Locale::setLanguage('ru', include __DIR__ . '/config/locale/translations/ru.php'); Locale::setLanguage('si', include __DIR__ . '/config/locale/translations/si.php'); From 58cfd1080ecb1f83b0417728d6fd2e0129920f33 Mon Sep 17 00:00:00 2001 From: Naman Shankhydhar Date: Sun, 4 Oct 2020 11:34:45 +0530 Subject: [PATCH 5/6] changed pu to pa in templates --- .../{pu.email.auth.confirm.tpl => pa.email.auth.confirm.tpl} | 0 ...{pu.email.auth.invitation.tpl => pa.email.auth.invitation.tpl} | 0 .../{pu.email.auth.recovery.tpl => pa.email.auth.recovery.tpl} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename app/config/locale/templates/{pu.email.auth.confirm.tpl => pa.email.auth.confirm.tpl} (100%) rename app/config/locale/templates/{pu.email.auth.invitation.tpl => pa.email.auth.invitation.tpl} (100%) rename app/config/locale/templates/{pu.email.auth.recovery.tpl => pa.email.auth.recovery.tpl} (100%) diff --git a/app/config/locale/templates/pu.email.auth.confirm.tpl b/app/config/locale/templates/pa.email.auth.confirm.tpl similarity index 100% rename from app/config/locale/templates/pu.email.auth.confirm.tpl rename to app/config/locale/templates/pa.email.auth.confirm.tpl diff --git a/app/config/locale/templates/pu.email.auth.invitation.tpl b/app/config/locale/templates/pa.email.auth.invitation.tpl similarity index 100% rename from app/config/locale/templates/pu.email.auth.invitation.tpl rename to app/config/locale/templates/pa.email.auth.invitation.tpl diff --git a/app/config/locale/templates/pu.email.auth.recovery.tpl b/app/config/locale/templates/pa.email.auth.recovery.tpl similarity index 100% rename from app/config/locale/templates/pu.email.auth.recovery.tpl rename to app/config/locale/templates/pa.email.auth.recovery.tpl From a54a96368db9e873f86e108e11c47949bd2bcf2b Mon Sep 17 00:00:00 2001 From: Naman Shankhydhar Date: Mon, 5 Oct 2020 09:29:30 +0530 Subject: [PATCH 6/6] removed extra spaces --- app/config/locale/translations/pa.countries.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/config/locale/translations/pa.countries.php b/app/config/locale/translations/pa.countries.php index f650e1be29..1096d0a368 100644 --- a/app/config/locale/translations/pa.countries.php +++ b/app/config/locale/translations/pa.countries.php @@ -13,7 +13,6 @@ return [ 'AU' => 'ਆਸਟਰੇਲੀਆ', 'AT' => 'ਆਸਟਰੀਆ', 'AZ' => 'ਅਜ਼ਰਬਾਈਜਾਨ', - 'BI' => 'ਬੁਰੂੰਡੀ', 'BE' => 'ਬੈਲਜੀਅਮ', 'BJ' => 'ਬੇਨਿਨ', @@ -99,7 +98,6 @@ return [ 'KN' => 'ਸੈਂਟ ਕਿੱਟਸ ਅਤੇ ਨੇਵਿਸ', 'KR' => 'ਦੱਖਣੀ ਕੋਰੀਆ', 'KW' => 'ਕੁਵੈਤ', - 'LA' => 'ਲਾਓਸ', 'LB' => 'ਲੇਬਨਾਨ', 'LR' => 'ਲਾਇਬੇਰੀਆ', @@ -149,7 +147,6 @@ return [ 'KP' => 'ਉੱਤਰੀ ਕੋਰਿਆ', 'PT' => 'ਪੋਰਟੁਗਲ', 'PY' => 'ਪੈਰਾਗੁਏ', - 'QA' => 'ਕਤਰ', 'RO' => 'ਰੋਮਾਨੀਆ', 'RU' => 'ਰੂਸ',