Language editor refactoring part 1 (nackend)

This commit is contained in:
Peter Papp
2021-03-27 18:53:41 +01:00
parent cdb395c77f
commit ec51440c3a
25 changed files with 1833 additions and 1677 deletions
-66
View File
@@ -1,66 +0,0 @@
<?php
return [
'app_description' => '利用 VueFileManager 创建您自己的私有云,由 Laravel and Vue 驱动',
'user_not_fount' => '我们没有找到此邮箱对应的用户信息。',
'incorrect_password' => '不好意思,您的密码好像不正确。',
'time' => '%d. %B. %Y 于 %H:%M',
'home' => '首页',
//Shared link email message
'shared_link_email_subject' => '🙋 :user share some files with you. Look at it!',
'shared_link_email_greeting' => 'Hello!',
'shared_link_email_user' => ':user (:email) send you a link to shared files.',
'shared_link_email_link' => 'Open your files',
'shared_link_email_salutation' => 'Regards, :app_name',
// Reset password email
'reset_password_greeting' => 'Hello!',
'reset_password_subject' => 'Reset password for your account on ',
'reset_password_line_1' => 'You are receiving this email because we received a password reset request for your account.',
'reset_password_line_2' => 'If you did not request a password reset, no further action is required.',
'reset_password_action' => 'Reset Password',
'salutation' => 'Regards',
// Invoice
'print_button' => 'Print Document',
'vat' => 'VAT',
'vat_included' => 'incl.',
'subtotal' => 'Subtotal',
'tax_exempted' => 'Tax is exempted',
'tax_be_paid_reverse' => 'Tax to be paid on reverse charge basis',
'invoice_title' => 'Invoice',
'date' => 'Date',
'product' => 'Product',
'subscription' => 'Subscription',
'invoice_number' => 'Invoice Number',
'seller' => 'Seller',
'client' => 'Client',
'seller_vat' => 'VAT number',
'seller_name' => 'Name',
'seller_phone' => 'Phone',
'name' => 'Name',
'phone' => 'Phone',
'address' => 'Address',
'city' => 'City',
'state' => 'State',
'postal_code' => 'Postal code',
'country' => 'Country',
'col_description' => 'Description',
'col_date' => 'Date',
'col_amount' => 'Amount',
'total' => 'Total',
// OG Page
'user_sending' => ':name is sending you this file',
'protected_file' => 'This link is protected by password',
];
-66
View File
@@ -1,66 +0,0 @@
<?php
// return [
// 'app_description' => __t('app_description'),
// 'user_not_fount' => __t('user_not_fount'),
// 'incorrect_password' => __t('incorrect_password'),
// 'time' => __t('time'),
// 'home' => __t('home'),
// //Shared link email message
// 'shared_link_email_subject' => __t('shared_link_email_subject'),
// 'shared_link_email_greeting' => __t('shared_link_email_greeting'),
// 'shared_link_email_user' => __t('shared_link_email_user'),
// 'shared_link_email_link' => __t('shared_link_email_link'),
// 'shared_link_email_salutation' => __t('shared_link_email_salutation'),
// // Reset password email
// 'reset_password_greeting' => __t('reset_password_greeting'),
// 'reset_password_subject' => __t('reset_password_subject'),
// 'reset_password_line_1' => __t('reset_password_line_1'),
// 'reset_password_line_2' => __t('reset_password_line_2'),
// 'reset_password_action' => __t('reset_password_action'),
// 'salutation' => __t('salutation'),
// Invoice
// 'print_button' => __t('print_button'),
// 'vat' => __t('vat'),
// 'vat_included' => __t('vat_included'),
// 'subtotal' => __t('subtotal'),
// 'tax_exempted' => __t('tax_exempted'),
// 'tax_be_paid_reverse' => __t('tax_be_paid_reverse'),
// 'invoice_title' => __t('invoice_title'),
// 'date' => __t('date'),
// 'product' => __t('product'),
// 'subscription' => __t('subscription'),
// 'invoice_number' => __t('invoice_number'),
// 'seller' => __t('seller'),
// 'client' => __t('client'),
// 'seller_vat' => __t('seller_vat'),
// 'seller_name' => __t('seller_name'),
// 'seller_phone' => __t('seller_phone'),
// 'name' => __t('name'),
// 'phone' => __t('phone'),
// 'address' => __t('address'),
// 'city' => __t('city'),
// 'state' => __t('state'),
// 'postal_code' => __t('postal_code'),
// 'country' => __t('country'),
// 'col_description' => __t('col_description'),
// 'col_date' => __t('col_date'),
// 'col_amount' => __t('col_amount'),
// 'total' => __t('total'),
// OG Page
// 'user_sending' => __t('user_sending'),
// 'protected_file' => __t('protected_file'),
// ];
-66
View File
@@ -1,66 +0,0 @@
<?php
return [
'app_description' => 'Vytvor si svoj vlastný privátny cloud s VueFileManager klientom poháňaným Laravelom a Vue',
'user_not_fount' => 'Uživateľ s touto emailovou adresou sa nenašiel.',
'incorrect_password' => 'Prepáč, zadané heslo je nesprávne',
'time' => '%d. %B. %Y o %H:%M',
'home' => 'Domov',
//Shared link email message
'shared_link_email_subject' => '🙋 :user vám posiela zdieľané súbory.',
'shared_link_email_greeting' => 'Ahoj!',
'shared_link_email_user' => ':user (:email) vám posiela odkaz pre zdieľané súbory.',
'shared_link_email_link' => 'Vaše súbory',
'shared_link_email_salutation' => 'S pozdravom, :app_name',
// Reset password email
'reset_password_greeting' => 'Ahoj!',
'reset_password_subject' => 'Resetujte svoje heslo v aplikácií ',
'reset_password_line_1' => 'Tento email ste dostali pretože ste nás požiadali o zmenu hesla pre Váš účet.',
'reset_password_line_2' => 'Pokiaľ ste si nechceli zmeniť heslo, žiadna akcia nie je vyžadovaná.',
'reset_password_action' => 'Resetovať heslo',
'salutation' => 'S pozdravom ',
// Invoice
'print_button' => 'Vytlačiť dokument',
'vat' => 'Daň',
'vat_included' => 'zah.',
'subtotal' => 'Medzisúčet',
'tax_exempted' => 'Daň je oslobodená',
'tax_be_paid_reverse' => 'Daň, ktorá sa má zaplatiť na základe prenesenia daňovej povinnosti',
'invoice_title' => 'Faktúra',
'date' => 'Dátum',
'product' => 'Produkt',
'subscription' => 'Predplatné',
'invoice_number' => 'Číslo faktúry',
'seller' => 'Predajca',
'client' => 'Klient',
'seller_vat' => 'IČ DPH',
'seller_name' => 'Meno',
'seller_phone' => 'Telefónne číslo',
'name' => 'Meno',
'phone' => 'Telefónne číslo',
'address' => 'Adresa',
'city' => 'Mesto',
'state' => 'Štát',
'postal_code' => 'PSČ',
'country' => 'Krajina',
'col_description' => 'Popis',
'col_date' => 'Dátum',
'col_amount' => 'Čiastka',
'total' => 'Spolu',
// OG Page
'user_sending' => ':name ti posiela súbor.',
'protected_file' => 'Tento link je chránený heslom',
];
+1 -1
View File
@@ -41,7 +41,7 @@
host: '{{ url('/') }}',
api: '{{ url('/api') }}',
locale: '{{ \Illuminate\Support\Facades\App::getLocale() }}',
language: '{{ isset($settings->language) ? $settings->language : en }}',
language: {{ $settings->language ?? 'en' }},
app_color: '{{ $settings->app_color ?? '#00BC7E' }}',
app_logo: '{{ $settings->app_logo ?? null }}',