8000 Merge pull request #5078 from orkhan/master · stephancom/activeadmin@b52e8cb · GitHub
[go: up one dir, main page]

Skip to content

Commit b52e8cb

Browse files
Merge pull request activeadmin#5078 from orkhan/master
Azerbaijani locale file and improvements to locale sanity tools
2 parents a17cd9c + f206657 commit b52e8cb

File tree

4 files changed

+153
-2
lines changed

4 files changed

+153
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Enhancements
6+
7+
* Azerbaijani translation. [#5078] by [@orkhan]
8+
59
### Bug Fixes
610

711
* Convert namespace to sym to prevent duplicate namespaces such as :foo and 'foo'. [#5931] by [@westonganger]
@@ -419,6 +423,7 @@ Please check [0-6-stable] for previous changes.
419423
[#5052]: https://github.com/activeadmin/activeadmin/pull/5052
420424
[#5060]: https://github.com/activeadmin/activeadmin/pull/5060
421425
[#5069]: https://github.com/activeadmin/activeadmin/pull/5069
426+
[#5078]: https://github.com/activeadmin/activeadmin/pull/5078
422427
[#5081]: https://github.com/activeadmin/activeadmin/pull/5081
423428
[#5088]: https://github.com/activeadmin/activeadmin/pull/5088
424429
[#5093]: https://github.com/activeadmin/activeadmin/pull/5093
@@ -572,6 +577,7 @@ Please check [0-6-stable] for previous changes.
572577
[@mirelon]: https://github.com/mirelon
573578
[@ndbroadbent]: https://github.com/ndbroadbent
574579
[@Nguyenanh]: https://github.com/Nguyenanh
580+
[@orkhan]: https://github.com/orkhan
575581
[@panasyuk]: https://github.com/panasyuk
576582
[@PChambino]: https://github.com/PChambino
577583
[@potatosalad]: https://github.com/potatosalad

bin/i18n-tasks

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env ruby
2+
3+
load File.expand_path("bundle", __dir__)
4+
5+
require "bundler/setup"
6+
7+
load Gem.bin_path("i18n-tasks", "i18n-tasks")

config/locales/az.yml

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
az:
2+
active_admin:
3+
dashboard: "İdarəetmə paneli"
4+
dashboard_welcome:
5+
welcome: "Active Admin-ə xoş gəlmişsiniz. Bu saytla idarəetmənin standart səhifəsidir."
6+
call_to_action: "Buraya nə isə əlavə etmək üçün 'app/admin/dashboard.rb' sənədini dəyişin"
7+
view: ""
8+
edit: "Dəyiş"
9+
delete: "Sil"
10+
delete_confirmation: "Siz bunu silmək istədiyinizdən əminsiniz?"
11+
new_model: "%{model} yarat"
12+
edit_model: "%{model} dəyiş"
13+
delete_model: "%{model} sil"
14+
details: "%{model} haqqında"
15+
cancel: "İmtina"
16+
empty: "Boş"
17+
previous: "Geri"
18+
next: "İrəli"
19+
download: "Yüklənmə:"
20+
has_many_new: "%{model} əlavə et"
21+
has_many_delete: "Sil"
22+
has_many_remove: "Yığışdır"
23+
filters:
24+
buttons:
25+
filter: "Filtrlə"
26+
clear: "Təmizlə"
27+
predicates:
28+
contains: "Yerləşir"
29+
equals: "Bərabərdir"
30+
starts_with: "Başlayır"
31+
ends_with: "Bitir"
32+
greater_than: "böyük"
33+
less_than: "kiçik"
34+
search_status:
35+
headline: "Axtarışın statusu:"
36+
current_scope: "Sahə:"
37+
current_filters: "Cari filter:"
38+
no_current_filters: "Heç biri"
39+
status_tag:
40+
"yes": "Bəli"
41+
"no": "Xeyr"
42+
main_content: "Создайте %{model}#main_content для отображения содержимого."
43+
logout: "Çıxış"
44+
powered_by: "Работает на %{active_admin} %{version}"
45+
sidebars:
46+
filters: "Filterlə"
47+
search_status: "Axtarışın statusu"
48+
pagination:
49+
empty: "%{model} tapılmadı"
50+
one: "Nəticə: <b>1</b> %{model}"
51+
one_page: "Nəticə: <b>%{n}</b> %{model}"
52+
multiple: "Nəticə: %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> <b>%{total}</b>"
53+
multiple_without_total: "Nəticə: %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
54+
entry:
55+
one: "yazı"
56+
few: "yazı"
57+
many: "yazı"
58+
other: "yazı"
59+
any: "İstənilən"
60+
blank_slate:
61+
content: "%{resource_name} hələ yoxdur."
62+
link: "Yarat"
63+
dropdown_actions:
64+
button_label: "Əməliyyatlar"
65+
batch_actions:
66+
button_label: "Qrup əməliyyatları"
67+
default_confirmation: "Siz bunu etməyinizə əminsiniz?"
68+
delete_confirmation: "Siz %{plural_model} silməyə əminsiniz?"
69+
succesfully_destroyed:
70+
one: "Uğurla silindi: 1 %{model}"
71+
few: "Uğurla silindi: %{count} %{plural_model}"
72+
many: "Uğurla silindi: %{count} %{plural_model}"
73+
other: "Uğurla silindi: %{count} %{plural_model}"
74+
selection_toggle_explanation: "(Hamısını seç / Seçilmişləri sıfırla)"
75+
action_label: "%{title} seçilmiş"
76+
labels:
77+
destroy: "Sil"
78+
comments:
79+
created_at: "Yaranma tarixi"
80+
resource_type: "Resursun tipi"
81+
author_type: "Müəllifin tipi"
82+
body: "Mətn"
83+
author: "Müəllif"
84+
add: "Şərh əlavə et"
85+
delete: "Şərhi sil"
86+
delete_confirmation: "Siz bu şərhi silmək istədiyinizdən əminsiniz?"
87+
resource: "Resurs"
88+
no_comments_yet: "Hələ şərhlər yoxdur."
89+
author_missing: "Naməlum"
90+
title_content: "Şərhlər (%{count})"
91+
errors:
92+
empty_text: "Şərh yadda saxlanılmadı, mətn boş ola bilməz."
93+
devise:
94+
username:
95+
title: "İstifadəçi adı"
96+
email:
97+
title: "E-poçt"
98+
subdomain:
99+
title: "Subdomen"
100+
password:
101+
title: "Şifrə"
102+
sign_up:
103+
title: "Qeydiyyat"
104+
submit: "Qeydiyyatdan keç"
105+
login:
106+
title: "Giriş"
107+
remember_me: "Məni yadda saxla"
108+
submit: "Daxil ol"
109+
reset_password:
110+
title: "Şifrəni unutmusunuz?"
111+
submit: "Şifrəni sıfırla"
112+
change_password:
113+
title: "Şifrənin dəyişdirilməsi"
114+
submit: "Şifrəni dəyiş"
115+
unlock:
116+
title: "Blokdan çıxarma üzrə təlimatı yenidən göndərmək"
117+
submit: "Blokdan çıxarma üzrə təlimatı yenidən göndərmək"
118+
resend_confirmation_instructions:
119+
title: "Aktivləşdirmə ismarışını yenidən göndərmək"
120+
submit: "Aktivləşdirmə ismarışını yenidən göndərmək"
121+
links:
122+
sign_up: "Qeydiyyat"
123+
sign_in: "Giriş"
124+
forgot_your_password: "Şifrəni unutmusunuz?"
125+
sign_in_with_omniauth_provider: "%{provider} vasitəsilə daxil ol"
126+
resend_unlock_instructions: "Blokdan çıxarma üzrə təlimatı yenidən göndərilməsi"
127+
resend_confirmation_instructions: "Aktivləşdirmə ismarışını yenidən göndərilməsi"
128+
unsupported_browser:
129+
headline: "Zəhmət olmasa, bilin ki, Active Admin artıq Internet Explorer-in köhnə versiyalarını daha dəstəkləmir və yalnız IE 8 versiyasından başlayaraq dəstəkləyir"
130+
recommendation: "Biz sizin brauzerinizin versiyasını yeniləməyi məsləhət görürük (<a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, və ya <a href=\"https://mozilla.org/firefox/\">Firefox</a>)."
131+
turn_off_compatibility_view: "Əgər siz IE 9 və ya daha yeni versiya istifadə edirsinizsə, əmin olun ki, <a href=\"https://support.microsoft.com/ru-ru/help/17471\">\"Uyğunluğun rejimində baxış\"</a> seçimini söndürmüsünüz."
132+
access_denied:
133+
message: "Bunu etmək üçün daxil olmalısınız."
134+
index_list:
135+
table: "Cədvəl"
136+
block: "Siyahı"
137+
grid: "Tor"
138+
blog: "Bloq"

spec/i18n_spec.lint.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
let(:unused_keys) { i18n.unused_keys }
1919
let(:unused_key_count) { unused_keys.leaves.count }
2020
let(:unused_key_failure_msg) do
21-
"#{unused_key_count} unused i18n keys, run `i18n-tasks unused` to show them"
21+
"#{unused_key_count} unused i18n keys, run `bin/i18n-tasks unused` to show them"
2222
end
2323

2424
let(:inconsistent_interpolations) { i18n.inconsistent_interpolations }
2525
let(:inconsistent_interpolation_key_count) { inconsistent_interpolations.leaves.count }
2626
let(:inconsistent_interpolation_failure_msg) do
27-
"#{inconsistent_interpolation_key_count} inconsistent interpolations, run `i18n-tasks check-consistent-interpolations` to show them"
27+
"#{inconsistent_interpolation_key_count} inconsistent interpolations, run `bin/i18n-tasks check-consistent-interpolations` to show them"
2828
end
2929

3030
it 'does not have unused keys' do

0 commit comments

Comments
 (0)
0