Skip to content

Commit

Permalink
Improved Default Language String for Blob Response Code
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Jun 20, 2020
1 parent 71bdbdc commit e135902
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Internationalization Extension for Mecha
Release Notes
-------------

### 1.0.1, 1.0.2
### 1.0.1, 1.0.2, 1.0.3

- Added more translation items.

Expand Down
2 changes: 1 addition & 1 deletion language/about.page
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Internationalization
description: Set language phrases automatically based on the current `language` state value.
author: Taufik Nurrohman
type: Markdown
version: 1.0.2
version: 1.0.3
...

Translation data will be focused on the `.\lot\x\language\state\id.php` file. If you want to contribute, be sure to follow the data in that file.
8 changes: 8 additions & 0 deletions language/state/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
'Searching...' => "Searching\u{2026}",
'Uploading...' => "Uploading\u{2026}",

// Alert(s)
'Failed to upload with error code: 3' => 'The uploaded file was only partially uploaded.',
'Failed to upload with error code: 4' => 'No file was uploaded.',
// 'Failed to upload with error code: 5' => '?',
'Failed to upload with error code: 6' => 'Missing a temporary folder.',
'Failed to upload with error code: 7' => 'Failed to write file to disk.',
'Failed to upload with error code: 8' => 'A PHP extension stopped the file upload.',

// Sentence(s)
'This value does not determine the I18N system on your site unless you want to make an I18N extension that depends on this value.' => 'You have language extension installed. This value now determines the I18N system on your site.'

Expand Down
9 changes: 9 additions & 0 deletions language/state/id.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,15 @@
'Comment created.' => 'Komentar berhasil dibuat.',
'Created.' => 'Berhasil dibuat.',
'Deleted.' => 'Berhasil dihapus.',
'Failed to upload with error code: 0' => 'Tidak ada kesalahan, berkas telah berhasil diunggah.',
'Failed to upload with error code: 1' => 'Berkas yang diunggah melebihi batasan <code>upload_max_filesize</code> di <code>php.ini</code>.',
'Failed to upload with error code: 2' => 'Berkas yang diunggah melebihi batasan <code>MAX_FILE_SIZE</code> yang telah ditentukan pada <abbr title="Hyper Text Markup Language">HTML</abbr> formulir.',
'Failed to upload with error code: 3' => 'Berkas yang diunggah hanya terunggah sebagian.',
'Failed to upload with error code: 4' => 'Tidak ada berkas yang telah diunggah.',
'Failed to upload with error code: 5' => 'Gagal mengunggah dengan kode kesalahan: 5',
'Failed to upload with error code: 6' => 'Folder sementara tidak ditemukan.',
'Failed to upload with error code: 7' => 'Gagal menuliskan berkas ke diska.',
'Failed to upload with error code: 8' => 'Sebuah ekstensi PHP telah menghentikan proses pengunggahan berkas.',
'File %s successfully created.' => 'Berkas %s berhasil dibuat.',
'File %s successfully deleted.' => 'Berkas %s berhasil dihapus.',
'File %s successfully moved to trash.' => 'Berkas %s berhasil dipindahkan ke tempat sampah.',
Expand Down

0 comments on commit e135902

Please sign in to comment.