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