Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: app/views/rails_admin/main/edit.html.erb app/views/rails_admin/main/list.html.erb app/views/rails_admin/main/new.html.erb rails_admin.gemspec spec/dummy_app/Gemfile
- Loading branch information
Showing
34 changed files
with
761 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<% if (fields = fieldset.visible_fields).length > 0 %> | ||
<% if (fields = fieldset.fields.map{ |f| f.with(:form => form, :object => object, :view => self) }.select(&:visible)).length > 0 %> | ||
<fieldset> | ||
<legend><%= fieldset.label %></legend> | ||
<% fields.map{|field| field.with(:form => form, :object => object, :view => self)}.each do |field| %> | ||
<% fields.each do |field| %> | ||
<%= field.render -%> | ||
<% end %> | ||
</fieldset> | ||
<% end %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
mn: | ||
errors: | ||
messages: | ||
not_found: "олдсонгүй" | ||
already_confirmed: "аль хэдийн шалгагдсан" | ||
not_locked: "түгжигдээгүй" | ||
|
||
devise: | ||
failure: | ||
unauthenticated: 'Та эхлээд нэвтрэх юмуу бүртгүүлсэн байх ёстой.' | ||
unconfirmed: 'Таны бүртгэл шалгагдаагүй байна.' | ||
locked: 'Таны бүртгэл түгжигдсэн байна.' | ||
invalid: 'Э-мэйл эсвэл Нууц код буруу байна.' | ||
invalid_token: 'Шалгах тэмдэг тохирсонгүй.' | ||
timeout: 'Your session expired, please sign in again to continue.' | ||
inactive: 'Your account was not activated yet.' | ||
sessions: | ||
signed_in: 'Signed in successfully.' | ||
signed_out: 'Signed out successfully.' | ||
passwords: | ||
send_instructions: 'You will receive an email with instructions about how to reset your password in a few minutes.' | ||
updated: 'Your password was changed successfully. You are now signed in.' | ||
confirmations: | ||
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.' | ||
confirmed: 'Your account was successfully confirmed. You are now signed in.' | ||
registrations: | ||
signed_up: 'You have signed up successfully. If enabled, a confirmation was sent to your e-mail.' | ||
updated: 'You updated your account successfully.' | ||
destroyed: 'Bye! Your account was successfully cancelled. We hope to see you again soon.' | ||
unlocks: | ||
send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.' | ||
unlocked: 'Your account was successfully unlocked. You are now signed in.' | ||
mailer: | ||
confirmation_instructions: | ||
subject: 'Confirmation instructions' | ||
reset_password_instructions: | ||
subject: 'Reset password instructions' | ||
unlock_instructions: | ||
subject: 'Unlock Instructions' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
zh_cn: | ||
errors: | ||
messages: | ||
not_found: "没找到" | ||
already_confirmed: "已经确认" | ||
not_locked: "没有锁定" | ||
|
||
devise: | ||
failure: | ||
unauthenticated: '你需要登录或注册后才能继续' | ||
unconfirmed: '你需要验证账户后才能继续' | ||
locked: '你的账户已经被锁定' | ||
invalid: '邮箱或地址无效' | ||
invalid_token: '身份验证令牌无效' | ||
timeout: '你的会话已过期,请重新登陆后继续' | ||
inactive: '你的账户还没有激活' | ||
sessions: | ||
signed_in: '登陆成功' | ||
signed_out: '登出成功' | ||
passwords: | ||
send_instructions: '几分钟后你会收到一份关于如何重置密码说明的邮件' | ||
updated: '你的密码已成功更新。现在你已经登陆' | ||
confirmations: | ||
send_instructions: '几分钟后你会收到一份关于如何验证账户说明的邮件' | ||
confirmed: '你的账户已成功验证。现在你已经登陆' | ||
registrations: | ||
signed_up: '你已经成功注册。不出意外的话,一份验证邮件已发往你的邮箱' | ||
updated: '你已成功更新你的账户' | ||
destroyed: '再见!你的账户已被成功取消。我们希望再次看到你' | ||
unlocks: | ||
send_instructions: '几分钟后你会收到一份关于如何解锁账户说明的邮件' | ||
unlocked: '你的账户已被成功解锁。现在你已经登陆' | ||
mailer: | ||
confirmation_instructions: | ||
subject: '确认账户' | ||
reset_password_instructions: | ||
subject: '重置密码' | ||
unlock_instructions: | ||
subject: '解锁账户' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Sample localization file for English. Add more files in this directory for other locales. | ||
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. | ||
|
||
mn: | ||
home: | ||
name: "нүүр" | ||
admin: | ||
dashboard: | ||
pagename: "Сайтын удирдлага" | ||
name: "Хянах хэсэг" | ||
model_name: "Моделийн нэр" | ||
last_used: "Сүүлд ашигласан" | ||
records: "Бичлэгүүд" | ||
modify: "Засах" | ||
add_new: "Шинээр нэмэх" | ||
show: "Харах" | ||
ago: "ago" | ||
history: | ||
name: "Түүх" | ||
page_name: "%{name}-н түүх" | ||
no_activity: "No Activity" | ||
credentials: | ||
log_out: "Гарах" | ||
list: | ||
edit_action: "Засах" | ||
delete_action: "Устгах" | ||
select_action: "Сонгох" | ||
delete_selected: "Сонгосны устгах" | ||
add_new: "Шинээр нэмэх" | ||
search_btn: "ХАЙХ" | ||
select: "%{name}-г сонгож засах" | ||
show_all: "Бүгдийг харуул" | ||
new: | ||
basic_info: "Үндсэн мэдээлэл" | ||
required: "Шаардлагатай" | ||
optional: "Шаардлагатай бус" | ||
one_char: "тэмдэг." | ||
many_chars: " тэмдэгтүүд." | ||
chosen: "Chosen %{name}" | ||
select_choice: "Сонголтоо сонгоно уу" | ||
chose_all: "Бүгдийг сонгох" | ||
clear_all: "Бүгдийг цэвэрлэ" | ||
up: "Up" | ||
down: "Down" | ||
save: "Хадгал" | ||
save_and_add_another: "Хадгалаад шинээр" | ||
save_and_edit: "Хадгалаад засах" | ||
cancel: "Болих" | ||
delete: | ||
flash_confirmation: "%{name} -г устгалаа" | ||
confirmation: "Итгэлтэй байна уу" | ||
flash: | ||
successful: "%{name} was successfully %{action}" | ||
error: "%{name} failed to be %{action}" | ||
noaction: "No actions were taken" | ||
actions: | ||
create: "үүсгэх" | ||
created: "үүссэн" | ||
update: "шинэчлэх" | ||
updated: "шинэчилсэн" | ||
delete: "устгах" | ||
deleted: "устгасан" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.