mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-20 04:41:45 +02:00
📜 Adding the Arabic language
This commit is contained in:
20
app/translations/ar.yaml
Normal file
20
app/translations/ar.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
home: الرَئيِّسَة
|
||||
download: تَنزيل هذا المُجَلَّد
|
||||
search: البَحث
|
||||
file:
|
||||
name: اِسمُ المِلَف
|
||||
size: الحَجم
|
||||
date: التاريخ
|
||||
info: مَعلومات المِلَف
|
||||
powered_by: مُشغَّلٌ بِواسِطةِ
|
||||
scroll_to_top: التَمرير لأعلَى
|
||||
toggle_theme: تَبديلُ النَمَطِ الفاتِح/الداكِن
|
||||
|
||||
error:
|
||||
directory_not_found: يَتَعذَّرُ إيجادُ المُجَلَّد
|
||||
file_not_found: يَتَعذَّرُ إيجادُ المِلَف
|
||||
file_size_exceeded: حَجمُ المِلَف كَبيرٌ جدًا
|
||||
no_results_found: لَم يُعثَر عَلى نتائِج
|
||||
unexpected: حَدَثَ خطأٌ غَيرُ مُتوقَّع
|
||||
|
||||
enable_debugging: تمكين نمط التصحيح للحصول على معلومات إضافيَّة
|
@@ -17,6 +17,7 @@ class TranslationFactoryTest extends TestCase
|
||||
$translator = (new TranslationFactory($this->config, $this->cache))();
|
||||
|
||||
$this->assertEquals('en', $translator->getLocale());
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('ar'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('de'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('en'));
|
||||
$this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('es'));
|
||||
|
Reference in New Issue
Block a user