Skip to content

Commit

Permalink
#63 add simple_form.tr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Ozgur OZKAN committed Jul 24, 2013
1 parent bea7012 commit 50d52ba
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/cybele/app_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def setup_letter_opener
# Interval: Setup simple form
def generate_simple_form
generate 'simple_form:install --bootstrap'
copy_file 'config/locales/simple_form.tr.yml', 'config/locales/simple_form.en.yml',
end

# Internal: Generate exception notification
Expand Down
26 changes: 26 additions & 0 deletions templates/config/locales/simple_form.tr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# encoding: utf-8
tr:
simple_form:
"yes": 'Evet'
"no": 'Hayır'
required:
text: 'zorunlu'
mark: '*'
# You can uncomment the line below if you need to overwrite the whole required html.
# When using html, text and mark won't be used.
# html: '<abbr title="required">*</abbr>'
error_notification:
default_message: "Lütfen aşağıdaki problemleri gözden geçiriniz:"
# Labels and hints examples
# labels:
# defaults:
# password: 'Password'
# user:
# new:
# email: 'E-mail to sign in.'
# edit:
# email: 'E-mail.'
# hints:
# defaults:
# username: 'User name to sign in.'
# password: 'No special characters, please.'

0 comments on commit 50d52ba

Please sign in to comment.