translation_center 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -2
- data/app/assets/stylesheets/translation_center/translation_keys.css +5 -0
- data/app/assets/stylesheets/translation_center/translations.css +0 -1
- data/app/helpers/translation_center/application_helper.rb +5 -0
- data/app/views/translation_center/translation_keys/_show.html.haml +2 -2
- data/app/views/translation_center/translation_keys/_show_keys.html.haml +5 -0
- data/app/views/translation_center/translations/_index.html.haml +1 -1
- data/app/views/translation_center/translations/_show.html.haml +9 -9
- data/lib/generators/translation_center/install/templates/config/translation_center.yml +1 -1
- data/lib/translation_center.rb +3 -0
- data/lib/translation_center/locale/en.yml +65 -0
- data/lib/translation_center/translation_helpers.rb +5 -3
- data/lib/translation_center/version.rb +1 -1
- data/test/dummy/app/assets/javascripts/{posts.js → articles.js} +0 -0
- data/test/dummy/app/assets/stylesheets/{posts.css → articles.css} +0 -0
- data/test/dummy/app/controllers/articles_controller.rb +85 -0
- data/test/dummy/app/helpers/articles_helper.rb +2 -0
- data/test/dummy/app/models/article.rb +5 -0
- data/test/dummy/app/models/user.rb +1 -5
- data/test/dummy/app/views/articles/_form.html.haml +16 -0
- data/test/dummy/app/views/articles/edit.html.haml +7 -0
- data/test/dummy/app/views/articles/index.html.haml +21 -0
- data/test/dummy/app/views/articles/new.html.haml +5 -0
- data/test/dummy/app/views/articles/show.html.haml +12 -0
- data/test/dummy/config/initializers/devise.rb +13 -5
- data/test/dummy/config/locales/devise.en.yml +48 -47
- data/test/dummy/config/locales/en.yml +0 -419
- data/test/dummy/config/routes.rb +4 -4
- data/test/dummy/config/translation_center.yml +45 -11
- data/test/dummy/db/migrate/{20121129070437_devise_create_users.rb → 20130410082611_devise_create_users.rb} +0 -1
- data/test/dummy/db/migrate/{20121121124501_create_posts.rb → 20130410082701_create_articles.rb} +2 -2
- data/test/dummy/db/migrate/{20121219092928182074_create_translation_center_categories.rb → 20130410084711234392_create_translation_center_categories.rb} +0 -0
- data/test/dummy/db/migrate/{20121219092928182741_create_translation_center_translation_keys.rb → 20130410084711235054_create_translation_center_translation_keys.rb} +0 -2
- data/test/dummy/db/migrate/{20121219092928183282_create_translation_center_translations.rb → 20130410084711235601_create_translation_center_translations.rb} +0 -0
- data/test/dummy/db/migrate/{20130103124224_install_audited.rb → 20130410084711235602_install_audited.rb} +0 -0
- data/test/dummy/db/migrate/{20130218091808_acts_as_votable_migration.rb → 20130410084711_acts_as_votable_migration.rb} +0 -0
- data/test/dummy/db/migrate/20130410113111070575_add_de_status_translation_center_translation_keys.rb +5 -0
- data/test/dummy/db/schema.rb +16 -18
- data/test/dummy/log/development.log +65885 -0
- data/test/dummy/test/fixtures/articles.yml +9 -0
- data/test/dummy/test/fixtures/users.yml +1 -1
- data/test/dummy/test/functional/articles_controller_test.rb +49 -0
- data/test/dummy/test/unit/article_test.rb +7 -0
- data/test/dummy/test/unit/helpers/articles_helper_test.rb +4 -0
- data/test/dummy/tmp/cache/assets/CD6/F30/sprockets%2F3d4924f68747fc1d600b4d7a0b181f20 +0 -0
- data/test/dummy/tmp/cache/assets/CDB/0B0/sprockets%2Fd44248d455dc32b5d0d0694193b9a3f3 +0 -0
- data/test/dummy/tmp/cache/assets/CEC/260/sprockets%2F5aac1d5511a4610034d1d00628abd48f +0 -0
- data/test/dummy/tmp/cache/assets/D20/350/sprockets%2F35207dd785a3f4e98ceeaf12894a5917 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D3D/A50/sprockets%2F117dc38b0a178661ba6d8ab89dcd3654 +0 -0
- data/test/dummy/tmp/cache/assets/D4D/010/sprockets%2Fec636c8534d9e6236a1cd8d7a45e94a7 +0 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/test/dummy/tmp/cache/assets/D7E/C10/sprockets%2Fd4ea295413a05aab4f4a3c04a380f3ca +0 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/test/dummy/tmp/cache/assets/D9C/E20/sprockets%2Fb865317c6a5e8d0a7287d5bbe5aeab34 +0 -0
- data/test/dummy/tmp/cache/assets/D9E/B80/sprockets%2F97e683d4fae31c45cfb5db8ad7151c31 +0 -0
- data/test/dummy/tmp/cache/assets/DA5/E10/sprockets%2F5832171b4dbe59aae921ccd70f9a9fd8 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -1
- metadata +55 -42
- data/test/dummy/app/controllers/posts_controller.rb +0 -84
- data/test/dummy/app/helpers/posts_helper.rb +0 -2
- data/test/dummy/app/models/post.rb +0 -3
- data/test/dummy/app/views/posts/_form.html.haml +0 -16
- data/test/dummy/app/views/posts/edit.html.haml +0 -7
- data/test/dummy/app/views/posts/index.html.haml +0 -22
- data/test/dummy/app/views/posts/new.html.haml +0 -5
- data/test/dummy/app/views/posts/show.html.haml +0 -12
- data/test/dummy/config/locales/ar.yml +0 -42
- data/test/dummy/config/locales/de.yml +0 -12
- data/test/dummy/db/migrate/20121219094037954653_add_ar_status_translation_center_translation_keys.rb +0 -5
@@ -1,22 +0,0 @@
|
|
1
|
-
%h1= t('.Listing_posts')
|
2
|
-
|
3
|
-
%table
|
4
|
-
%tr
|
5
|
-
%th= t('.Title')
|
6
|
-
%th= t('.Content')
|
7
|
-
%th
|
8
|
-
%th
|
9
|
-
%th
|
10
|
-
|
11
|
-
- @posts.each do |post|
|
12
|
-
%tr
|
13
|
-
%td= post.title
|
14
|
-
%td= post.content
|
15
|
-
%td= link_to 'Show', post
|
16
|
-
%td= link_to 'Edit', edit_post_path(post)
|
17
|
-
%td= link_to 'Destroy', post, method: :delete, data: { confirm: 'Are you sure?' }
|
18
|
-
|
19
|
-
%br
|
20
|
-
= t('.testing_new_keys')
|
21
|
-
|
22
|
-
= link_to 'New Post', new_post_path
|
@@ -1,42 +0,0 @@
|
|
1
|
-
---
|
2
|
-
ar:
|
3
|
-
actions:
|
4
|
-
are_you_sure: "هل أنت متأكد ؟"
|
5
|
-
activerecord:
|
6
|
-
attributes:
|
7
|
-
translation_center/translation_key:
|
8
|
-
name: اسم
|
9
|
-
errors:
|
10
|
-
messages:
|
11
|
-
taken: محجوز
|
12
|
-
attributes:
|
13
|
-
email: "البريد الالكترونى"
|
14
|
-
password: "كلمة السر"
|
15
|
-
title: عنوان
|
16
|
-
layouts:
|
17
|
-
translation_center:
|
18
|
-
application:
|
19
|
-
back_to_app: "العودة إلى الموق"
|
20
|
-
to: إلى
|
21
|
-
translate_to: "ترجم إلى"
|
22
|
-
posts:
|
23
|
-
index:
|
24
|
-
Content: المحتوى
|
25
|
-
Title: عنوان
|
26
|
-
translation_center:
|
27
|
-
categories:
|
28
|
-
category:
|
29
|
-
complete: مكتمل
|
30
|
-
keys: مفاتيح
|
31
|
-
index:
|
32
|
-
categories: التقسيمات
|
33
|
-
show:
|
34
|
-
all: الكل
|
35
|
-
pending: منتظر
|
36
|
-
translated: مترجم
|
37
|
-
untranslated: "غير مترجم"
|
38
|
-
translation_keys:
|
39
|
-
show:
|
40
|
-
Add/Edit_Translation: "عدل/اضف ترجمة"
|
41
|
-
show_keys:
|
42
|
-
untranslated: "غير مترجم"
|