From 60786461a98a8bb0d9dbda791f6601a666fa2ca3 Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 29 Mar 2022 15:01:48 +0200 Subject: [PATCH] Reformat various code. --- resources/lang/en_US/config.php | 44 +-- resources/lang/en_US/intro.php | 60 ++-- resources/lang/en_US/locales.json | 445 +++++++++++++++++++++++++++++- routes/api-noauth.php | 4 +- routes/api.php | 1 - routes/breadcrumbs.php | 62 ++--- routes/web.php | 20 +- 7 files changed, 539 insertions(+), 97 deletions(-) diff --git a/resources/lang/en_US/config.php b/resources/lang/en_US/config.php index b097328550..d0e1be9b49 100644 --- a/resources/lang/en_US/config.php +++ b/resources/lang/en_US/config.php @@ -23,45 +23,45 @@ declare(strict_types=1); return [ - 'html_language' => 'en', - 'locale' => 'en, English, en_US.utf8, en_US.UTF-8', + 'html_language' => 'en', + 'locale' => 'en, English, en_US.utf8, en_US.UTF-8', //'month' => '%B %Y', - 'month_js' => 'MMMM YYYY', + 'month_js' => 'MMMM YYYY', //'month_and_day' => '%B %e, %Y', - 'month_and_day_moment_js' => 'MMM D, YYYY', - 'month_and_day_fns' => 'MMMM d, y', - 'month_and_day_js' => 'MMMM Do, YYYY', + 'month_and_day_moment_js' => 'MMM D, YYYY', + 'month_and_day_fns' => 'MMMM d, y', + 'month_and_day_js' => 'MMMM Do, YYYY', //'month_and_date_day' => '%A %B %e, %Y', - 'month_and_date_day_js' => 'dddd MMMM Do, YYYY', + 'month_and_date_day_js' => 'dddd MMMM Do, YYYY', //'month_and_day_no_year' => '%B %e', 'month_and_day_no_year_js' => 'MMMM Do', //'date_time' => '%B %e, %Y, @ %T', - 'date_time_js' => 'MMMM Do, YYYY, @ HH:mm:ss', + 'date_time_js' => 'MMMM Do, YYYY, @ HH:mm:ss', //'specific_day' => '%e %B %Y', - 'specific_day_js' => 'D MMMM YYYY', + 'specific_day_js' => 'D MMMM YYYY', //'week_in_year' => 'Week %V, %G', - 'week_in_year_js' => '[Week] w, YYYY', - 'week_in_year_fns' => "'Week' w, yyyy", + 'week_in_year_js' => '[Week] w, YYYY', + 'week_in_year_fns' => "'Week' w, yyyy", //'year' => '%Y', - 'year_js' => 'YYYY', + 'year_js' => 'YYYY', //'half_year' => '%B %Y', - 'half_year_js' => 'Q YYYY', + 'half_year_js' => 'Q YYYY', - 'quarter_fns' => "'Q'Q, yyyy", - 'half_year_fns' => "'H{half}', yyyy", - 'dow_1' => 'Monday', - 'dow_2' => 'Tuesday', - 'dow_3' => 'Wednesday', - 'dow_4' => 'Thursday', - 'dow_5' => 'Friday', - 'dow_6' => 'Saturday', - 'dow_7' => 'Sunday', + 'quarter_fns' => "'Q'Q, yyyy", + 'half_year_fns' => "'H{half}', yyyy", + 'dow_1' => 'Monday', + 'dow_2' => 'Tuesday', + 'dow_3' => 'Wednesday', + 'dow_4' => 'Thursday', + 'dow_5' => 'Friday', + 'dow_6' => 'Saturday', + 'dow_7' => 'Sunday', ]; diff --git a/resources/lang/en_US/intro.php b/resources/lang/en_US/intro.php index f765ee1519..012d5e7dcd 100644 --- a/resources/lang/en_US/intro.php +++ b/resources/lang/en_US/intro.php @@ -24,46 +24,46 @@ declare(strict_types=1); return [ // index - 'index_intro' => 'Welcome to the index page of Firefly III. Please take the time to walk through this intro to get a feeling of how Firefly III works.', - 'index_accounts-chart' => 'This chart shows the current balance of your asset accounts. You can select the accounts visible here in your preferences.', - 'index_box_out_holder' => 'This little box and the boxes next to this one will give you a quick overview of your financial situation.', - 'index_help' => 'If you ever need help with a page or a form, press this button.', - 'index_outro' => 'Most pages of Firefly III will start with a little tour like this one. Please contact me when you have questions or comments. Enjoy!', - 'index_sidebar-toggle' => 'To create new transactions, accounts or other things, use the menu under this icon.', - 'index_cash_account' => 'These are the accounts created so far. You can use the cash account to track cash expenses but it\'s not mandatory of course.', + 'index_intro' => 'Welcome to the index page of Firefly III. Please take the time to walk through this intro to get a feeling of how Firefly III works.', + 'index_accounts-chart' => 'This chart shows the current balance of your asset accounts. You can select the accounts visible here in your preferences.', + 'index_box_out_holder' => 'This little box and the boxes next to this one will give you a quick overview of your financial situation.', + 'index_help' => 'If you ever need help with a page or a form, press this button.', + 'index_outro' => 'Most pages of Firefly III will start with a little tour like this one. Please contact me when you have questions or comments. Enjoy!', + 'index_sidebar-toggle' => 'To create new transactions, accounts or other things, use the menu under this icon.', + 'index_cash_account' => 'These are the accounts created so far. You can use the cash account to track cash expenses but it\'s not mandatory of course.', // transactions - 'transactions_create_basic_info' => 'Enter the basic information of your transaction. Source, destination, date and description.', - 'transactions_create_amount_info' => 'Enter the amount of the transaction. If necessary the fields will auto-update for foreign amount info.', - 'transactions_create_optional_info' => 'All of these fields are optional. Adding meta-data here will make your transactions better organised.', - 'transactions_create_split' => 'If you want to split a transaction, add more splits with this button', + 'transactions_create_basic_info' => 'Enter the basic information of your transaction. Source, destination, date and description.', + 'transactions_create_amount_info' => 'Enter the amount of the transaction. If necessary the fields will auto-update for foreign amount info.', + 'transactions_create_optional_info' => 'All of these fields are optional. Adding meta-data here will make your transactions better organised.', + 'transactions_create_split' => 'If you want to split a transaction, add more splits with this button', // create account: - 'accounts_create_iban' => 'Give your accounts a valid IBAN. This could make a data import very easy in the future.', - 'accounts_create_asset_opening_balance' => 'Assets accounts may have an "opening balance", indicating the start of this account\'s history in Firefly III.', - 'accounts_create_asset_currency' => 'Firefly III supports multiple currencies. Asset accounts have one main currency, which you must set here.', - 'accounts_create_asset_virtual' => 'It can sometimes help to give your account a virtual balance: an extra amount always added to or removed from the actual balance.', + 'accounts_create_iban' => 'Give your accounts a valid IBAN. This could make a data import very easy in the future.', + 'accounts_create_asset_opening_balance' => 'Assets accounts may have an "opening balance", indicating the start of this account\'s history in Firefly III.', + 'accounts_create_asset_currency' => 'Firefly III supports multiple currencies. Asset accounts have one main currency, which you must set here.', + 'accounts_create_asset_virtual' => 'It can sometimes help to give your account a virtual balance: an extra amount always added to or removed from the actual balance.', // budgets index - 'budgets_index_intro' => 'Budgets are used to manage your finances and form one of the core functions of Firefly III.', - 'budgets_index_set_budget' => 'Set your total budget for every period so Firefly III can tell you if you have budgeted all available money.', - 'budgets_index_see_expenses_bar' => 'Spending money will slowly fill this bar.', - 'budgets_index_navigate_periods' => 'Navigate through periods to easily set budgets ahead of time.', - 'budgets_index_new_budget' => 'Create new budgets as you see fit.', - 'budgets_index_list_of_budgets' => 'Use this table to set the amounts for each budget and see how you are doing.', - 'budgets_index_outro' => 'To learn more about budgeting, checkout the help icon in the top right corner.', + 'budgets_index_intro' => 'Budgets are used to manage your finances and form one of the core functions of Firefly III.', + 'budgets_index_set_budget' => 'Set your total budget for every period so Firefly III can tell you if you have budgeted all available money.', + 'budgets_index_see_expenses_bar' => 'Spending money will slowly fill this bar.', + 'budgets_index_navigate_periods' => 'Navigate through periods to easily set budgets ahead of time.', + 'budgets_index_new_budget' => 'Create new budgets as you see fit.', + 'budgets_index_list_of_budgets' => 'Use this table to set the amounts for each budget and see how you are doing.', + 'budgets_index_outro' => 'To learn more about budgeting, checkout the help icon in the top right corner.', // reports (index) - 'reports_index_intro' => 'Use these reports to get detailed insights in your finances.', - 'reports_index_inputReportType' => 'Pick a report type. Check out the help pages to see what each report shows you.', - 'reports_index_inputAccountsSelect' => 'You can exclude or include asset accounts as you see fit.', - 'reports_index_inputDateRange' => 'The selected date range is entirely up to you: from one day to 10 years.', - 'reports_index_extra-options-box' => 'Depending on the report you have selected, you can select extra filters and options here. Watch this box when you change report types.', + 'reports_index_intro' => 'Use these reports to get detailed insights in your finances.', + 'reports_index_inputReportType' => 'Pick a report type. Check out the help pages to see what each report shows you.', + 'reports_index_inputAccountsSelect' => 'You can exclude or include asset accounts as you see fit.', + 'reports_index_inputDateRange' => 'The selected date range is entirely up to you: from one day to 10 years.', + 'reports_index_extra-options-box' => 'Depending on the report you have selected, you can select extra filters and options here. Watch this box when you change report types.', // reports (reports) - 'reports_report_default_intro' => 'This report will give you a quick and comprehensive overview of your finances. If you wish to see anything else, please don\'t hestitate to contact me!', - 'reports_report_audit_intro' => 'This report will give you detailed insights in your asset accounts.', - 'reports_report_audit_optionsBox' => 'Use these check boxes to show or hide the columns you are interested in.', + 'reports_report_default_intro' => 'This report will give you a quick and comprehensive overview of your finances. If you wish to see anything else, please don\'t hestitate to contact me!', + 'reports_report_audit_intro' => 'This report will give you detailed insights in your asset accounts.', + 'reports_report_audit_optionsBox' => 'Use these check boxes to show or hide the columns you are interested in.', 'reports_report_category_intro' => 'This report will give you insight in one or multiple categories.', 'reports_report_category_pieCharts' => 'These charts will give you insight in expenses and income per category or per account.', diff --git a/resources/lang/en_US/locales.json b/resources/lang/en_US/locales.json index 6527ebb6ee..179d3c4654 100644 --- a/resources/lang/en_US/locales.json +++ b/resources/lang/en_US/locales.json @@ -1 +1,444 @@ -{"af_NA":"Afrikaans (Namibia)","af_ZA":"Afrikaans (South Africa)","ak_GH":"Akan (Ghana)","sq_AL":"Albanian (Albania)","sq_XK":"Albanian (Kosovo)","sq_MK":"Albanian (Macedonia)","am_ET":"Amharic (Ethiopia)","ar_DZ":"Arabic (Algeria)","ar_BH":"Arabic (Bahrain)","ar_TD":"Arabic (Chad)","ar_KM":"Arabic (Comoros)","ar_DJ":"Arabic (Djibouti)","ar_EG":"Arabic (Egypt)","ar_ER":"Arabic (Eritrea)","ar_IQ":"Arabic (Iraq)","ar_IL":"Arabic (Israel)","ar_JO":"Arabic (Jordan)","ar_KW":"Arabic (Kuwait)","ar_LB":"Arabic (Lebanon)","ar_LY":"Arabic (Libya)","ar_MR":"Arabic (Mauritania)","ar_MA":"Arabic (Morocco)","ar_OM":"Arabic (Oman)","ar_PS":"Arabic (Palestinian Territories)","ar_QA":"Arabic (Qatar)","ar_SA":"Arabic (Saudi Arabia)","ar_SO":"Arabic (Somalia)","ar_SS":"Arabic (South Sudan)","ar_SD":"Arabic (Sudan)","ar_SY":"Arabic (Syria)","ar_TN":"Arabic (Tunisia)","ar_AE":"Arabic (United Arab Emirates)","ar_EH":"Arabic (Western Sahara)","ar_YE":"Arabic (Yemen)","hy_AM":"Armenian (Armenia)","as_IN":"Assamese (India)","az_AZ":"Azerbaijani (Azerbaijan)","az_Cyrl_AZ":"Azerbaijani (Cyrillic, Azerbaijan)","az_Cyrl":"Azerbaijani (Cyrillic)","az_Latn_AZ":"Azerbaijani (Latin, Azerbaijan)","az_Latn":"Azerbaijani (Latin)","bm_Latn_ML":"Bambara (Latin, Mali)","bm_Latn":"Bambara (Latin)","eu_ES":"Basque (Spain)","be_BY":"Belarusian (Belarus)","bn_BD":"Bengali (Bangladesh)","bn_IN":"Bengali (India)","bs_BA":"Bosnian (Bosnia & Herzegovina)","bs_Cyrl_BA":"Bosnian (Cyrillic, Bosnia & Herzegovina)","bs_Cyrl":"Bosnian (Cyrillic)","bs_Latn_BA":"Bosnian (Latin, Bosnia & Herzegovina)","bs_Latn":"Bosnian (Latin)","br_FR":"Breton (France)","bg_BG":"Bulgarian (Bulgaria)","my_MM":"Burmese (Myanmar (Burma))","ca_AD":"Catalan (Andorra)","ca_FR":"Catalan (France)","ca_IT":"Catalan (Italy)","ca_ES":"Catalan (Spain)","zh_CN":"Chinese (China)","zh_HK":"Chinese (Hong Kong SAR China)","zh_MO":"Chinese (Macau SAR China)","zh_Hans_CN":"Chinese (Simplified, China)","zh_Hans_HK":"Chinese (Simplified, Hong Kong SAR China)","zh_Hans_MO":"Chinese (Simplified, Macau SAR China)","zh_Hans_SG":"Chinese (Simplified, Singapore)","zh_Hans":"Chinese (Simplified)","zh_SG":"Chinese (Singapore)","zh_TW":"Chinese (Taiwan)","zh_Hant_HK":"Chinese (Traditional, Hong Kong SAR China)","zh_Hant_MO":"Chinese (Traditional, Macau SAR China)","zh_Hant_TW":"Chinese (Traditional, Taiwan)","zh_Hant":"Chinese (Traditional)","kw_GB":"Cornish (United Kingdom)","hr_BA":"Croatian (Bosnia & Herzegovina)","hr_HR":"Croatian (Croatia)","cs_CZ":"Czech (Czech Republic)","da_DK":"Danish (Denmark)","da_GL":"Danish (Greenland)","nl_AW":"Dutch (Aruba)","nl_BE":"Dutch (Belgium)","nl_BQ":"Dutch (Caribbean Netherlands)","nl_CW":"Dutch (Cura\u00e7ao)","nl_NL":"Dutch (Netherlands)","nl_SX":"Dutch (Sint Maarten)","nl_SR":"Dutch (Suriname)","dz_BT":"Dzongkha (Bhutan)","en_AS":"English (American Samoa)","en_AI":"English (Anguilla)","en_AG":"English (Antigua & Barbuda)","en_AU":"English (Australia)","en_BS":"English (Bahamas)","en_BB":"English (Barbados)","en_BE":"English (Belgium)","en_BZ":"English (Belize)","en_BM":"English (Bermuda)","en_BW":"English (Botswana)","en_IO":"English (British Indian Ocean Territory)","en_VG":"English (British Virgin Islands)","en_CM":"English (Cameroon)","en_CA":"English (Canada)","en_KY":"English (Cayman Islands)","en_CX":"English (Christmas Island)","en_CC":"English (Cocos (Keeling) Islands)","en_CK":"English (Cook Islands)","en_DG":"English (Diego Garcia)","en_DM":"English (Dominica)","en_ER":"English (Eritrea)","en_FK":"English (Falkland Islands)","en_FJ":"English (Fiji)","en_GM":"English (Gambia)","en_GH":"English (Ghana)","en_GI":"English (Gibraltar)","en_GD":"English (Grenada)","en_GU":"English (Guam)","en_GG":"English (Guernsey)","en_GY":"English (Guyana)","en_HK":"English (Hong Kong SAR China)","en_IN":"English (India)","en_IE":"English (Ireland)","en_IM":"English (Isle of Man)","en_JM":"English (Jamaica)","en_JE":"English (Jersey)","en_KE":"English (Kenya)","en_KI":"English (Kiribati)","en_LS":"English (Lesotho)","en_LR":"English (Liberia)","en_MO":"English (Macau SAR China)","en_MG":"English (Madagascar)","en_MW":"English (Malawi)","en_MY":"English (Malaysia)","en_MT":"English (Malta)","en_MH":"English (Marshall Islands)","en_MU":"English (Mauritius)","en_FM":"English (Micronesia)","en_MS":"English (Montserrat)","en_NA":"English (Namibia)","en_NR":"English (Nauru)","en_NZ":"English (New Zealand)","en_NG":"English (Nigeria)","en_NU":"English (Niue)","en_NF":"English (Norfolk Island)","en_MP":"English (Northern Mariana Islands)","en_PK":"English (Pakistan)","en_PW":"English (Palau)","en_PG":"English (Papua New Guinea)","en_PH":"English (Philippines)","en_PN":"English (Pitcairn Islands)","en_PR":"English (Puerto Rico)","en_RW":"English (Rwanda)","en_WS":"English (Samoa)","en_SC":"English (Seychelles)","en_SL":"English (Sierra Leone)","en_SG":"English (Singapore)","en_SX":"English (Sint Maarten)","en_SB":"English (Solomon Islands)","en_ZA":"English (South Africa)","en_SS":"English (South Sudan)","en_SH":"English (St. Helena)","en_KN":"English (St. Kitts & Nevis)","en_LC":"English (St. Lucia)","en_VC":"English (St. Vincent & Grenadines)","en_SD":"English (Sudan)","en_SZ":"English (Swaziland)","en_TZ":"English (Tanzania)","en_TK":"English (Tokelau)","en_TO":"English (Tonga)","en_TT":"English (Trinidad & Tobago)","en_TC":"English (Turks & Caicos Islands)","en_TV":"English (Tuvalu)","en_UM":"English (U.S. Outlying Islands)","en_VI":"English (U.S. Virgin Islands)","en_UG":"English (Uganda)","en_GB":"English (United Kingdom)","en_US":"English (United States)","en_VU":"English (Vanuatu)","en_ZM":"English (Zambia)","en_ZW":"English (Zimbabwe)","et_EE":"Estonian (Estonia)","ee_GH":"Ewe (Ghana)","ee_TG":"Ewe (Togo)","fo_FO":"Faroese (Faroe Islands)","fi_FI":"Finnish (Finland)","fr_DZ":"French (Algeria)","fr_BE":"French (Belgium)","fr_BJ":"French (Benin)","fr_BF":"French (Burkina Faso)","fr_BI":"French (Burundi)","fr_CM":"French (Cameroon)","fr_CA":"French (Canada)","fr_CF":"French (Central African Republic)","fr_TD":"French (Chad)","fr_KM":"French (Comoros)","fr_CG":"French (Congo - Brazzaville)","fr_CD":"French (Congo - Kinshasa)","fr_CI":"French (C\u00f4te d\u2019Ivoire)","fr_DJ":"French (Djibouti)","fr_GQ":"French (Equatorial Guinea)","fr_FR":"French (France)","fr_GF":"French (French Guiana)","fr_PF":"French (French Polynesia)","fr_GA":"French (Gabon)","fr_GP":"French (Guadeloupe)","fr_GN":"French (Guinea)","fr_HT":"French (Haiti)","fr_LU":"French (Luxembourg)","fr_MG":"French (Madagascar)","fr_ML":"French (Mali)","fr_MQ":"French (Martinique)","fr_MR":"French (Mauritania)","fr_MU":"French (Mauritius)","fr_YT":"French (Mayotte)","fr_MC":"French (Monaco)","fr_MA":"French (Morocco)","fr_NC":"French (New Caledonia)","fr_NE":"French (Niger)","fr_RE":"French (R\u00e9union)","fr_RW":"French (Rwanda)","fr_SN":"French (Senegal)","fr_SC":"French (Seychelles)","fr_BL":"French (St. Barth\u00e9lemy)","fr_MF":"French (St. Martin)","fr_PM":"French (St. Pierre & Miquelon)","fr_CH":"French (Switzerland)","fr_SY":"French (Syria)","fr_TG":"French (Togo)","fr_TN":"French (Tunisia)","fr_VU":"French (Vanuatu)","fr_WF":"French (Wallis & Futuna)","ff_CM":"Fulah (Cameroon)","ff_GN":"Fulah (Guinea)","ff_MR":"Fulah (Mauritania)","ff_SN":"Fulah (Senegal)","gl_ES":"Galician (Spain)","lg_UG":"Ganda (Uganda)","ka_GE":"Georgian (Georgia)","de_AT":"German (Austria)","de_BE":"German (Belgium)","de_DE":"German (Germany)","de_LI":"German (Liechtenstein)","de_LU":"German (Luxembourg)","de_CH":"German (Switzerland)","el_CY":"Greek (Cyprus)","el_GR":"Greek (Greece)","gu_IN":"Gujarati (India)","ha_GH":"Hausa (Ghana)","ha_Latn_GH":"Hausa (Latin, Ghana)","ha_Latn_NE":"Hausa (Latin, Niger)","ha_Latn_NG":"Hausa (Latin, Nigeria)","ha_Latn":"Hausa (Latin)","ha_NE":"Hausa (Niger)","ha_NG":"Hausa (Nigeria)","he_IL":"Hebrew (Israel)","hi_IN":"Hindi (India)","hu_HU":"Hungarian (Hungary)","is_IS":"Icelandic (Iceland)","ig_NG":"Igbo (Nigeria)","id_ID":"Indonesian (Indonesia)","ga_IE":"Irish (Ireland)","it_IT":"Italian (Italy)","it_SM":"Italian (San Marino)","it_CH":"Italian (Switzerland)","ja_JP":"Japanese (Japan)","kl_GL":"Kalaallisut (Greenland)","kn_IN":"Kannada (India)","ks_Arab_IN":"Kashmiri (Arabic, India)","ks_Arab":"Kashmiri (Arabic)","ks_IN":"Kashmiri (India)","kk_Cyrl_KZ":"Kazakh (Cyrillic, Kazakhstan)","kk_Cyrl":"Kazakh (Cyrillic)","kk_KZ":"Kazakh (Kazakhstan)","km_KH":"Khmer (Cambodia)","ki_KE":"Kikuyu (Kenya)","rw_RW":"Kinyarwanda (Rwanda)","ko_KP":"Korean (North Korea)","ko_KR":"Korean (South Korea)","ky_Cyrl_KG":"Kyrgyz (Cyrillic, Kyrgyzstan)","ky_Cyrl":"Kyrgyz (Cyrillic)","ky_KG":"Kyrgyz (Kyrgyzstan)","lo_LA":"Lao (Laos)","lv_LV":"Latvian (Latvia)","ln_AO":"Lingala (Angola)","ln_CF":"Lingala (Central African Republic)","ln_CG":"Lingala (Congo - Brazzaville)","ln_CD":"Lingala (Congo - Kinshasa)","lt_LT":"Lithuanian (Lithuania)","lu_CD":"Luba-Katanga (Congo - Kinshasa)","lb_LU":"Luxembourgish (Luxembourg)","mk_MK":"Macedonian (Macedonia)","mg_MG":"Malagasy (Madagascar)","ms_BN":"Malay (Brunei)","ms_Latn_BN":"Malay (Latin, Brunei)","ms_Latn_MY":"Malay (Latin, Malaysia)","ms_Latn_SG":"Malay (Latin, Singapore)","ms_Latn":"Malay (Latin)","ms_MY":"Malay (Malaysia)","ms_SG":"Malay (Singapore)","ml_IN":"Malayalam (India)","mt_MT":"Maltese (Malta)","gv_IM":"Manx (Isle of Man)","mr_IN":"Marathi (India)","mn_Cyrl_MN":"Mongolian (Cyrillic, Mongolia)","mn_Cyrl":"Mongolian (Cyrillic)","mn_MN":"Mongolian (Mongolia)","ne_IN":"Nepali (India)","ne_NP":"Nepali (Nepal)","nd_ZW":"North Ndebele (Zimbabwe)","se_FI":"Northern Sami (Finland)","se_NO":"Northern Sami (Norway)","se_SE":"Northern Sami (Sweden)","no_NO":"Norwegian (Norway)","nb_NO":"Norwegian Bokm\u00e5l (Norway)","nb_SJ":"Norwegian Bokm\u00e5l (Svalbard & Jan Mayen)","nn_NO":"Norwegian Nynorsk (Norway)","or_IN":"Oriya (India)","om_ET":"Oromo (Ethiopia)","om_KE":"Oromo (Kenya)","os_GE":"Ossetic (Georgia)","os_RU":"Ossetic (Russia)","ps_AF":"Pashto (Afghanistan)","fa_AF":"Persian (Afghanistan)","fa_IR":"Persian (Iran)","pl_PL":"Polish (Poland)","pt_AO":"Portuguese (Angola)","pt_BR":"Portuguese (Brazil)","pt_CV":"Portuguese (Cape Verde)","pt_GW":"Portuguese (Guinea-Bissau)","pt_MO":"Portuguese (Macau SAR China)","pt_MZ":"Portuguese (Mozambique)","pt_PT":"Portuguese (Portugal)","pt_ST":"Portuguese (S\u00e3o Tom\u00e9 & Pr\u00edncipe)","pt_TL":"Portuguese (Timor-Leste)","pa_Arab_PK":"Punjabi (Arabic, Pakistan)","pa_Arab":"Punjabi (Arabic)","pa_Guru_IN":"Punjabi (Gurmukhi, India)","pa_Guru":"Punjabi (Gurmukhi)","pa_IN":"Punjabi (India)","pa_PK":"Punjabi (Pakistan)","qu_BO":"Quechua (Bolivia)","qu_EC":"Quechua (Ecuador)","qu_PE":"Quechua (Peru)","ro_MD":"Romanian (Moldova)","ro_RO":"Romanian (Romania)","rm_CH":"Romansh (Switzerland)","rn_BI":"Rundi (Burundi)","ru_BY":"Russian (Belarus)","ru_KZ":"Russian (Kazakhstan)","ru_KG":"Russian (Kyrgyzstan)","ru_MD":"Russian (Moldova)","ru_RU":"Russian (Russia)","ru_UA":"Russian (Ukraine)","sg_CF":"Sango (Central African Republic)","gd_GB":"Scottish Gaelic (United Kingdom)","sr_BA":"Serbian (Bosnia & Herzegovina)","sr_Cyrl_BA":"Serbian (Cyrillic, Bosnia & Herzegovina)","sr_Cyrl_XK":"Serbian (Cyrillic, Kosovo)","sr_Cyrl_ME":"Serbian (Cyrillic, Montenegro)","sr_Cyrl_RS":"Serbian (Cyrillic, Serbia)","sr_Cyrl":"Serbian (Cyrillic)","sr_XK":"Serbian (Kosovo)","sr_Latn_BA":"Serbian (Latin, Bosnia & Herzegovina)","sr_Latn_XK":"Serbian (Latin, Kosovo)","sr_Latn_ME":"Serbian (Latin, Montenegro)","sr_Latn_RS":"Serbian (Latin, Serbia)","sr_Latn":"Serbian (Latin)","sr_ME":"Serbian (Montenegro)","sr_RS":"Serbian (Serbia)","sh_BA":"Serbo-Croatian (Bosnia & Herzegovina)","sn_ZW":"Shona (Zimbabwe)","ii_CN":"Sichuan Yi (China)","si_LK":"Sinhala (Sri Lanka)","sk_SK":"Slovak (Slovakia)","sl_SI":"Slovenian (Slovenia)","so_DJ":"Somali (Djibouti)","so_ET":"Somali (Ethiopia)","so_KE":"Somali (Kenya)","so_SO":"Somali (Somalia)","es_AR":"Spanish (Argentina)","es_BO":"Spanish (Bolivia)","es_IC":"Spanish (Canary Islands)","es_EA":"Spanish (Ceuta & Melilla)","es_CL":"Spanish (Chile)","es_CO":"Spanish (Colombia)","es_CR":"Spanish (Costa Rica)","es_CU":"Spanish (Cuba)","es_DO":"Spanish (Dominican Republic)","es_EC":"Spanish (Ecuador)","es_SV":"Spanish (El Salvador)","es_GQ":"Spanish (Equatorial Guinea)","es_GT":"Spanish (Guatemala)","es_HN":"Spanish (Honduras)","es_MX":"Spanish (Mexico)","es_NI":"Spanish (Nicaragua)","es_PA":"Spanish (Panama)","es_PY":"Spanish (Paraguay)","es_PE":"Spanish (Peru)","es_PH":"Spanish (Philippines)","es_PR":"Spanish (Puerto Rico)","es_ES":"Spanish (Spain)","es_US":"Spanish (United States)","es_UY":"Spanish (Uruguay)","es_VE":"Spanish (Venezuela)","sw_KE":"Swahili (Kenya)","sw_TZ":"Swahili (Tanzania)","sw_UG":"Swahili (Uganda)","sv_AX":"Swedish (\u00c5land Islands)","sv_FI":"Swedish (Finland)","sv_SE":"Swedish (Sweden)","tl_PH":"Tagalog (Philippines)","ta_IN":"Tamil (India)","ta_MY":"Tamil (Malaysia)","ta_SG":"Tamil (Singapore)","ta_LK":"Tamil (Sri Lanka)","te_IN":"Telugu (India)","th_TH":"Thai (Thailand)","bo_CN":"Tibetan (China)","bo_IN":"Tibetan (India)","ti_ER":"Tigrinya (Eritrea)","ti_ET":"Tigrinya (Ethiopia)","to_TO":"Tongan (Tonga)","tr_CY":"Turkish (Cyprus)","tr_TR":"Turkish (Turkey)","uk_UA":"Ukrainian (Ukraine)","ur_IN":"Urdu (India)","ur_PK":"Urdu (Pakistan)","ug_Arab_CN":"Uyghur (Arabic, China)","ug_Arab":"Uyghur (Arabic)","ug_CN":"Uyghur (China)","uz_AF":"Uzbek (Afghanistan)","uz_Arab_AF":"Uzbek (Arabic, Afghanistan)","uz_Arab":"Uzbek (Arabic)","uz_Cyrl_UZ":"Uzbek (Cyrillic, Uzbekistan)","uz_Cyrl":"Uzbek (Cyrillic)","uz_Latn_UZ":"Uzbek (Latin, Uzbekistan)","uz_Latn":"Uzbek (Latin)","uz_UZ":"Uzbek (Uzbekistan)","vi_VN":"Vietnamese (Vietnam)","cy_GB":"Welsh (United Kingdom)","fy_NL":"Western Frisian (Netherlands)","yo_BJ":"Yoruba (Benin)","yo_NG":"Yoruba (Nigeria)","zu_ZA":"Zulu (South Africa)"} \ No newline at end of file +{ + "af_NA": "Afrikaans (Namibia)", + "af_ZA": "Afrikaans (South Africa)", + "ak_GH": "Akan (Ghana)", + "sq_AL": "Albanian (Albania)", + "sq_XK": "Albanian (Kosovo)", + "sq_MK": "Albanian (Macedonia)", + "am_ET": "Amharic (Ethiopia)", + "ar_DZ": "Arabic (Algeria)", + "ar_BH": "Arabic (Bahrain)", + "ar_TD": "Arabic (Chad)", + "ar_KM": "Arabic (Comoros)", + "ar_DJ": "Arabic (Djibouti)", + "ar_EG": "Arabic (Egypt)", + "ar_ER": "Arabic (Eritrea)", + "ar_IQ": "Arabic (Iraq)", + "ar_IL": "Arabic (Israel)", + "ar_JO": "Arabic (Jordan)", + "ar_KW": "Arabic (Kuwait)", + "ar_LB": "Arabic (Lebanon)", + "ar_LY": "Arabic (Libya)", + "ar_MR": "Arabic (Mauritania)", + "ar_MA": "Arabic (Morocco)", + "ar_OM": "Arabic (Oman)", + "ar_PS": "Arabic (Palestinian Territories)", + "ar_QA": "Arabic (Qatar)", + "ar_SA": "Arabic (Saudi Arabia)", + "ar_SO": "Arabic (Somalia)", + "ar_SS": "Arabic (South Sudan)", + "ar_SD": "Arabic (Sudan)", + "ar_SY": "Arabic (Syria)", + "ar_TN": "Arabic (Tunisia)", + "ar_AE": "Arabic (United Arab Emirates)", + "ar_EH": "Arabic (Western Sahara)", + "ar_YE": "Arabic (Yemen)", + "hy_AM": "Armenian (Armenia)", + "as_IN": "Assamese (India)", + "az_AZ": "Azerbaijani (Azerbaijan)", + "az_Cyrl_AZ": "Azerbaijani (Cyrillic, Azerbaijan)", + "az_Cyrl": "Azerbaijani (Cyrillic)", + "az_Latn_AZ": "Azerbaijani (Latin, Azerbaijan)", + "az_Latn": "Azerbaijani (Latin)", + "bm_Latn_ML": "Bambara (Latin, Mali)", + "bm_Latn": "Bambara (Latin)", + "eu_ES": "Basque (Spain)", + "be_BY": "Belarusian (Belarus)", + "bn_BD": "Bengali (Bangladesh)", + "bn_IN": "Bengali (India)", + "bs_BA": "Bosnian (Bosnia & Herzegovina)", + "bs_Cyrl_BA": "Bosnian (Cyrillic, Bosnia & Herzegovina)", + "bs_Cyrl": "Bosnian (Cyrillic)", + "bs_Latn_BA": "Bosnian (Latin, Bosnia & Herzegovina)", + "bs_Latn": "Bosnian (Latin)", + "br_FR": "Breton (France)", + "bg_BG": "Bulgarian (Bulgaria)", + "my_MM": "Burmese (Myanmar (Burma))", + "ca_AD": "Catalan (Andorra)", + "ca_FR": "Catalan (France)", + "ca_IT": "Catalan (Italy)", + "ca_ES": "Catalan (Spain)", + "zh_CN": "Chinese (China)", + "zh_HK": "Chinese (Hong Kong SAR China)", + "zh_MO": "Chinese (Macau SAR China)", + "zh_Hans_CN": "Chinese (Simplified, China)", + "zh_Hans_HK": "Chinese (Simplified, Hong Kong SAR China)", + "zh_Hans_MO": "Chinese (Simplified, Macau SAR China)", + "zh_Hans_SG": "Chinese (Simplified, Singapore)", + "zh_Hans": "Chinese (Simplified)", + "zh_SG": "Chinese (Singapore)", + "zh_TW": "Chinese (Taiwan)", + "zh_Hant_HK": "Chinese (Traditional, Hong Kong SAR China)", + "zh_Hant_MO": "Chinese (Traditional, Macau SAR China)", + "zh_Hant_TW": "Chinese (Traditional, Taiwan)", + "zh_Hant": "Chinese (Traditional)", + "kw_GB": "Cornish (United Kingdom)", + "hr_BA": "Croatian (Bosnia & Herzegovina)", + "hr_HR": "Croatian (Croatia)", + "cs_CZ": "Czech (Czech Republic)", + "da_DK": "Danish (Denmark)", + "da_GL": "Danish (Greenland)", + "nl_AW": "Dutch (Aruba)", + "nl_BE": "Dutch (Belgium)", + "nl_BQ": "Dutch (Caribbean Netherlands)", + "nl_CW": "Dutch (Cura\u00e7ao)", + "nl_NL": "Dutch (Netherlands)", + "nl_SX": "Dutch (Sint Maarten)", + "nl_SR": "Dutch (Suriname)", + "dz_BT": "Dzongkha (Bhutan)", + "en_AS": "English (American Samoa)", + "en_AI": "English (Anguilla)", + "en_AG": "English (Antigua & Barbuda)", + "en_AU": "English (Australia)", + "en_BS": "English (Bahamas)", + "en_BB": "English (Barbados)", + "en_BE": "English (Belgium)", + "en_BZ": "English (Belize)", + "en_BM": "English (Bermuda)", + "en_BW": "English (Botswana)", + "en_IO": "English (British Indian Ocean Territory)", + "en_VG": "English (British Virgin Islands)", + "en_CM": "English (Cameroon)", + "en_CA": "English (Canada)", + "en_KY": "English (Cayman Islands)", + "en_CX": "English (Christmas Island)", + "en_CC": "English (Cocos (Keeling) Islands)", + "en_CK": "English (Cook Islands)", + "en_DG": "English (Diego Garcia)", + "en_DM": "English (Dominica)", + "en_ER": "English (Eritrea)", + "en_FK": "English (Falkland Islands)", + "en_FJ": "English (Fiji)", + "en_GM": "English (Gambia)", + "en_GH": "English (Ghana)", + "en_GI": "English (Gibraltar)", + "en_GD": "English (Grenada)", + "en_GU": "English (Guam)", + "en_GG": "English (Guernsey)", + "en_GY": "English (Guyana)", + "en_HK": "English (Hong Kong SAR China)", + "en_IN": "English (India)", + "en_IE": "English (Ireland)", + "en_IM": "English (Isle of Man)", + "en_JM": "English (Jamaica)", + "en_JE": "English (Jersey)", + "en_KE": "English (Kenya)", + "en_KI": "English (Kiribati)", + "en_LS": "English (Lesotho)", + "en_LR": "English (Liberia)", + "en_MO": "English (Macau SAR China)", + "en_MG": "English (Madagascar)", + "en_MW": "English (Malawi)", + "en_MY": "English (Malaysia)", + "en_MT": "English (Malta)", + "en_MH": "English (Marshall Islands)", + "en_MU": "English (Mauritius)", + "en_FM": "English (Micronesia)", + "en_MS": "English (Montserrat)", + "en_NA": "English (Namibia)", + "en_NR": "English (Nauru)", + "en_NZ": "English (New Zealand)", + "en_NG": "English (Nigeria)", + "en_NU": "English (Niue)", + "en_NF": "English (Norfolk Island)", + "en_MP": "English (Northern Mariana Islands)", + "en_PK": "English (Pakistan)", + "en_PW": "English (Palau)", + "en_PG": "English (Papua New Guinea)", + "en_PH": "English (Philippines)", + "en_PN": "English (Pitcairn Islands)", + "en_PR": "English (Puerto Rico)", + "en_RW": "English (Rwanda)", + "en_WS": "English (Samoa)", + "en_SC": "English (Seychelles)", + "en_SL": "English (Sierra Leone)", + "en_SG": "English (Singapore)", + "en_SX": "English (Sint Maarten)", + "en_SB": "English (Solomon Islands)", + "en_ZA": "English (South Africa)", + "en_SS": "English (South Sudan)", + "en_SH": "English (St. Helena)", + "en_KN": "English (St. Kitts & Nevis)", + "en_LC": "English (St. Lucia)", + "en_VC": "English (St. Vincent & Grenadines)", + "en_SD": "English (Sudan)", + "en_SZ": "English (Swaziland)", + "en_TZ": "English (Tanzania)", + "en_TK": "English (Tokelau)", + "en_TO": "English (Tonga)", + "en_TT": "English (Trinidad & Tobago)", + "en_TC": "English (Turks & Caicos Islands)", + "en_TV": "English (Tuvalu)", + "en_UM": "English (U.S. Outlying Islands)", + "en_VI": "English (U.S. Virgin Islands)", + "en_UG": "English (Uganda)", + "en_GB": "English (United Kingdom)", + "en_US": "English (United States)", + "en_VU": "English (Vanuatu)", + "en_ZM": "English (Zambia)", + "en_ZW": "English (Zimbabwe)", + "et_EE": "Estonian (Estonia)", + "ee_GH": "Ewe (Ghana)", + "ee_TG": "Ewe (Togo)", + "fo_FO": "Faroese (Faroe Islands)", + "fi_FI": "Finnish (Finland)", + "fr_DZ": "French (Algeria)", + "fr_BE": "French (Belgium)", + "fr_BJ": "French (Benin)", + "fr_BF": "French (Burkina Faso)", + "fr_BI": "French (Burundi)", + "fr_CM": "French (Cameroon)", + "fr_CA": "French (Canada)", + "fr_CF": "French (Central African Republic)", + "fr_TD": "French (Chad)", + "fr_KM": "French (Comoros)", + "fr_CG": "French (Congo - Brazzaville)", + "fr_CD": "French (Congo - Kinshasa)", + "fr_CI": "French (C\u00f4te d\u2019Ivoire)", + "fr_DJ": "French (Djibouti)", + "fr_GQ": "French (Equatorial Guinea)", + "fr_FR": "French (France)", + "fr_GF": "French (French Guiana)", + "fr_PF": "French (French Polynesia)", + "fr_GA": "French (Gabon)", + "fr_GP": "French (Guadeloupe)", + "fr_GN": "French (Guinea)", + "fr_HT": "French (Haiti)", + "fr_LU": "French (Luxembourg)", + "fr_MG": "French (Madagascar)", + "fr_ML": "French (Mali)", + "fr_MQ": "French (Martinique)", + "fr_MR": "French (Mauritania)", + "fr_MU": "French (Mauritius)", + "fr_YT": "French (Mayotte)", + "fr_MC": "French (Monaco)", + "fr_MA": "French (Morocco)", + "fr_NC": "French (New Caledonia)", + "fr_NE": "French (Niger)", + "fr_RE": "French (R\u00e9union)", + "fr_RW": "French (Rwanda)", + "fr_SN": "French (Senegal)", + "fr_SC": "French (Seychelles)", + "fr_BL": "French (St. Barth\u00e9lemy)", + "fr_MF": "French (St. Martin)", + "fr_PM": "French (St. Pierre & Miquelon)", + "fr_CH": "French (Switzerland)", + "fr_SY": "French (Syria)", + "fr_TG": "French (Togo)", + "fr_TN": "French (Tunisia)", + "fr_VU": "French (Vanuatu)", + "fr_WF": "French (Wallis & Futuna)", + "ff_CM": "Fulah (Cameroon)", + "ff_GN": "Fulah (Guinea)", + "ff_MR": "Fulah (Mauritania)", + "ff_SN": "Fulah (Senegal)", + "gl_ES": "Galician (Spain)", + "lg_UG": "Ganda (Uganda)", + "ka_GE": "Georgian (Georgia)", + "de_AT": "German (Austria)", + "de_BE": "German (Belgium)", + "de_DE": "German (Germany)", + "de_LI": "German (Liechtenstein)", + "de_LU": "German (Luxembourg)", + "de_CH": "German (Switzerland)", + "el_CY": "Greek (Cyprus)", + "el_GR": "Greek (Greece)", + "gu_IN": "Gujarati (India)", + "ha_GH": "Hausa (Ghana)", + "ha_Latn_GH": "Hausa (Latin, Ghana)", + "ha_Latn_NE": "Hausa (Latin, Niger)", + "ha_Latn_NG": "Hausa (Latin, Nigeria)", + "ha_Latn": "Hausa (Latin)", + "ha_NE": "Hausa (Niger)", + "ha_NG": "Hausa (Nigeria)", + "he_IL": "Hebrew (Israel)", + "hi_IN": "Hindi (India)", + "hu_HU": "Hungarian (Hungary)", + "is_IS": "Icelandic (Iceland)", + "ig_NG": "Igbo (Nigeria)", + "id_ID": "Indonesian (Indonesia)", + "ga_IE": "Irish (Ireland)", + "it_IT": "Italian (Italy)", + "it_SM": "Italian (San Marino)", + "it_CH": "Italian (Switzerland)", + "ja_JP": "Japanese (Japan)", + "kl_GL": "Kalaallisut (Greenland)", + "kn_IN": "Kannada (India)", + "ks_Arab_IN": "Kashmiri (Arabic, India)", + "ks_Arab": "Kashmiri (Arabic)", + "ks_IN": "Kashmiri (India)", + "kk_Cyrl_KZ": "Kazakh (Cyrillic, Kazakhstan)", + "kk_Cyrl": "Kazakh (Cyrillic)", + "kk_KZ": "Kazakh (Kazakhstan)", + "km_KH": "Khmer (Cambodia)", + "ki_KE": "Kikuyu (Kenya)", + "rw_RW": "Kinyarwanda (Rwanda)", + "ko_KP": "Korean (North Korea)", + "ko_KR": "Korean (South Korea)", + "ky_Cyrl_KG": "Kyrgyz (Cyrillic, Kyrgyzstan)", + "ky_Cyrl": "Kyrgyz (Cyrillic)", + "ky_KG": "Kyrgyz (Kyrgyzstan)", + "lo_LA": "Lao (Laos)", + "lv_LV": "Latvian (Latvia)", + "ln_AO": "Lingala (Angola)", + "ln_CF": "Lingala (Central African Republic)", + "ln_CG": "Lingala (Congo - Brazzaville)", + "ln_CD": "Lingala (Congo - Kinshasa)", + "lt_LT": "Lithuanian (Lithuania)", + "lu_CD": "Luba-Katanga (Congo - Kinshasa)", + "lb_LU": "Luxembourgish (Luxembourg)", + "mk_MK": "Macedonian (Macedonia)", + "mg_MG": "Malagasy (Madagascar)", + "ms_BN": "Malay (Brunei)", + "ms_Latn_BN": "Malay (Latin, Brunei)", + "ms_Latn_MY": "Malay (Latin, Malaysia)", + "ms_Latn_SG": "Malay (Latin, Singapore)", + "ms_Latn": "Malay (Latin)", + "ms_MY": "Malay (Malaysia)", + "ms_SG": "Malay (Singapore)", + "ml_IN": "Malayalam (India)", + "mt_MT": "Maltese (Malta)", + "gv_IM": "Manx (Isle of Man)", + "mr_IN": "Marathi (India)", + "mn_Cyrl_MN": "Mongolian (Cyrillic, Mongolia)", + "mn_Cyrl": "Mongolian (Cyrillic)", + "mn_MN": "Mongolian (Mongolia)", + "ne_IN": "Nepali (India)", + "ne_NP": "Nepali (Nepal)", + "nd_ZW": "North Ndebele (Zimbabwe)", + "se_FI": "Northern Sami (Finland)", + "se_NO": "Northern Sami (Norway)", + "se_SE": "Northern Sami (Sweden)", + "no_NO": "Norwegian (Norway)", + "nb_NO": "Norwegian Bokm\u00e5l (Norway)", + "nb_SJ": "Norwegian Bokm\u00e5l (Svalbard & Jan Mayen)", + "nn_NO": "Norwegian Nynorsk (Norway)", + "or_IN": "Oriya (India)", + "om_ET": "Oromo (Ethiopia)", + "om_KE": "Oromo (Kenya)", + "os_GE": "Ossetic (Georgia)", + "os_RU": "Ossetic (Russia)", + "ps_AF": "Pashto (Afghanistan)", + "fa_AF": "Persian (Afghanistan)", + "fa_IR": "Persian (Iran)", + "pl_PL": "Polish (Poland)", + "pt_AO": "Portuguese (Angola)", + "pt_BR": "Portuguese (Brazil)", + "pt_CV": "Portuguese (Cape Verde)", + "pt_GW": "Portuguese (Guinea-Bissau)", + "pt_MO": "Portuguese (Macau SAR China)", + "pt_MZ": "Portuguese (Mozambique)", + "pt_PT": "Portuguese (Portugal)", + "pt_ST": "Portuguese (S\u00e3o Tom\u00e9 & Pr\u00edncipe)", + "pt_TL": "Portuguese (Timor-Leste)", + "pa_Arab_PK": "Punjabi (Arabic, Pakistan)", + "pa_Arab": "Punjabi (Arabic)", + "pa_Guru_IN": "Punjabi (Gurmukhi, India)", + "pa_Guru": "Punjabi (Gurmukhi)", + "pa_IN": "Punjabi (India)", + "pa_PK": "Punjabi (Pakistan)", + "qu_BO": "Quechua (Bolivia)", + "qu_EC": "Quechua (Ecuador)", + "qu_PE": "Quechua (Peru)", + "ro_MD": "Romanian (Moldova)", + "ro_RO": "Romanian (Romania)", + "rm_CH": "Romansh (Switzerland)", + "rn_BI": "Rundi (Burundi)", + "ru_BY": "Russian (Belarus)", + "ru_KZ": "Russian (Kazakhstan)", + "ru_KG": "Russian (Kyrgyzstan)", + "ru_MD": "Russian (Moldova)", + "ru_RU": "Russian (Russia)", + "ru_UA": "Russian (Ukraine)", + "sg_CF": "Sango (Central African Republic)", + "gd_GB": "Scottish Gaelic (United Kingdom)", + "sr_BA": "Serbian (Bosnia & Herzegovina)", + "sr_Cyrl_BA": "Serbian (Cyrillic, Bosnia & Herzegovina)", + "sr_Cyrl_XK": "Serbian (Cyrillic, Kosovo)", + "sr_Cyrl_ME": "Serbian (Cyrillic, Montenegro)", + "sr_Cyrl_RS": "Serbian (Cyrillic, Serbia)", + "sr_Cyrl": "Serbian (Cyrillic)", + "sr_XK": "Serbian (Kosovo)", + "sr_Latn_BA": "Serbian (Latin, Bosnia & Herzegovina)", + "sr_Latn_XK": "Serbian (Latin, Kosovo)", + "sr_Latn_ME": "Serbian (Latin, Montenegro)", + "sr_Latn_RS": "Serbian (Latin, Serbia)", + "sr_Latn": "Serbian (Latin)", + "sr_ME": "Serbian (Montenegro)", + "sr_RS": "Serbian (Serbia)", + "sh_BA": "Serbo-Croatian (Bosnia & Herzegovina)", + "sn_ZW": "Shona (Zimbabwe)", + "ii_CN": "Sichuan Yi (China)", + "si_LK": "Sinhala (Sri Lanka)", + "sk_SK": "Slovak (Slovakia)", + "sl_SI": "Slovenian (Slovenia)", + "so_DJ": "Somali (Djibouti)", + "so_ET": "Somali (Ethiopia)", + "so_KE": "Somali (Kenya)", + "so_SO": "Somali (Somalia)", + "es_AR": "Spanish (Argentina)", + "es_BO": "Spanish (Bolivia)", + "es_IC": "Spanish (Canary Islands)", + "es_EA": "Spanish (Ceuta & Melilla)", + "es_CL": "Spanish (Chile)", + "es_CO": "Spanish (Colombia)", + "es_CR": "Spanish (Costa Rica)", + "es_CU": "Spanish (Cuba)", + "es_DO": "Spanish (Dominican Republic)", + "es_EC": "Spanish (Ecuador)", + "es_SV": "Spanish (El Salvador)", + "es_GQ": "Spanish (Equatorial Guinea)", + "es_GT": "Spanish (Guatemala)", + "es_HN": "Spanish (Honduras)", + "es_MX": "Spanish (Mexico)", + "es_NI": "Spanish (Nicaragua)", + "es_PA": "Spanish (Panama)", + "es_PY": "Spanish (Paraguay)", + "es_PE": "Spanish (Peru)", + "es_PH": "Spanish (Philippines)", + "es_PR": "Spanish (Puerto Rico)", + "es_ES": "Spanish (Spain)", + "es_US": "Spanish (United States)", + "es_UY": "Spanish (Uruguay)", + "es_VE": "Spanish (Venezuela)", + "sw_KE": "Swahili (Kenya)", + "sw_TZ": "Swahili (Tanzania)", + "sw_UG": "Swahili (Uganda)", + "sv_AX": "Swedish (\u00c5land Islands)", + "sv_FI": "Swedish (Finland)", + "sv_SE": "Swedish (Sweden)", + "tl_PH": "Tagalog (Philippines)", + "ta_IN": "Tamil (India)", + "ta_MY": "Tamil (Malaysia)", + "ta_SG": "Tamil (Singapore)", + "ta_LK": "Tamil (Sri Lanka)", + "te_IN": "Telugu (India)", + "th_TH": "Thai (Thailand)", + "bo_CN": "Tibetan (China)", + "bo_IN": "Tibetan (India)", + "ti_ER": "Tigrinya (Eritrea)", + "ti_ET": "Tigrinya (Ethiopia)", + "to_TO": "Tongan (Tonga)", + "tr_CY": "Turkish (Cyprus)", + "tr_TR": "Turkish (Turkey)", + "uk_UA": "Ukrainian (Ukraine)", + "ur_IN": "Urdu (India)", + "ur_PK": "Urdu (Pakistan)", + "ug_Arab_CN": "Uyghur (Arabic, China)", + "ug_Arab": "Uyghur (Arabic)", + "ug_CN": "Uyghur (China)", + "uz_AF": "Uzbek (Afghanistan)", + "uz_Arab_AF": "Uzbek (Arabic, Afghanistan)", + "uz_Arab": "Uzbek (Arabic)", + "uz_Cyrl_UZ": "Uzbek (Cyrillic, Uzbekistan)", + "uz_Cyrl": "Uzbek (Cyrillic)", + "uz_Latn_UZ": "Uzbek (Latin, Uzbekistan)", + "uz_Latn": "Uzbek (Latin)", + "uz_UZ": "Uzbek (Uzbekistan)", + "vi_VN": "Vietnamese (Vietnam)", + "cy_GB": "Welsh (United Kingdom)", + "fy_NL": "Western Frisian (Netherlands)", + "yo_BJ": "Yoruba (Benin)", + "yo_NG": "Yoruba (Nigeria)", + "zu_ZA": "Zulu (South Africa)" +} \ No newline at end of file diff --git a/routes/api-noauth.php b/routes/api-noauth.php index b3012655c8..9c15b861ed 100644 --- a/routes/api-noauth.php +++ b/routes/api-noauth.php @@ -24,8 +24,8 @@ declare(strict_types=1); // Cron job API routes: Route::group( [ - 'namespace' => 'FireflyIII\Api\V1\Controllers\System', 'prefix' => '', - 'as' => 'api.v1.cron.'], + 'namespace' => 'FireflyIII\Api\V1\Controllers\System', 'prefix' => '', + 'as' => 'api.v1.cron.'], static function () { Route::get('{cliToken}', ['uses' => 'CronController@cron', 'as' => 'index']); } diff --git a/routes/api.php b/routes/api.php index 08f39771ce..8744b83ae2 100644 --- a/routes/api.php +++ b/routes/api.php @@ -21,7 +21,6 @@ */ declare(strict_types=1); -use FireflyIII\Http\Middleware\IsAdmin; /** * Autocomplete controllers diff --git a/routes/breadcrumbs.php b/routes/breadcrumbs.php index ff7f4df4a4..badcc9e06d 100644 --- a/routes/breadcrumbs.php +++ b/routes/breadcrumbs.php @@ -54,10 +54,10 @@ if (!function_exists('limitStringLength')) { function limitStringLength(string $string): string { $maxChars = 75; - $length = \strlen($string); + $length = strlen($string); $result = $string; if ($length > $maxChars) { - $result = substr_replace($string, ' ... ', (int)($maxChars / 2), $length - $maxChars); + $result = substr_replace($string, ' ... ', (int) ($maxChars / 2), $length - $maxChars); } return $result; @@ -114,8 +114,8 @@ try { if (null !== $start && null !== $end) { $title = trans( 'firefly.between_dates_breadcrumb', - ['start' => $start->isoFormat((string)trans('config.month_and_day_js')), - 'end' => $end->isoFormat((string)trans('config.month_and_day_js')),] + ['start' => $start->isoFormat((string) trans('config.month_and_day_js')), + 'end' => $end->isoFormat((string) trans('config.month_and_day_js')),] ); $breadcrumbs->push($title, route('accounts.show', $account)); } @@ -443,8 +443,8 @@ try { if (null !== $start && null !== $end) { $title = trans( 'firefly.between_dates_breadcrumb', - ['start' => $start->isoFormat((string)trans('config.month_and_day_js')), - 'end' => $end->isoFormat((string)trans('config.month_and_day_js')),] + ['start' => $start->isoFormat((string) trans('config.month_and_day_js')), + 'end' => $end->isoFormat((string) trans('config.month_and_day_js')),] ); $breadcrumbs->push($title, route('budgets.no-budget')); } @@ -477,8 +477,8 @@ try { $title = trans( 'firefly.between_dates_breadcrumb', - ['start' => $budgetLimit->start_date->isoFormat((string)trans('config.month_and_day_js')), - 'end' => $budgetLimit->end_date->isoFormat((string)trans('config.month_and_day_js')),] + ['start' => $budgetLimit->start_date->isoFormat((string) trans('config.month_and_day_js')), + 'end' => $budgetLimit->end_date->isoFormat((string) trans('config.month_and_day_js')),] ); $breadcrumbs->push( @@ -527,8 +527,8 @@ try { if (null !== $start && null !== $end) { $title = trans( 'firefly.between_dates_breadcrumb', - ['start' => $start->isoFormat((string)trans('config.month_and_day_js')), - 'end' => $end->isoFormat((string)trans('config.month_and_day_js')),] + ['start' => $start->isoFormat((string) trans('config.month_and_day_js')), + 'end' => $end->isoFormat((string) trans('config.month_and_day_js')),] ); $breadcrumbs->push($title, route('categories.show', [$category->id])); } @@ -552,8 +552,8 @@ try { if (null !== $start && null !== $end) { $title = trans( 'firefly.between_dates_breadcrumb', - ['start' => $start->isoFormat((string)trans('config.month_and_day_js')), - 'end' => $end->isoFormat((string)trans('config.month_and_day_js')),] + ['start' => $start->isoFormat((string) trans('config.month_and_day_js')), + 'end' => $end->isoFormat((string) trans('config.month_and_day_js')),] ); $breadcrumbs->push($title, route('categories.no-category')); } @@ -747,10 +747,10 @@ try { static function (Generator $breadcrumbs, string $accountIds, Carbon $start, Carbon $end) { $breadcrumbs->parent('reports.index'); - $monthFormat = (string)trans('config.month_and_day_js'); + $monthFormat = (string) trans('config.month_and_day_js'); $startString = $start->isoFormat($monthFormat); $endString = $end->isoFormat($monthFormat); - $title = (string)trans('firefly.report_audit', ['start' => $startString, 'end' => $endString]); + $title = (string) trans('firefly.report_audit', ['start' => $startString, 'end' => $endString]); $breadcrumbs->push($title, route('reports.report.audit', [$accountIds, $start->format('Ymd'), $end->format('Ymd')])); } @@ -760,10 +760,10 @@ try { static function (Generator $breadcrumbs, string $accountIds, string $budgetIds, Carbon $start, Carbon $end) { $breadcrumbs->parent('reports.index'); - $monthFormat = (string)trans('config.month_and_day_js'); + $monthFormat = (string) trans('config.month_and_day_js'); $startString = $start->isoFormat($monthFormat); $endString = $end->isoFormat($monthFormat); - $title = (string)trans('firefly.report_budget', ['start' => $startString, 'end' => $endString]); + $title = (string) trans('firefly.report_budget', ['start' => $startString, 'end' => $endString]); $breadcrumbs->push($title, route('reports.report.budget', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')])); } @@ -774,10 +774,10 @@ try { static function (Generator $breadcrumbs, string $accountIds, string $tagTags, Carbon $start, Carbon $end) { $breadcrumbs->parent('reports.index'); - $monthFormat = (string)trans('config.month_and_day_js'); + $monthFormat = (string) trans('config.month_and_day_js'); $startString = $start->isoFormat($monthFormat); $endString = $end->isoFormat($monthFormat); - $title = (string)trans('firefly.report_tag', ['start' => $startString, 'end' => $endString]); + $title = (string) trans('firefly.report_tag', ['start' => $startString, 'end' => $endString]); $breadcrumbs->push($title, route('reports.report.tag', [$accountIds, $tagTags, $start->format('Ymd'), $end->format('Ymd')])); } @@ -788,10 +788,10 @@ try { static function (Generator $breadcrumbs, string $accountIds, string $categoryIds, Carbon $start, Carbon $end) { $breadcrumbs->parent('reports.index'); - $monthFormat = (string)trans('config.month_and_day_js'); + $monthFormat = (string) trans('config.month_and_day_js'); $startString = $start->isoFormat($monthFormat); $endString = $end->isoFormat($monthFormat); - $title = (string)trans('firefly.report_category', ['start' => $startString, 'end' => $endString]); + $title = (string) trans('firefly.report_category', ['start' => $startString, 'end' => $endString]); $breadcrumbs->push($title, route('reports.report.category', [$accountIds, $categoryIds, $start->format('Ymd'), $end->format('Ymd')])); } @@ -802,10 +802,10 @@ try { static function (Generator $breadcrumbs, string $accountIds, string $doubleIds, Carbon $start, Carbon $end) { $breadcrumbs->parent('reports.index'); - $monthFormat = (string)trans('config.month_and_day_js'); + $monthFormat = (string) trans('config.month_and_day_js'); $startString = $start->isoFormat($monthFormat); $endString = $end->isoFormat($monthFormat); - $title = (string)trans('firefly.report_double', ['start' => $startString, 'end' => $endString]); + $title = (string) trans('firefly.report_double', ['start' => $startString, 'end' => $endString]); $breadcrumbs->push($title, route('reports.report.double', [$accountIds, $doubleIds, $start->format('Ymd'), $end->format('Ymd')])); } @@ -816,10 +816,10 @@ try { static function (Generator $breadcrumbs, string $accountIds, Carbon $start, Carbon $end) { $breadcrumbs->parent('reports.index'); - $monthFormat = (string)trans('config.month_and_day_js'); + $monthFormat = (string) trans('config.month_and_day_js'); $startString = $start->isoFormat($monthFormat); $endString = $end->isoFormat($monthFormat); - $title = (string)trans('firefly.report_default', ['start' => $startString, 'end' => $endString]); + $title = (string) trans('firefly.report_default', ['start' => $startString, 'end' => $endString]); $breadcrumbs->push($title, route('reports.report.default', [$accountIds, $start->format('Ymd'), $end->format('Ymd')])); } @@ -1029,8 +1029,8 @@ try { if (null !== $start && null !== $end) { $title = trans( 'firefly.between_dates_breadcrumb', - ['start' => $start->isoFormat((string)trans('config.month_and_day_js')), - 'end' => $end->isoFormat((string)trans('config.month_and_day_js')),] + ['start' => $start->isoFormat((string) trans('config.month_and_day_js')), + 'end' => $end->isoFormat((string) trans('config.month_and_day_js')),] ); $breadcrumbs->push($title, route('tags.show', [$tag->id, $start, $end])); } @@ -1042,7 +1042,7 @@ try { static function (Generator $breadcrumbs, Tag $tag) { $breadcrumbs->parent('tags.index'); $breadcrumbs->push($tag->tag, route('tags.show', [$tag->id])); - $title = (string)trans('firefly.all_journals_for_tag', ['tag' => $tag->tag]); + $title = (string) trans('firefly.all_journals_for_tag', ['tag' => $tag->tag]); $breadcrumbs->push($title, route('tags.show.all', $tag->id)); } ); @@ -1059,8 +1059,8 @@ try { // add date range: $title = trans( 'firefly.between_dates_breadcrumb', - ['start' => $start->isoFormat((string)trans('config.month_and_day_js')), - 'end' => $end->isoFormat((string)trans('config.month_and_day_js')),] + ['start' => $start->isoFormat((string) trans('config.month_and_day_js')), + 'end' => $end->isoFormat((string) trans('config.month_and_day_js')),] ); $breadcrumbs->push($title, route('transactions.index', [$what, $start, $end])); } @@ -1092,7 +1092,7 @@ try { $first = $group->transactionJournals()->first(); $breadcrumbs->push( - trans('breadcrumbs.edit_journal', ['description' => limitStringLength((string)$first->description)]), + trans('breadcrumbs.edit_journal', ['description' => limitStringLength((string) $first->description)]), route('transactions.edit', [$group->id]) ); } @@ -1131,7 +1131,7 @@ try { $type = strtolower($first->transactionType->type); $title = limitStringLength($first->description); if ($group->transactionJournals()->count() > 1) { - $title = limitStringLength((string)$group->title); + $title = limitStringLength((string) $group->title); } if ('opening balance' === $type) { // See reference nr. 1 diff --git a/routes/web.php b/routes/web.php index 4f465400e6..8fe655cf18 100644 --- a/routes/web.php +++ b/routes/web.php @@ -38,9 +38,9 @@ Route::group( ); Route::group( - ['middleware' => 'binders-only', 'namespace' => 'FireflyIII\Http\Controllers\System'], + ['middleware' => 'binders-only', 'namespace' => 'FireflyIII\Http\Controllers\System'], static function () { - Route::get('offline', fn () => view('errors.offline')); + Route::get('offline', fn() => view('errors.offline')); Route::get('health', ['uses' => 'HealthcheckController@check', 'as' => 'healthcheck']); } ); @@ -52,7 +52,7 @@ Route::group( ['middleware' => 'user-not-logged-in', 'namespace' => 'FireflyIII\Http\Controllers'], static function () { - // Authentication Routes... + // Authentication Routes... Route::get('login', ['uses' => 'Auth\LoginController@showLoginForm', 'as' => 'login']); Route::post('login', ['uses' => 'Auth\LoginController@login', 'as' => 'login.post']); @@ -234,7 +234,7 @@ Route::group( ['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers', 'prefix' => 'budgets', 'as' => 'budgets.'], static function () { - // delete + // delete Route::get('delete/{budget}', ['uses' => 'Budget\DeleteController@delete', 'as' => 'delete']); Route::post('destroy/{budget}', ['uses' => 'Budget\DeleteController@destroy', 'as' => 'destroy']); @@ -305,7 +305,7 @@ Route::group( ['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers', 'prefix' => 'categories', 'as' => 'categories.'], static function () { - // index: + // index: Route::get('', ['uses' => 'Category\IndexController@index', 'as' => 'index']); // create @@ -563,7 +563,7 @@ Route::group( ['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers', 'prefix' => 'export', 'as' => 'export.'], static function () { - // index + // index Route::get('', ['uses' => 'Export\IndexController@index', 'as' => 'index']); Route::post('export', ['uses' => 'Export\IndexController@export', 'as' => 'export']); } @@ -724,7 +724,7 @@ Route::group( /** * Recurring Transactions Controller. - * + * */ Route::group( ['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers', 'prefix' => 'recurring', 'as' => 'recurring.'], @@ -903,7 +903,7 @@ Route::group( ['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers', 'prefix' => 'rules', 'as' => 'rules.'], static function () { - // create controller + // create controller Route::get('create/{ruleGroup?}', ['uses' => 'Rule\CreateController@create', 'as' => 'create']); Route::get('create-from-bill/{bill}', ['uses' => 'Rule\CreateController@createFromBill', 'as' => 'create-from-bill']); Route::get('create-from-journal/{tj}', ['uses' => 'Rule\CreateController@createFromJournal', 'as' => 'create-from-journal']); @@ -992,7 +992,7 @@ Route::group( ['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers', 'prefix' => 'transactions', 'as' => 'transactions.'], static function () { - // show groups: + // show groups: // See reference nr. 5 Route::get('{what}/all', ['uses' => 'Transaction\IndexController@indexAll', 'as' => 'index.all'])->where( ['what' => 'withdrawal|deposit|transfers|transfer'] @@ -1101,7 +1101,7 @@ Route::group( ['middleware' => 'admin', 'namespace' => 'FireflyIII\Http\Controllers\Admin', 'prefix' => 'admin', 'as' => 'admin.'], static function () { - // admin home + // admin home Route::get('', ['uses' => 'HomeController@index', 'as' => 'index']); Route::post('test-message', ['uses' => 'HomeController@testMessage', 'as' => 'test-message']);