cybele 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/README.md +16 -2
  4. data/dump.rdb +1 -0
  5. data/lib/cybele/app_builder.rb +213 -220
  6. data/lib/cybele/generators/app_generator.rb +31 -20
  7. data/lib/cybele/version.rb +2 -2
  8. data/templates/.env.local.erb +11 -0
  9. data/templates/.env.production.erb +11 -0
  10. data/templates/.env.staging.erb +11 -0
  11. data/templates/README.md.erb +22 -0
  12. data/templates/app/assets/javascripts/application.js.coffee +63 -1
  13. data/templates/app/assets/javascripts/hq/application.js.coffee +93 -0
  14. data/templates/app/assets/stylesheets/application.css.sass +15 -4
  15. data/templates/app/assets/stylesheets/hq/application.css.sass +92 -0
  16. data/templates/app/controllers/application_controller.rb.erb +48 -0
  17. data/templates/app/controllers/concerns/basic_authentication.rb +18 -0
  18. data/templates/app/controllers/hq/admins_controller.rb +64 -0
  19. data/templates/app/controllers/hq/application_controller.rb +11 -0
  20. data/templates/app/controllers/hq/audits_controller.rb +16 -0
  21. data/templates/app/controllers/hq/cities_controller.rb +54 -0
  22. data/templates/app/controllers/hq/countries_controller.rb +54 -0
  23. data/templates/app/controllers/hq/dashboard_controller.rb +4 -1
  24. data/templates/app/controllers/hq/passwords_controller.rb +10 -0
  25. data/templates/app/controllers/hq/registrations_controller.rb +21 -0
  26. data/templates/app/controllers/hq/sessions_controller.rb +1 -1
  27. data/templates/app/controllers/hq/users_controller.rb +64 -0
  28. data/templates/app/controllers/user/dashboard_controller.rb +8 -0
  29. data/templates/app/controllers/user/passwords_controller.rb +10 -0
  30. data/templates/app/controllers/user/profiles_controller.rb +34 -0
  31. data/templates/app/controllers/user/registrations_controller.rb +20 -0
  32. data/templates/app/controllers/user/sessions_controller.rb +16 -0
  33. data/templates/app/controllers/user/user_application_controller.rb +20 -0
  34. data/templates/app/helpers/application_helper.rb.erb +27 -0
  35. data/templates/app/mailers/admin_mailer.rb +10 -0
  36. data/templates/app/mailers/base_mailer.rb +4 -0
  37. data/templates/app/mailers/user_mailer.rb +10 -0
  38. data/templates/app/models/admin.rb +51 -0
  39. data/templates/app/models/audit.rb +3 -0
  40. data/templates/app/models/city.rb +12 -0
  41. data/templates/app/models/country.rb +12 -0
  42. data/templates/app/models/user.rb +54 -0
  43. data/templates/app/views/admin_mailer/login_info.html.haml +13 -0
  44. data/templates/app/views/devise/confirmations/new.html.haml +6 -5
  45. data/templates/app/views/devise/mailer/confirmation_instructions.html.haml +5 -3
  46. data/templates/app/views/devise/mailer/reset_password_instructions.html.haml +2 -2
  47. data/templates/app/views/devise/passwords/edit.html.haml +3 -3
  48. data/templates/app/views/devise/passwords/new.html.haml +3 -3
  49. data/templates/app/views/devise/registrations/edit.html.haml +5 -11
  50. data/templates/app/views/devise/registrations/new.html.haml +18 -6
  51. data/templates/app/views/devise/sessions/new.html.haml +1 -1
  52. data/templates/app/views/devise/shared/_links.haml +3 -1
  53. data/templates/app/views/devise/unlocks/new.html.haml +4 -4
  54. data/templates/app/views/hq/admins/_admin.html.haml +21 -0
  55. data/templates/app/views/hq/admins/_blank.html.haml +9 -0
  56. data/templates/app/views/hq/admins/_filters.html.haml +20 -0
  57. data/templates/app/views/hq/admins/_form.html.haml +17 -0
  58. data/templates/app/views/hq/admins/_list.html.haml +15 -0
  59. data/templates/app/views/hq/admins/edit.html.haml +3 -0
  60. data/templates/app/views/hq/admins/index.html.haml +18 -0
  61. data/templates/app/views/hq/admins/new.html.haml +5 -0
  62. data/templates/app/views/hq/admins/show.html.haml +19 -0
  63. data/templates/app/views/hq/audits/_filters.html.haml +32 -0
  64. data/templates/app/views/hq/audits/_list.html.haml +37 -0
  65. data/templates/app/views/hq/audits/index.html.haml +5 -0
  66. data/templates/app/views/hq/audits/show.html.haml +5 -0
  67. data/templates/app/views/hq/cities/_blank.html.haml +9 -0
  68. data/templates/app/views/hq/cities/_city.html.haml +12 -0
  69. data/templates/app/views/hq/cities/_filters.html.haml +15 -0
  70. data/templates/app/views/hq/cities/_form.html.haml +15 -0
  71. data/templates/app/views/hq/cities/_list.html.haml +13 -0
  72. data/templates/app/views/hq/cities/edit.html.haml +3 -0
  73. data/templates/app/views/hq/cities/index.html.haml +18 -0
  74. data/templates/app/views/hq/cities/new.html.haml +3 -0
  75. data/templates/app/views/hq/cities/show.html.haml +13 -0
  76. data/templates/app/views/hq/countries/_blank.html.haml +9 -0
  77. data/templates/app/views/hq/countries/_country.html.haml +11 -0
  78. data/templates/app/views/hq/countries/_filters.html.haml +14 -0
  79. data/templates/app/views/hq/countries/_form.html.haml +14 -0
  80. data/templates/app/views/hq/countries/_list.html.haml +12 -0
  81. data/templates/app/views/hq/countries/edit.html.haml +3 -0
  82. data/templates/app/views/hq/countries/index.html.haml +18 -0
  83. data/templates/app/views/hq/countries/new.html.haml +3 -0
  84. data/templates/app/views/hq/countries/show.html.haml +14 -0
  85. data/templates/app/views/hq/dashboard/index.html.haml +8 -0
  86. data/templates/app/views/hq/passwords/edit.html.haml +12 -0
  87. data/templates/app/views/hq/passwords/new.html.haml +9 -0
  88. data/templates/app/views/hq/registrations/edit.html.haml +19 -0
  89. data/templates/app/views/hq/sessions/new.html.haml +7 -5
  90. data/templates/app/views/hq/users/_blank.html.haml +9 -0
  91. data/templates/app/views/hq/users/_filters.html.haml +20 -0
  92. data/templates/app/views/hq/users/_form.html.haml +18 -0
  93. data/templates/app/views/hq/users/_list.html.haml +15 -0
  94. data/templates/app/views/hq/users/_user.html.haml +20 -0
  95. data/templates/app/views/hq/users/edit.html.haml +3 -0
  96. data/templates/app/views/hq/users/index.html.haml +18 -0
  97. data/templates/app/views/hq/users/new.html.haml +5 -0
  98. data/templates/app/views/hq/users/show.html.haml +20 -0
  99. data/templates/app/views/layouts/application.html.haml.erb +16 -8
  100. data/templates/app/views/layouts/hq/application.html.haml.erb +55 -0
  101. data/templates/app/views/layouts/hq/login.html.haml.erb +35 -0
  102. data/templates/app/views/layouts/hq/partials/_dock.html.haml.erb +36 -0
  103. data/templates/app/views/layouts/hq/partials/_footer.html.haml.erb +0 -0
  104. data/templates/app/views/layouts/hq/partials/_navbar.html.haml.erb +22 -0
  105. data/templates/app/views/layouts/hq/partials/_trackers.html.haml.erb +0 -0
  106. data/templates/app/views/layouts/mailer.html.haml.erb +321 -0
  107. data/templates/app/views/layouts/mailer.text.haml +1 -0
  108. data/templates/app/views/layouts/partials/_footer.html.haml.erb +0 -0
  109. data/templates/app/views/layouts/partials/_trackers.html.haml.erb +0 -0
  110. data/templates/app/views/layouts/partials/_warnings.html.haml.erb +3 -0
  111. data/templates/app/views/user/dashboard/index.html.haml +8 -0
  112. data/templates/app/views/user/passwords/edit.html.haml +12 -0
  113. data/templates/app/views/user/passwords/new.html.haml +10 -0
  114. data/templates/app/views/{user_profiles → user/profiles}/_form.html.haml +4 -5
  115. data/templates/app/views/user/profiles/edit.html.haml +3 -0
  116. data/templates/app/views/user/profiles/show.html.haml +15 -0
  117. data/templates/app/views/user/registrations/edit.html.haml +19 -0
  118. data/templates/app/views/user/sessions/new.html.haml +11 -0
  119. data/templates/app/views/user_mailer/login_info.html.haml +13 -0
  120. data/templates/app/views/welcome/index.html.haml.erb +4 -4
  121. data/templates/config/initializers/devise_async.rb +6 -0
  122. data/templates/config/initializers/sidekiq.rb +13 -0
  123. data/templates/config/locales/email.tr.yml +28 -0
  124. data/templates/config/locales/models.tr.yml +72 -41
  125. data/templates/config/locales/responders.tr.yml +4 -1
  126. data/templates/config/locales/show_for.tr.yml +1 -3
  127. data/templates/config/locales/simple_form.tr.yml +8 -22
  128. data/templates/config/locales/tr.yml +33 -2
  129. data/templates/config/locales/view.tr.yml +64 -18
  130. data/templates/config/routes.erb +51 -0
  131. data/templates/config/schedule.yml +16 -0
  132. data/templates/config/settings/production.yml +0 -17
  133. data/templates/config/settings/staging.yml +0 -17
  134. data/templates/config/sidekiq.yml +13 -0
  135. data/templates/cybele_Gemfile +42 -5
  136. data/templates/cybele_gitignore +3 -1
  137. data/templates/cybele_version.txt +1 -0
  138. data/templates/env.sample.erb +11 -0
  139. data/templates/lib/data/cities.yml +163 -0
  140. data/templates/lib/tasks/dev.rake +29 -5
  141. data/templates/lib/tasks/sidekiq.rake +26 -0
  142. data/templates/lib/templates/rails/responders_controller/controller.rb +27 -22
  143. data/templates/public/images/favicon.png +0 -0
  144. data/templates/public/images/mail-logo.png +0 -0
  145. data/templates/public/images/missing_cover.png +0 -0
  146. data/templates/public/images/missing_cover@2x.png +0 -0
  147. data/templates/public/images/missing_logo.png +0 -0
  148. data/templates/public/images/missing_logo@2x.png +0 -0
  149. data/templates/public/images/sprite.png +0 -0
  150. data/templates/ruby-version +1 -1
  151. data/templates/vendor/assets/javascripts/jquery.datetimepicker.js +1871 -0
  152. data/templates/vendor/assets/javascripts/jquery.maskedinput.min.js +7 -0
  153. data/templates/vendor/assets/javascripts/nprogress.js +491 -0
  154. data/templates/vendor/assets/javascripts/trix.js +25 -0
  155. data/templates/vendor/assets/stylesheets/jquery.datetimepicker.css +418 -0
  156. data/templates/vendor/assets/stylesheets/nprogress.css +74 -0
  157. data/templates/vendor/assets/stylesheets/trix.css +209 -0
  158. metadata +125 -24
  159. data/templates/app/controllers/application_controller.rb +0 -19
  160. data/templates/app/controllers/hq/admin_profiles_controller.rb +0 -56
  161. data/templates/app/controllers/user_profiles_controller.rb +0 -56
  162. data/templates/app/views/hq/admin_profiles/_form.html.haml +0 -15
  163. data/templates/app/views/hq/admin_profiles/edit.html.haml +0 -3
  164. data/templates/app/views/hq/admin_profiles/new.html.haml +0 -3
  165. data/templates/app/views/hq/admin_profiles/show.html.haml +0 -13
  166. data/templates/app/views/hq/dashboard/index.html.haml.erb +0 -3
  167. data/templates/app/views/user_profiles/edit.html.haml +0 -3
  168. data/templates/app/views/user_profiles/new.html.haml +0 -3
  169. data/templates/app/views/user_profiles/show.html.haml +0 -13
  170. data/templates/config/locales/en.yml +0 -2
  171. data/templates/config/locales/models.en.yml +0 -54
  172. data/templates/config/locales/responders.en.yml +0 -10
  173. data/templates/config/locales/show_for.en.yml +0 -7
  174. data/templates/config/locales/simple_form.en.yml +0 -30
  175. data/templates/config/locales/view.en.yml +0 -51
@@ -0,0 +1 @@
1
+ = yield
@@ -0,0 +1,3 @@
1
+ - if Rails.env.staging?
2
+ #warnings.alert.alert-warning.panel-reset.text-center{style: 'margin-bottom: 10px;' }
3
+ = t('staging_warning').html_safe
@@ -0,0 +1,8 @@
1
+ .panel.panel-default
2
+ .panel-body
3
+ .row
4
+ .col-lg-12
5
+ .alert.alert-info
6
+ = t('view.hello', user: current_user.email)
7
+ = link_to t('navbar.sign_out'), destroy_user_session_path, method: :delete, class: 'btn btn-danger'
8
+ = link_to t('navbar.edit_login_info'), edit_user_registration_path, class: 'btn btn-primary'
@@ -0,0 +1,12 @@
1
+ %h2= t('devise.password.edit.title')
2
+ = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
3
+ = f.error_notification
4
+ = f.input :reset_password_token, as: :hidden
5
+ = f.full_error :reset_password_token
6
+ .form-inputs
7
+ = f.input :password, required: true, autofocus: true
8
+ = f.input :password_confirmation, required: true
9
+ .form-actions
10
+ = f.button :submit, t('devise.password.edit.button') , class: 'btn btn-primary'
11
+ %hr
12
+ = render 'devise/shared/links'
@@ -0,0 +1,10 @@
1
+ %h2= t('devise.password.new.title')
2
+ = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
3
+ = f.error_notification
4
+ .form-inputs
5
+ = f.input :email, required: true, autofocus: true
6
+ .form-actions
7
+ = f.button :submit, t('devise.password.reset.instructions'), class: 'btn btn-primary'
8
+
9
+ %hr
10
+ = render 'devise/shared/links'
@@ -3,14 +3,13 @@
3
3
  %i.icon-edit.icon-large
4
4
  = yield :form_title
5
5
  .panel-body
6
- = simple_form_for(@user_profile, url: user_profile_path) do |f|
6
+ = simple_form_for([:user, @profile], url: user_profile_path) do |f|
7
7
  = f.error_notification
8
8
 
9
9
  .form-inputs
10
- = f.input :first_name
11
- = f.input :last_name
12
- = f.input :gsm
10
+ = f.input :name
11
+ = f.input :surname
13
12
 
14
13
  .form-actions
15
- = f.button :submit, class: 'btn btn-default'
14
+ = f.button :submit, class: 'btn btn-primary'
16
15
  = link_to t('cancel'), user_profile_path, class: 'btn'
@@ -0,0 +1,3 @@
1
+ - content_for :form_title do
2
+ = t('tt.edit', resource_name: user.model_name.human)
3
+ = render 'form'
@@ -0,0 +1,15 @@
1
+ - content_for :toolbar do
2
+ = link_to edit_user_profile_path, class: 'btn btn-default' do
3
+ %i.icon-pencil
4
+ = t('action_button.edit')
5
+ .panel.panel-default
6
+ .panel-heading
7
+ %i.icon-edit.icon-large
8
+ = t('tt.show', resource_name: user.model_name.human)
9
+ .panel-body
10
+ = show_for @profile do |s|
11
+ = s.attribute :name
12
+ = s.attribute :surname
13
+ = s.attribute :email
14
+ = s.attribute :created_at
15
+ = s.attribute :updated_at
@@ -0,0 +1,19 @@
1
+ .panel.panel-default
2
+ .panel-heading
3
+ %i.icon-edit.icon-large
4
+ = t('devise.registration.edit.title', model: resource.class.model_name.human)
5
+ .panel-body
6
+ = simple_form_for(resource, as: resource_name, url: user_registration_path, html: { method: :put }) do |f|
7
+ = f.error_notification
8
+ .form-inputs
9
+ = f.input :email, required: true, autofocus: true
10
+ - if devise_mapping.confirmable? && resource.pending_reconfirmation?
11
+ %p
12
+ = t('devise.registration.waiting_confirmation', email: resource.unconfirmed_email )
13
+ %hr
14
+ = f.input :password, label: t('activerecord.attributes.user.password'), autocomplete: 'off', hint: t('devise.registration.hint_password'), required: false
15
+ = f.input :password_confirmation, label: t('activerecord.attributes.user.password_confirmation'), required: false
16
+ %hr
17
+ = f.input :current_password, label: t('activerecord.attributes.user.current_password'), hint: t('devise.registration.hint_current_password'), required: true
18
+ .form-actions
19
+ = f.button :submit, t('btn.update'), class: 'btn btn-primary'
@@ -0,0 +1,11 @@
1
+ %h2
2
+ = t('devise.session.title', model: resource.class.model_name.human )
3
+ = simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
4
+ .form-inputs
5
+ = f.input :email, required: false, autofocus: true
6
+ = f.input :password, required: false
7
+ = f.input :remember_me, as: :boolean,label: t('devise.session.remember_me') if devise_mapping.rememberable?
8
+ .form-actions
9
+ = f.button :submit, t('devise.session.button'), class: 'btn btn-primary'
10
+ %hr
11
+ = render 'devise/shared/links'
@@ -0,0 +1,13 @@
1
+ %h2= t('email.hello')
2
+
3
+ %p= t('email.user.login_info.first_info')
4
+ %p= t('email.user.login_info.second_info')
5
+ %p
6
+ %strong= "#{t('activerecord.attributes.user.email')} :"
7
+ = @user.email
8
+ %p
9
+ %strong= "#{t('activerecord.attributes.user.password')} :"
10
+ = @password
11
+ %p= link_to t('email.user.login_info.btn_login'), new_user_session_url
12
+
13
+ %p= t('email.user.login_info.last_info', link: new_user_session_url ).html_safe
@@ -1,7 +1,7 @@
1
1
  .jumbotron
2
2
  %h1 Welcome to <%= app_name %>
3
3
  - if current_user
4
- = link_to 'Sign out', destroy_user_session_path, class: 'btn btn-large', method: :delete
4
+ = link_to t('navbar.sign_out'), destroy_user_session_path, class: 'btn btn-large', method: :delete
5
5
  .row-fluid.marketing
6
6
  %p
7
7
  %strong Name:
@@ -9,7 +9,7 @@
9
9
  %p
10
10
  %strong Email:
11
11
  = current_user.email
12
- = link_to 'Edit Profile', edit_user_profile_path, class: 'btn btn-large'
12
+ = link_to t('navbar.edit_login_info'), edit_user_registration_path, class: 'btn btn-large'
13
13
  - else
14
- = link_to 'Sign up today', new_user_registration_path, class: 'btn btn-large btn-success'
15
- = link_to 'Sign in', new_user_session_path, class: 'btn btn-large'
14
+ = link_to t('navbar.signup'), new_user_registration_path, class: 'btn btn-large btn-success'
15
+ = link_to t('navbar.signin'), new_user_session_path, class: 'btn btn-large'
@@ -0,0 +1,6 @@
1
+ # Supported options: :resque, :sidekiq, :delayed_job, :queue_classic, :torquebox, :backburner, :que, :sucker_punch
2
+ Devise::Async.setup do |config|
3
+ config.enabled = true
4
+ config.backend = :sidekiq
5
+ config.queue = :mailers
6
+ end
@@ -0,0 +1,13 @@
1
+ Sidekiq.configure_server do |config|
2
+ config.redis = {url: ENV['REDISTOGO_URL'] }
3
+ end unless ENV['REDISTOGO_URL'].blank?
4
+
5
+ Sidekiq.configure_client do |config|
6
+ config.redis = { url: ENV['REDISTOGO_URL']}
7
+ end unless ENV['REDISTOGO_URL'].blank?
8
+
9
+ # Open this if you have scheduled jobs
10
+ # schedule_file = 'config/schedule.yml'
11
+ # if File.exists?(schedule_file) && Sidekiq.server?
12
+ # Sidekiq::Cron::Job.load_from_hash YAML.load_file(schedule_file)
13
+ # end
@@ -0,0 +1,28 @@
1
+ ---
2
+ tr:
3
+ email:
4
+ salut: 'Merhaba %{user};'
5
+ hello: 'Merhaba;'
6
+ devise:
7
+ confirmation_instruction:
8
+ desc1: E-posta adresinizi aşağıdaki link ile doğrulayabilirsiniz
9
+ btn_confirm: Hesabımı doğrula
10
+ reset_password:
11
+ desc1: Parolanızı değiştirmek için link isteğinde bulundunuz. Aşağıdaki link ile bunu yapabilirsiniz.
12
+ change: Parolamı değiştir
13
+ desc2: Eğer bu isteği siz yapmadıysanız bu e-posta'yı yok sayınız.
14
+ desc3: Parolanız yukarıdaki link'e erişip yeni bir parola oluşturmadığınız sürece değişmeyecektir.
15
+ admin:
16
+ login_info:
17
+ title: Yönetici Giriş Bilgileriniz
18
+ first_info: Portal üzerinden yönetici hesabınız oluşturuldu. Artık yönetici portalına giriş yapabilirsiniz.
19
+ second_info: Giriş bilgileriniz şu şekildedir
20
+ btn_login: Giriş yapmak için tıklayınız
21
+ last_info: "Eğer 'Giriş Yap' butonunu kullanamıyorsanız giriş linkiniz şu şekildedir <br/> <strong> Link : </strong> %{link} </br> Bu linki kopyalayıp tarayıcınıza yapıştırınız.."
22
+ user:
23
+ login_info:
24
+ title: Kullanıcı Giriş Bilgileriniz
25
+ first_info: Portal üzerinden kullanıcı hesabınız oluşturuldu. Artık kullanıcı portalına giriş yapabilirsiniz.
26
+ second_info: Giriş bilgileriniz şu şekildedir
27
+ btn_login: Giriş yapmak için tıklayınız
28
+ last_info: "Eğer 'Giriş Yap' butonunu kullanamıyorsanız giriş linkiniz şu şekildedir <br/> <strong> Link : </strong> %{link} </br> Bu linki kopyalayıp tarayıcınıza yapıştırınız.."
@@ -1,56 +1,87 @@
1
- # encoding: utf-8
1
+ ---
2
2
  tr:
3
3
  activerecord:
4
4
  models:
5
5
  schemamigration: Schemamigration
6
6
  user: Kullanıcı
7
- user_profiles: Kullanıcı Profili
8
- user_profile: Kullanıcı Profili
7
+ users: Kullanıcılar
9
8
  admin: Yönetici
10
- admin_profiles: Yönetici Profili
11
- admin_profile: Yönetici Profili
9
+ admins: Yöneticiler
10
+ country: Ülke
11
+ countries: Ülkeler
12
+ city: Şehir
13
+ cities: Şehirler
14
+ audit: İşlem Geçmişi
15
+ audits: İşlem Geçmişleri
12
16
  attributes:
13
17
  user:
14
- id: Id
18
+ id: ID
15
19
  email: E-posta
16
- password: Şifre
17
- password_confirmation: Şifre Onayı
18
- current_password: Şuan ki şifreniz
19
- encrypted_password: Şifrelenmiş şifre
20
- reset_password_token: Şifre sıfırlama token'ı
21
- reset_password_sent_at: Şifre sıfırlama gönderilme zamanı
20
+ password: Parola
21
+ current_password: Şu anki parolanız
22
+ password_confirmation: Parola tekrarı
23
+ remember_me: Beni hatırla
24
+ encrypted_password: Şifrelenmiş parola
25
+ reset_password_token: Parola sıfırlama token'ı
26
+ reset_password_sent_at: Parola sıfırlama isteği gönderilme zamanı
22
27
  remember_created_at: Beni hatırla oluşturulma zamanı
23
28
  sign_in_count: Giriş sayısı
24
- current_sign_in_at: Güncel giriş zamanı
25
- last_sign_in_at: Enson giriş zamanı
26
- current_sign_in_ip: Güncel giriş ip'si
27
- last_sign_in_ip: Enson giriş ip'si
28
- created_at: Oluşturulma Zamanı
29
- updated_at: Güncellenme Zamanı
30
- active: Aktif
31
- user_profile:
32
- first_name: İsim
33
- last_name: Soyisim
34
- gsm: Telefon
29
+ current_sign_in_at: Güncel giriş tarihi
30
+ last_sign_in_at: Son giriş tarihi
31
+ last_seen_at: Son görülme tarihi
32
+ current_sign_in_ip: Güncel girişe ait IP
33
+ last_sign_in_ip: Son giriş işlemine ait IP
34
+ authentication_token: Giriş token'ı
35
+ name: İsim
36
+ surname: Soyisim
37
+ is_active: Aktif mi?
38
+ time_zone: Zaman bölgesi
39
+ created_at: Oluşturulma tarihi
40
+ updated_at: Güncellenme tarihi
35
41
  admin:
36
- id: Id
42
+ id: ID
37
43
  email: E-posta
38
- password: Şifre
39
- password_confirmation: Şifre Onayı
40
- current_password: Şuan ki şifreniz
41
- encrypted_password: Şifrelenmiş şifre
42
- reset_password_token: Şifre sıfırlama token'ı
43
- reset_password_sent_at: Şifre sıfırlama gönderilme zamanı
44
+ password: Parola
45
+ current_password: Şu anki parolanız
46
+ password_confirmation: Parola tekrarı
47
+ remember_me: Beni hatırla
48
+ encrypted_password: Şifrelenmiş parola
49
+ reset_password_token: Parola sıfırlama token'ı
50
+ reset_password_sent_at: Parola sıfırlama isteği gönderilme zamanı
44
51
  remember_created_at: Beni hatırla oluşturulma zamanı
45
52
  sign_in_count: Giriş sayısı
46
- current_sign_in_at: Güncel giriş zamanı
47
- last_sign_in_at: Enson giriş zamanı
48
- current_sign_in_ip: Güncel giriş ip'si
49
- last_sign_in_ip: Enson giriş ip'si
50
- created_at: Oluşturulma Zamanı
51
- updated_at: Güncellenme Zamanı
52
- active: Aktif
53
- admin_profile:
54
- first_name: İsim
55
- last_name: Soyisim
56
- gsm: Telefon
53
+ current_sign_in_at: Güncel giriş tarihi
54
+ last_sign_in_at: Son giriş tarihi
55
+ last_seen_at: Son görülme tarihi
56
+ current_sign_in_ip: Güncel girişe ait IP
57
+ last_sign_in_ip: Son giriş işlemine ait IP
58
+ authentication_token: Giriş token'ı
59
+ name: İsim
60
+ surname: Soyisim
61
+ is_active: Aktif mi?
62
+ created_at: Oluşturulma tarihi
63
+ updated_at: Güncellenme tarihi
64
+ country:
65
+ id: Id
66
+ name: Ülke ismi
67
+ created_at: Oluşturulma tarihi
68
+ updated_at: Güncellenme tarihi
69
+ city:
70
+ id: Id
71
+ name: Şehir ismi
72
+ country: Ülke
73
+ country_id: Ülke
74
+ created_at: Oluşturulma tarihi
75
+ updated_at: Güncellenme tarihi
76
+ audits:
77
+ id: ID
78
+ user_type: İşlemi yapan kullanıcı tipi
79
+ user: İşlemi yapan kullanıcı
80
+ type: Tip
81
+ type_id: Tip ID
82
+ action: İşlem
83
+ user_id: İşlemi yapan
84
+ auditable_type: İşlem yapılan
85
+ auditable_id: İşlem yapılan ID
86
+ action: İşlem Türü
87
+ created_at: Oluşturulma tarihi
@@ -1,7 +1,10 @@
1
- # encoding: utf-8
1
+ ---
2
2
  tr:
3
3
  flash:
4
4
  actions:
5
+ toggle_is_active:
6
+ passive: '%{resource_name} başarıyla pasif edildi.'
7
+ active: '%{resource_name} başarıyla aktif edildi.'
5
8
  create:
6
9
  notice: '%{resource_name} başarı ile yaratıldı.'
7
10
  update:
@@ -1,8 +1,6 @@
1
- # encoding: utf-8
1
+ ---
2
2
  tr:
3
3
  show_for:
4
4
  blank: "Belirtilmedi"
5
- # If you want to use html tags with blank value use blank html translation
6
- # blank_html: "<span>Not specified</span>"
7
5
  "yes": "Evet"
8
6
  "no": "Hayır"
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ ---
2
2
  tr:
3
3
  simple_form:
4
4
  "yes": 'Evet'
@@ -6,26 +6,12 @@ tr:
6
6
  required:
7
7
  text: 'zorunlu'
8
8
  mark: '*'
9
- # You can uncomment the line below if you need to overwrite the whole required html.
10
- # When using html, text and mark won't be used.
11
- # html: '<abbr title="required">*</abbr>'
12
9
  error_notification:
13
10
  default_message: "Lütfen aşağıdaki problemleri gözden geçiriniz:"
14
- # Labels and hints examples
15
- # labels:
16
- # defaults:
17
- # password: 'Password'
18
- # user:
19
- # new:
20
- # email: 'E-mail to sign in.'
21
- # edit:
22
- # email: 'E-mail.'
23
- # hints:
24
- # defaults:
25
- # username: 'User name to sign in.'
26
- # password: 'No special characters, please.'
27
- # user:
28
- # new:
29
- # email: 'E-mail to sign in.'
30
- # edit:
31
- # email: 'E-mail.'
11
+ hints:
12
+ user:
13
+ new:
14
+ password: 'En az 8 karakter olmalıdır'
15
+ # labels:
16
+ # defaults:
17
+ # password: 'Password'
@@ -1,3 +1,34 @@
1
- # encoding: utf-8
1
+ ---
2
2
  tr:
3
- hello: "Hello world"
3
+ phone:
4
+ formats:
5
+ long: '+99 (999) 999-9999'
6
+ date:
7
+ formats:
8
+ excel:
9
+ rails: '%d/%m/%Y'
10
+ datepicker:
11
+ rails: '%d/%m/%Y'
12
+ js: 'd/m/Y'
13
+ default: "%d/%m/%Y"
14
+ year_month: "%Y-%B"
15
+ date: '%d %B %Y'
16
+ time:
17
+ formats:
18
+ certificate_completed_at_english: '%m/%d/%Y'
19
+ certificate_completed_at: '%d/%m/%Y'
20
+ datetimepicker_rails: '%d/%m/%Y %H:%M'
21
+ datetimepicker:
22
+ rails: '%d/%m/%Y %H:%M'
23
+ js: 'd/m/Y H:i'
24
+ default: "%d/%m/%Y %H:%M"
25
+ year_month: "%Y-%B"
26
+ date: '%d %B %Y'
27
+ due_at:
28
+ rails: '%d/%m/%Y %H:%M'
29
+ js: 'd/m/Y H:i'
30
+ number:
31
+ currency:
32
+ format:
33
+ format: "%u %n"
34
+ unit: "₺"