Skip to content

Commit b943444

Browse files
authored
Merge pull request #66 from codeigniter4/develop
rc.3
2 parents d05cfcd + 4d4bf71 commit b943444

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+636
-280
lines changed

CONTRIBUTING.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Contributing to the CodeIgniter 4 translations
2+
3+
We welcome contributions, to the *develop* branch,
4+
to add new translations or update existing ones.
5+
6+
If you have a translation or correction, please fork the repository, clone it
7+
locally, and then create a new branch (from develop)
8+
for each set of related changes or for
9+
a complete language pack. Once your branch is complete, *then* create a pull
10+
request to merge it into the develop branch of this repository.
11+
12+
If you are contributing a variant of a main locale (e.g. "en-CA"), you
13+
only need to provide those translations that differ from it.
14+
15+
Each translation set would go inside a folder named following the two-letter ISO-639-1 language code.
16+
Localization variants would have folders named with the two-letter ISO 639-1 language code in lowercase,
17+
followed by the two-letter ISO 3166 country code capitalized,
18+
and with the two parts separated by a hyphen.
19+
An example would be "en" for English, and "en-US" for the variations appropriate to the United States.
20+
21+
Pull requests to the repository will only be considered if they come from
22+
the maintainer for any translations in the request, or if the maintainer
23+
adds a comment indicating they approve of any changes.
24+
If a maintainer is unresponsive, or we have a contribution for a new
25+
language, we can add the contributor as a maintainer for that language.
26+
27+
PR conversations should be conducted in English, thanks.
28+
29+
## Process
30+
31+
We would like to see GPG-signed commits for contributions,
32+
and we have unit testing to help determine if your translations are complete.
33+
34+
The unit testing looks for translation sets missing language settings that
35+
are in the framework repository's `app/Language/en folder`, and for settings
36+
in a translation set that are not in that folder.
37+
38+
The unit testing is expected to fail, unless all translation sets are totally
39+
in synch with the framework's. Look for your language set in the travis-ci
40+
details for your pull request.
41+
42+
For instance, a travis-ci excerpt showing that the `fa` translation is missing
43+
a specific set of messages:
44+
45+
12) CodeIgniter\Language\TranslationsTest::testExtraFiles with data set "fa" ('fa')
46+
fa has extra files: Filter.php
47+
48+
This was caused by `Filters.php` incorrectly named `Filter,php`.
49+
50+
An example showing missing keys for the `sk` translation set:
51+
52+
10) CodeIgniter\Language\TranslationsTest::testMissingFiles with data set "sk" ('sk')
53+
sk is missing: RESTful.php Email.php Encryption.php
54+
55+
These would be caused by message sets added to the framework but not here.
56+
57+
And an example showing extra keys for the `it` translation set:
58+
59+
33) CodeIgniter\Language\TranslationsTest::testExtraKeys with data set "it" ('it')
60+
it has extra keys: Files.invalidFilename Files.cannotCopy Images.unsupportedImagecreate
61+
62+
This would be caused by messages removed or renamed in the framework, and not reflected here.

Language/ar/Migrations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
'migHelpRefresh' => "\t\tUninstalls and re-runs all migrations to freshen database.",
3333
'migHelpSeed' => "\tRuns the seeder named [name].",
3434
'migCreate' => "\tCreates a new migration named [name]",
35-
'nameMigration' => "Name the migration file",
35+
'nameMigration' => 'Name the migration file',
3636
'badCreateName' => 'You must provide a migration file name.',
3737
'writeError' => 'Error trying to create file.',
3838

3939
'toLatest' => 'Migrating to latest version...',
4040
'migInvalidVersion' => 'Invalid version number provided.',
4141
'toVersionPH' => 'Migrating to version %s...',
4242
'toVersion' => 'Migrating to current version...',
43-
'rollingBack' => "Rolling back all migrations...",
43+
'rollingBack' => 'Rolling back all migrations...',
4444
'noneFound' => 'No migrations were found.',
4545
'on' => 'Migrated On: ',
4646
'migSeeder' => 'Seeder name',

Language/ar/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
return [
1717
'missingDatabaseTable' => '`sessionSavePath` يجب أن يحتوى على إسم الجدول حتى يعمل النظام بشكل صحيح.',
18-
'invalidSavePath' => "نظام الجلسة: المسار المحدد '{0}' ليس مجلد, أو غير موجود ولا يمكن انشاؤه.",
19-
'writeProtectedSavePath' => "نظام الجلسة: المسار المحدد '{0}' غير قابل للكتابة.",
18+
'invalidSavePath' => 'نظام الجلسة: المسار المحدد "{0}" ليس مجلد, أو غير موجود ولا يمكن انشاؤه.',
19+
'writeProtectedSavePath' => 'نظام الجلسة: المسار المحدد "{0}" غير قابل للكتابة.',
2020
'emptySavePath' => 'نظام الجلسة: لا يوجد مسار للحفظ.',
2121
'invalidSavePathFormat' => 'نظام الجلسة: مسار خادم Redis غير صحيح: {0}',
2222
];

Language/ar/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @codeCoverageIgnore
1414
*/
1515
return [
16-
'invalidCellMethod' => '{class}::{method} ليست دالة صحيحة."',
16+
'invalidCellMethod' => '{class}::{method} ليست دالة صحيحة.',
1717
'missingCellParameters' => '{class}::{method} لا يوجد متغيرات.',
1818
'invalidCellParameter' => '{0} اسن متغير غير صحيح.',
1919
'noCellClass' => 'اسم الصنف لعرض جزء الصفحة غري مرسل.',

Language/de/Email.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
/**
3+
* Email language strings.
4+
*
5+
* @package CodeIgniter
6+
* @author CodeIgniter Dev Team
7+
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
8+
* @license https://opensource.org/licenses/MIT MIT License
9+
* @link https://codeigniter.com
10+
* @since Version 3.0.0
11+
* @filesource
12+
*
13+
* @codeCoverageIgnore
14+
*/
15+
16+
return [
17+
'mustBeArray' => 'Die E-Mail-Validierungsmethode muss in einem Array übergeben werden.',
18+
'invalidAddress' => 'Ungültige E-Mailadresse: {0}',
19+
'attachmentMissing' => 'Der folgende E-Mail-Anhang konnte nicht gefunden werden: {0}',
20+
'attachmentUnreadable' => 'Fehler beim Öffnen des Attachments: {0}',
21+
'noFrom' => 'E-Mails ohne "From"-Header können nicht gesendet werden.',
22+
'noRecipients' => 'Kein Empfänger gesetzt. Wert für To, Cc oder Bcc erforderlich',
23+
'sendFailurePHPMail' => 'E-Mailversand mit PHP mail() fehlgeschlagen. Möglicherweise ist der Server nicht so konfiguriert, dass er E-Mails mit dieser Methode sendet.',
24+
'sendFailureSendmail' => 'E-Mailversand mit Sendmail fehlgeschlagen. Möglicherweise ist der Server nicht so konfiguriert, dass er E-Mails mit dieser Methode sendet.',
25+
'sendFailureSmtp' => 'E-Mailversand mit PHP SMTP fehlgeschlagen. Möglicherweise ist der Server nicht so konfiguriert, dass er E-Mails mit dieser Methode sendet.',
26+
'sent' => 'Die Nachricht wurde erfolgreich mit folgendem Protokoll gesendet: {0, string}',
27+
'noSocket' => 'Der socket für Sendmail konnte nicht geöffnet werden. Bitte Einstellungen prüfen.',
28+
'noHostname' => 'SMTP-Hostname ist nicht definiert',
29+
'SMTPError' => 'Folgender SMTP-Fehler ist aufgetreten: {0}',
30+
'noSMTPAuth' => 'Fehler: Es muss ein SMTP Benutzername und Passwort zugeordnet werden.',
31+
'failedSMTPLogin' => 'Das AUTH LOGIN konnte nicht gesendet werden. Fehler: {0}',
32+
'SMTPAuthUsername' => 'Der Benutzername konnte nicht authentifiziert werden. Fehler: {0}',
33+
'SMTPAuthPassword' => 'Das Passwort konnte nicht authentifiziert werden. Fehler: {0}',
34+
'SMTPDataFailure' => 'Daten können nicht gesendet werden: {0}',
35+
'exitStatus' => 'Exit Status Code: {0}',
36+
];

Language/de/Encryption.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
/**
3+
* Encryption language strings.
4+
*
5+
* @package CodeIgniter
6+
* @author CodeIgniter Dev Team
7+
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
8+
* @license https://opensource.org/licenses/MIT MIT License
9+
* @link https://codeigniter.com
10+
* @since Version 3.0.0
11+
* @filesource
12+
*
13+
* @codeCoverageIgnore
14+
*/
15+
16+
return [
17+
'noDriverRequested' => 'Kein Treiber angefordert.',
18+
'noHandlerAvailable' => 'Es konnte kein verfügbarer {0} Verschlüsselungs-Handler gefunden werden.',
19+
'unKnownHandler' => '"{0}" kann nicht konfiguriert werden.',
20+
'starterKeyNeeded' => 'Encrypter benötigt einen Startschlüssel.',
21+
'authenticationFailed' => 'Entschlüsselung: Die Authentifizierung ist fehlgeschlagen.',
22+
'encryptionFailed' => 'Verschlüsselung fehlgeschlagen.',
23+
];

Language/de/Entity.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
/**
4+
* CLI language strings.
5+
*
6+
* @package CodeIgniter
7+
* @author CodeIgniter Dev Team
8+
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
9+
* @license https://opensource.org/licenses/MIT MIT License
10+
* @link https://codeigniter.com
11+
* @filesource
12+
*
13+
* @codeCoverageIgnore
14+
*/
15+
16+
return
17+
[
18+
'tryingToAccessNonExistentProperty' => 'Es wird versucht auf die nicht vorhandene Eigenschaft {0} von {1} zuzugreifen',
19+
];

Language/de/RESTful.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
/**
3+
* RESTful language strings.
4+
*
5+
* @package CodeIgniter
6+
* @author CodeIgniter Dev Team
7+
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
8+
* @license https://opensource.org/licenses/MIT MIT License
9+
* @link https://codeigniter.com
10+
* @since Version 3.0.0
11+
* @filesource
12+
*
13+
* @codeCoverageIgnore
14+
*/
15+
16+
return [
17+
'notImplemented' => '"{0}"-Aktion nicht implementiert.',
18+
];

Language/de/Redirect.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
/**
4+
* Redirect language strings.
5+
*
6+
* @package CodeIgniter
7+
* @author CodeIgniter Dev Team
8+
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
9+
* @license https://opensource.org/licenses/MIT MIT License
10+
* @link https://codeigniter.com
11+
* @since Version 4.0.0
12+
* @filesource
13+
*
14+
* @codeCoverageIgnore
15+
*/
16+
17+
return [
18+
'forUnableToRedirect' => 'Umleitung auf "{0}" nicht möglich. Error status code "{1}"',
19+
];

Language/de/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
return [
1818
'missingDatabaseTable' => 'In `sessionSavePath` muss der Tabellenname angegeben werden damit das Session Handling per Datenbank funktioniert.',
19-
'invalidSavePath' => "Session: Der konfigurierte Speicherpfad '{0}' ist kein Verzeichnis, existiert nicht oder kann nicht erstellt werden.",
20-
'writeProtectedSavePath' => "Session: Der konfigurierte Speicherpfad '{0}' kann vom PHP-Prozess nicht beschrieben werden.",
19+
'invalidSavePath' => 'Session: Der konfigurierte Speicherpfad "{0}" ist kein Verzeichnis, existiert nicht oder kann nicht erstellt werden.',
20+
'writeProtectedSavePath' => 'Session: Der konfigurierte Speicherpfad "{0}" kann vom PHP-Prozess nicht beschrieben werden.',
2121
'emptySavePath' => 'Session: Kein Speicherpfad konfiguriert.',
2222
'invalidSavePathFormat' => 'Session: Ungültiges Redis Speicherpfadformat: {0}',
2323
];

0 commit comments

Comments
 (0)