tkh_toolbox 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.0.4
6
+
7
+ * Added a few translations
8
+ * Added full language name at the top of each locale file
9
+
10
+
11
+ ## 0.0.3
12
+
13
+ * Added a few translations
14
+
15
+
5
16
  ## 0.0.2
6
17
 
7
18
  * Added a few translations
@@ -0,0 +1,6 @@
1
+ <% flash.each do |name, msg| %>
2
+ <div class="alert alert-<%= name == :notice ? "success" : "error" %>">
3
+ <a class="close" data-dismiss="alert">×</a>
4
+ <%= msg %>
5
+ </div>
6
+ <% end %>
@@ -1,13 +1,24 @@
1
1
  de:
2
2
 
3
- actions: 'actions'
4
- are_you_sure: 'Are you sure?'
3
+ full_name: 'Deutsch'
4
+
5
+ time:
6
+ formats:
7
+ tkh_default: '%d. %b %Y, %H:%M Uhr' # you don't need to worry about this for now
8
+
9
+ actions: 'Aktionen'
10
+ admin_section: 'Adminbereich'
11
+ all: 'Alle'
12
+ are_you_sure: 'Bist du sicher?'
5
13
  colon: ':'
6
- delete: 'delete'
7
- edit: 'edit'
8
- list: 'list'
9
- new: 'new'
10
- name: 'name'
14
+ delete: 'löschen'
15
+ edit: 'bearbeiten'
16
+ list: 'Liste'
17
+ name: 'Name'
18
+ new: 'neu'
19
+ or: 'oder'
11
20
  question_mark: '?'
12
21
  question_mark_inverted: ''
13
- view: 'view'
22
+ sections: 'Abschnitte'
23
+ toggle: 'umschalten'
24
+ view: 'Ansicht'
@@ -1,13 +1,24 @@
1
1
  en:
2
+
3
+ full_name: 'English'
4
+
5
+ time:
6
+ formats:
7
+ tkh_default: "%b. %-d, '%y at %l:%M %P"
2
8
 
3
9
  actions: 'actions'
10
+ admin_section: 'admin section'
11
+ all: 'all'
4
12
  are_you_sure: 'Are you sure?'
5
13
  colon: ':'
6
14
  delete: 'delete'
7
15
  edit: 'edit'
8
16
  list: 'list'
9
- new: 'nouveau'
10
17
  name: 'name'
18
+ new: 'new'
19
+ or: 'or'
11
20
  question_mark: '?'
12
21
  question_mark_inverted: ''
22
+ sections: 'sections'
23
+ toggle: 'toggle'
13
24
  view: 'view'
@@ -1,13 +1,24 @@
1
1
  es:
2
2
 
3
+ full_name: 'Español'
4
+
5
+ time:
6
+ formats:
7
+ tkh_default: "%d de %B de %Y %H:%M"
8
+
3
9
  actions: 'actions'
4
- are_you_sure: 'Are you sure?'
10
+ admin_section: 'admin section'
11
+ all: 'all'
12
+ are_you_sure: '¿estás seguro?'
5
13
  colon: ':'
6
- delete: 'delete'
7
- edit: 'edit'
14
+ delete: 'borrar'
15
+ edit: 'editar'
8
16
  list: 'list'
9
- new: 'new'
10
17
  name: 'name'
18
+ new: 'new'
19
+ or: 'or'
11
20
  question_mark: '?'
12
21
  question_mark_inverted: '¿'
22
+ sections: 'secciones'
23
+ toggle: 'toggle'
13
24
  view: 'ver'
@@ -1,13 +1,24 @@
1
1
  fr:
2
2
 
3
+ full_name: 'Français'
4
+
5
+ time:
6
+ formats:
7
+ tkh_default: "%d %b %Y à %H:%M"
8
+
3
9
  actions: 'actions'
4
- are_you_sure: 'Etes vous sur ?'
10
+ admin_section: 'section administrative'
11
+ all: 'tous'
12
+ are_you_sure: 'Etes vous sûr ?'
5
13
  colon: ' :'
6
14
  delete: 'supprimer'
7
15
  edit: 'modifier'
8
16
  list: 'liste'
9
- new: 'nouveau'
10
17
  name: 'nom'
18
+ new: 'nouveau'
19
+ or: 'ou'
11
20
  question_mark: ' ?'
12
21
  question_mark_inverted: ''
22
+ sections: 'sections'
23
+ toggle: 'change'
13
24
  view: 'voir'
@@ -1,6 +1,14 @@
1
1
  it:
2
+
3
+ full_name: 'Italiano'
4
+
5
+ time:
6
+ formats:
7
+ tkh_default: '%d %B %Y %H:%M' # leave this part out for now. It will become clearer later on.
2
8
 
3
9
  actions: 'actions'
10
+ admin_section: 'admin section'
11
+ all: 'all'
4
12
  are_you_sure: 'Are you sure?'
5
13
  colon: ':'
6
14
  delete: 'delete'
@@ -8,6 +16,9 @@ it:
8
16
  list: 'list'
9
17
  name: 'name'
10
18
  new: 'new'
19
+ or: 'or'
11
20
  question_mark: '?'
12
21
  question_mark_inverted: ''
22
+ sections: 'sections'
23
+ toggle: 'toggle'
13
24
  view: 'view'
@@ -1,3 +1,3 @@
1
1
  module TkhToolbox
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-29 00:00:00.000000000 Z
12
+ date: 2013-02-03 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Assortment of all-purpose utilities used by gems across the tkh_cms suite
15
15
  email:
@@ -24,6 +24,7 @@ files:
24
24
  - LICENSE.txt
25
25
  - README.md
26
26
  - Rakefile
27
+ - app/views/shared/_flash_messages.html.erb
27
28
  - lib/generators/tkh_toolbox/create_or_update_locales/create_or_update_locales_generator.rb
28
29
  - lib/generators/tkh_toolbox/create_or_update_locales/templates/de.yml
29
30
  - lib/generators/tkh_toolbox/create_or_update_locales/templates/en.yml