This commit is contained in:
parent
dee9bbfbe7
commit
a67c3cf65f
@ -53,6 +53,7 @@ return [
|
||||
'refresh_server' => 'Server aktualisieren',
|
||||
'backup_now' => 'Jetzt sichern',
|
||||
'update_application' => 'Anwendung aktualisieren',
|
||||
'set_default' => 'Als Standard setzen',
|
||||
'play_course' => 'Kurs starten',
|
||||
'course_player' => 'Kurs-Player',
|
||||
'enroll_now' => 'Jetzt einschreiben',
|
||||
@ -203,4 +204,4 @@ return [
|
||||
'style' => 'Stil',
|
||||
'edit_navbar' => 'Navbar bearbeiten',
|
||||
'edit_footer' => 'Footer bearbeiten',
|
||||
];
|
||||
];
|
||||
|
||||
@ -13,6 +13,9 @@ return [
|
||||
'language_settings' => 'Spracheinstellungen',
|
||||
'translation_settings' => 'Übersetzungseinstellungen',
|
||||
'add_language' => 'Sprache hinzufügen',
|
||||
'translation_scope_information' => 'Informationen zum Übersetzungsbereich',
|
||||
'translation_scope_dashboard' => 'Übersetzungen werden auf die Dashboard-Oberflächen (Administrator, Dozent, Student) angewendet.',
|
||||
'translation_scope_public_pages' => 'Öffentliche Seiten sind von diesen Übersetzungen nicht betroffen, da sie über den Seiteneditor vollständig anpassbar sind.',
|
||||
|
||||
'configure_zoom' => 'Zoom Server-to-Server OAuth-Zugangsdaten konfigurieren',
|
||||
'email_settings_description' => 'Konfiguriere deine E-Mail-Versandeinstellungen',
|
||||
@ -209,4 +212,4 @@ return [
|
||||
'create_zoom_app' => 'Erstelle eine Server-to-Server OAuth App im Zoom Marketplace',
|
||||
'get_credentials' => 'Hole dir Account ID, Client ID und Client Secret',
|
||||
'configure_scopes' => 'Konfiguriere die erforderlichen Scopes für deine App',
|
||||
];
|
||||
];
|
||||
|
||||
@ -60,6 +60,7 @@ return [
|
||||
'refresh_server' => 'Refresh Server',
|
||||
'backup_now' => 'Backup Now',
|
||||
'update_application' => 'Update Application',
|
||||
'set_default' => 'Set Default',
|
||||
|
||||
// ==================================================
|
||||
// 03. Action Buttons
|
||||
|
||||
@ -25,6 +25,9 @@ return [
|
||||
'language_settings' => 'Language Settings',
|
||||
'translation_settings' => 'Translation Settings',
|
||||
'add_language' => 'Add Language',
|
||||
'translation_scope_information' => 'Translation Scope Information',
|
||||
'translation_scope_dashboard' => 'Translations will be applied to dashboard interfaces (admin, instructor, student).',
|
||||
'translation_scope_public_pages' => 'Public pages are not affected by these translations as they are fully customizable through the page editor.',
|
||||
|
||||
// Common Settings
|
||||
'account_settings' => 'Account Settings',
|
||||
|
||||
@ -12,7 +12,7 @@ import AddLanguage from './partials/add-language';
|
||||
const Index = () => {
|
||||
const { props } = usePage<SharedData>();
|
||||
const { translate } = props;
|
||||
const { settings, common } = translate;
|
||||
const { settings, common, button: buttonLabels } = translate;
|
||||
|
||||
const languageStatus = (lang: Language, checked: boolean) => {
|
||||
router.put(
|
||||
@ -47,10 +47,10 @@ const Index = () => {
|
||||
</div>
|
||||
|
||||
<div className="rounded-md bg-blue-50 p-4 text-sm text-blue-700">
|
||||
<div className="mb-2 font-medium">Translation Scope Information</div>
|
||||
<div className="mb-2 font-medium">{settings.translation_scope_information}</div>
|
||||
<ul className="list-disc space-y-1 pl-5">
|
||||
<li>Translations will be applied to dashboard interfaces (admin, instructor, student).</li>
|
||||
<li>Public pages are not affected by these translations as they are fully customizable through the page editor.</li>
|
||||
<li>{settings.translation_scope_dashboard}</li>
|
||||
<li>{settings.translation_scope_public_pages}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -84,7 +84,7 @@ const Index = () => {
|
||||
<div className="flex items-center gap-3">
|
||||
{lang.is_active ? (
|
||||
<Button onClick={() => defaultLanguage(lang)} size="sm" variant="secondary" className="rounded-full">
|
||||
Set Default
|
||||
{buttonLabels.set_default}
|
||||
</Button>
|
||||
) : null}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user