Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding arabic #46

Merged
merged 3 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions resources/lang/ar/translations.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

return [
'translation-navigation-label' => 'مدير الترجمة',
'translation-label' => 'ترجمة|ترجمات',
'group' => 'مجموعة الترجمة',
'key' => 'مفتاح الترجمة',
'preview-in-your-lang' => 'المعاينة بلغتك الحالية (:lang)',
'synchronize' => 'تزامن',
'synchronization-success' => 'متزامنة: عدد الترجمات!',
'synchronization-deleted' => 'محذوفة: عدد الترجمات غير المستخدمة',
'preview' => 'Preview',
'preview-description' => 'هذا مثال باللغة المحددة حاليًا (:lang)',
'add-translation-button' => 'إضافة ترجمة جديدة',
'translation-language' => 'لغة',
'translation-text' => 'نص مترجم',
'filter-not-translated' => 'لم تترجم إلى',
'quick-translate' => 'ترجمة سريعة',
'quick-translate-select-locale' => 'اختر اللغة',
'quick-translate-translation-number' => ': إجمالي الترجمات المتبقية للترجمة',
'quick-translate-skip' => 'تخطي هذه الترجمة',
'quick-translate-enter' => 'أدخل الترجمة باللغة ":lang":',
'quick-translate-save-and-continue' => 'حفظ والمتابعة',
'quick-translate-nothing' => 'لم يبق شيء للترجمة!',
];
5 changes: 5 additions & 0 deletions src/Pages/QuickTranslate.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ public static function getNavigationGroup(): ?string
return config('translation-manager.navigation_group');
}

public static function getNavigationLabel(): string
{
return trans_choice('translation-manager::translations.quick-translate', 1);
}

public static function getNavigationIcon(): ?string
{
return 'heroicon-o-bolt';
Expand Down
Loading