translations_ennder 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/{History.txt → Changelog} +51 -52
- data/MIT-LICENSE +20 -0
- data/README.md +5 -5
- data/Rakefile +0 -15
- data/TODO +1 -0
- data/lib/translations_ennder/locales/fr.yml +2 -0
- data/lib/translations_ennder/rails.rb +2 -2
- metadata +23 -67
- data/.bnsignore +0 -21
- data/.gitignore +0 -8
- data/.rvmrc +0 -3
- data/app/.directory +0 -3
- data/app/helpers/.directory +0 -3
- data/bin/.directory +0 -3
- data/bin/translations_ennder +0 -7
- data/lib/.directory +0 -3
- data/lib/translations_ennder/.directory +0 -3
- data/lib/translations_ennder/locales/.directory +0 -3
- data/lib/translations_ennder/locales_rails2/.directory +0 -3
- data/test/.directory +0 -3
- data/test/integration/.directory +0 -3
- data/version.txt +0 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9e098108ac8c1e040d1d99db5c186aab4717f1b5
|
4
|
+
data.tar.gz: f9edebfe2dd047a2b5bb97ae642ec61d59cef2d8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a3203caceb7383676cd2739f9cdce3b9fb0794466a0bbc58dbee2fe2b9f42b393cab6eb51332fe33b22b2973df8887597532a0e64ead9d346ac4b62089c5d93e
|
7
|
+
data.tar.gz: 0acade211f85b297dbfe51d4dab949630ee89f2d3dc67cc4da1f31aea9ce5b3788101f17cb227b9a23ab443ba1f476197689eb287f8e57e0d80bdce6cfc41112
|
data/{History.txt → Changelog}
RENAMED
@@ -1,74 +1,73 @@
|
|
1
|
-
==
|
1
|
+
== 1.1.6 / 2012-12-26
|
2
|
+
* portage à rails 3, format de order dans les fichiers de locales
|
2
3
|
|
3
|
-
|
4
|
-
|
4
|
+
== 1.1.5 / 2011-06-26
|
5
|
+
* set_locale, change la locale que si session existe
|
5
6
|
|
6
|
-
==
|
7
|
-
*
|
8
|
-
|
7
|
+
== 1.1.4 / 2011-06-16
|
8
|
+
* traductions supprimées :
|
9
|
+
activerecord.models.user
|
10
|
+
activerecord.models.attributes.session.password
|
11
|
+
activerecord.models.attributes.sessions.password
|
12
|
+
activerecord.models.attributes.user.password
|
13
|
+
activerecord.models.attributes.users.password
|
9
14
|
|
10
|
-
==
|
11
|
-
*
|
15
|
+
== 1.1.3 / 2011-03-29
|
16
|
+
* monkey patching localisations réactivé pour Rails 3
|
12
17
|
|
13
|
-
== 1.
|
14
|
-
*
|
18
|
+
== 1.1.2 / 2011-03-22
|
19
|
+
* trace changement de locale dans la session
|
20
|
+
format date-heure short: JJ/MM/AASS HHhMM
|
21
|
+
Enfin testé
|
15
22
|
|
16
|
-
== 1.
|
17
|
-
*
|
23
|
+
== 1.1.1 / 2011-03-22
|
24
|
+
* correction anomalie dans set_locale
|
18
25
|
|
19
|
-
== 1.0
|
20
|
-
*
|
26
|
+
== 1.1.0 / 2011-03-22
|
27
|
+
* préparation des test
|
28
|
+
RAILS_ROOT au lien de Rails.root, Rails n'est pas encore initalisé
|
21
29
|
|
22
|
-
== 1.0.
|
23
|
-
*
|
30
|
+
== 1.0.9 / 2011-03-21
|
31
|
+
* trace init° gem dans les logs
|
32
|
+
Pour Rails 2 et 3
|
24
33
|
|
25
|
-
== 1.0.
|
26
|
-
*
|
34
|
+
== 1.0.8 / 2011-03-21
|
35
|
+
* Utilisation de Rails.configuration.logger si initialisé
|
36
|
+
sinon puts
|
27
37
|
|
28
|
-
== 1.0.
|
29
|
-
*
|
38
|
+
== 1.0.7 / 2011-03-21
|
39
|
+
* remplacement de Rails.logger par RAILS_DEFAULT_LOGGER
|
40
|
+
Rails.logger pas initalisé
|
30
41
|
|
31
42
|
== 1.0.6 / 2011-03-21
|
32
43
|
* correction régression introduite par V1.0.4
|
33
44
|
eh oui désolé je n'ai pas de procédure de test encore...
|
34
45
|
|
35
|
-
== 1.0.
|
36
|
-
*
|
37
|
-
Rails.logger pas initalisé
|
38
|
-
|
39
|
-
== 1.0.8 / 2011-03-21
|
40
|
-
* Utilisation de Rails.configuration.logger si initialisé
|
41
|
-
sinon puts
|
46
|
+
== 1.0.5 / 2011-03-21
|
47
|
+
* correction régression introduite par V1.0.3
|
42
48
|
|
43
|
-
== 1.0.
|
44
|
-
* trace
|
45
|
-
Pour Rails 2 et 3
|
49
|
+
== 1.0.4 / 2011-03-21
|
50
|
+
* trace au démarrage de la version du gem
|
46
51
|
|
47
|
-
== 1.
|
48
|
-
*
|
49
|
-
RAILS_ROOT au lien de Rails.root, Rails n'est pas encore initalisé
|
52
|
+
== 1.0.3 / 2011-03-21
|
53
|
+
* set_locale : contrôle de sécurité
|
50
54
|
|
51
|
-
== 1.
|
52
|
-
*
|
55
|
+
== 1.0.2 / 2011-01-10
|
56
|
+
* set_locale : extension Base:ActionController
|
53
57
|
|
54
|
-
== 1.1
|
55
|
-
*
|
56
|
-
format date-heure short: JJ/MM/AASS HHhMM
|
57
|
-
Enfin testé
|
58
|
+
== 1.0.1 / 2011-01-10
|
59
|
+
* set_locale : Helper vers extension ApplicationController
|
58
60
|
|
59
|
-
== 1.
|
60
|
-
*
|
61
|
+
== 1.0.0 / 2011-01-10
|
62
|
+
* Ajout méthode set_locale au helper de l'appli
|
61
63
|
|
62
|
-
==
|
63
|
-
*
|
64
|
-
activerecord.models.user
|
65
|
-
activerecord.models.attributes.session.password
|
66
|
-
activerecord.models.attributes.sessions.password
|
67
|
-
activerecord.models.attributes.user.password
|
68
|
-
activerecord.models.attributes.users.password
|
64
|
+
== 0.9.6 / 2011-01-10
|
65
|
+
* Traces et correction appel
|
69
66
|
|
70
|
-
==
|
71
|
-
*
|
67
|
+
== 0.9.5 / 2011-01-10
|
68
|
+
* Mise en compatibilité avec Rails 3
|
69
|
+
Non fonctionnel !
|
72
70
|
|
73
|
-
==
|
74
|
-
*
|
71
|
+
== 0.9.0 / 2011-01-07
|
72
|
+
* 1 major enhancement
|
73
|
+
* migration de Plugin vers Gem
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2016 Ennder
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
translations_ennder
|
2
2
|
===========
|
3
3
|
|
4
|
-
Ce plugin apporte des traductions standard en
|
5
|
-
This plugin brings translations in
|
4
|
+
Ce plugin apporte des traductions standard en Français et Anglais.
|
5
|
+
This plugin brings translations in French and English.
|
6
6
|
|
7
7
|
Features
|
8
8
|
--------
|
9
9
|
|
10
|
-
Apporte des translations
|
11
|
-
|
10
|
+
Apporte des translations Françaises et Anglaises
|
11
|
+
Permet la traduction automatique des labels pour Rails 2 et Rails 3+
|
12
12
|
|
13
13
|
Examples
|
14
14
|
--------
|
@@ -39,7 +39,7 @@ License
|
|
39
39
|
|
40
40
|
(The MIT License)
|
41
41
|
|
42
|
-
Copyright (c) 2010-
|
42
|
+
Copyright (c) 2010-2018 [Ennder (mel@ennder.fr)]
|
43
43
|
|
44
44
|
Permission is hereby granted, free of charge, to any person obtaining
|
45
45
|
a copy of this software and associated documentation files (the
|
data/Rakefile
CHANGED
@@ -1,17 +1,2 @@
|
|
1
|
-
|
2
|
-
begin
|
3
|
-
require 'bones'
|
4
|
-
rescue LoadError
|
5
|
-
abort '### Please install the "bones" gem ###'
|
6
|
-
end
|
7
|
-
|
8
1
|
task :default => 'test:run'
|
9
2
|
task 'gem:release' => 'test:run'
|
10
|
-
|
11
|
-
Bones {
|
12
|
-
name 'translations_ennder'
|
13
|
-
authors 'Ennder'
|
14
|
-
email 'mel@ennder.fr'
|
15
|
-
url 'http://www.ennder.fr'
|
16
|
-
}
|
17
|
-
|
@@ -62,8 +62,10 @@ fr:
|
|
62
62
|
|
63
63
|
day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
|
64
64
|
abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
|
65
|
+
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
65
66
|
month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre]
|
66
67
|
abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.]
|
68
|
+
# Used in date_select and datime_select.
|
67
69
|
order:
|
68
70
|
- :year
|
69
71
|
- :month
|
@@ -25,7 +25,7 @@ if Rails::VERSION::MAJOR < 3 then
|
|
25
25
|
#Rails 2
|
26
26
|
|
27
27
|
Rails.configuration.after_initialize do
|
28
|
-
_info = "GEM translations_ennder V#{TranslationsEnnder.version}
|
28
|
+
_info = "GEM translations_ennder V#{TranslationsEnnder.version} Rails V2.x.y"
|
29
29
|
|
30
30
|
puts "Rails.configuration.after_initialize, RAILS_ROOT=[#{RAILS_ROOT}], RAILS_ENV=#{RAILS_ENV}"
|
31
31
|
if RAILS_DEFAULT_LOGGER.nil?
|
@@ -41,7 +41,7 @@ else
|
|
41
41
|
#Rails 3
|
42
42
|
|
43
43
|
# Rails n'est pas encore initalisé dans ce cas
|
44
|
-
puts "GEM translations_ennder V#{TranslationsEnnder.version}
|
44
|
+
puts "GEM translations_ennder V#{TranslationsEnnder.version} Rails V3+"
|
45
45
|
|
46
46
|
init_translations_ennder
|
47
47
|
end
|
metadata
CHANGED
@@ -1,104 +1,60 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: translations_ennder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.7
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ennder
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 3.8.0
|
22
|
-
type: :development
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.8.0
|
30
|
-
description: ! 'Ce plugin apporte des traductions standard en français et anglais.
|
31
|
-
|
32
|
-
This plugin brings translations in french and english.'
|
33
|
-
email: mel@ennder.fr
|
34
|
-
executables:
|
35
|
-
- .directory
|
36
|
-
- translations_ennder
|
11
|
+
date: 2018-04-28 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Apporte des traductions Françaises et Anglaises. Permet la traduction
|
14
|
+
automatique des labels pour Rails 2 et Rails 3+
|
15
|
+
email: mel+rails@ennder.fr
|
16
|
+
executables: []
|
37
17
|
extensions: []
|
38
|
-
extra_rdoc_files:
|
39
|
-
- History.txt
|
40
|
-
- bin/.directory
|
41
|
-
- bin/translations_ennder
|
42
|
-
- lib/.directory
|
43
|
-
- lib/translations_ennder/.directory
|
44
|
-
- lib/translations_ennder/locales/.directory
|
45
|
-
- lib/translations_ennder/locales/en.yml
|
46
|
-
- lib/translations_ennder/locales/fr.yml
|
47
|
-
- lib/translations_ennder/locales_rails2/.directory
|
48
|
-
- lib/translations_ennder/locales_rails2/en.yml
|
49
|
-
- lib/translations_ennder/locales_rails2/fr.yml
|
18
|
+
extra_rdoc_files: []
|
50
19
|
files:
|
51
|
-
-
|
52
|
-
-
|
53
|
-
- .rvmrc
|
54
|
-
- History.txt
|
20
|
+
- Changelog
|
21
|
+
- MIT-LICENSE
|
55
22
|
- README.md
|
56
23
|
- Rakefile
|
57
|
-
-
|
58
|
-
- app/helpers/.directory
|
24
|
+
- TODO
|
59
25
|
- app/helpers/application_helper.rb
|
60
|
-
- bin/.directory
|
61
|
-
- bin/translations_ennder
|
62
|
-
- lib/.directory
|
63
26
|
- lib/translations_ennder.rb
|
64
|
-
- lib/translations_ennder/.directory
|
65
27
|
- lib/translations_ennder/conversions_with_i18n_label.rb
|
66
28
|
- lib/translations_ennder/conversions_with_i18n_to_s.rb
|
67
|
-
- lib/translations_ennder/locales/.directory
|
68
29
|
- lib/translations_ennder/locales/en.yml
|
69
30
|
- lib/translations_ennder/locales/fr.yml
|
70
|
-
- lib/translations_ennder/locales_rails2/.directory
|
71
31
|
- lib/translations_ennder/locales_rails2/en.yml
|
72
32
|
- lib/translations_ennder/locales_rails2/fr.yml
|
73
33
|
- lib/translations_ennder/rails.rb
|
74
|
-
- test/.directory
|
75
|
-
- test/integration/.directory
|
76
34
|
- test/integration/translations_ennder_test.rb
|
77
|
-
|
78
|
-
|
79
|
-
|
35
|
+
homepage: https://github.com/ennder/translatios_ennder
|
36
|
+
licenses:
|
37
|
+
- MIT
|
38
|
+
metadata: {}
|
80
39
|
post_install_message:
|
81
|
-
rdoc_options:
|
82
|
-
- --main
|
83
|
-
- README.md
|
40
|
+
rdoc_options: []
|
84
41
|
require_paths:
|
85
42
|
- lib
|
86
43
|
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
44
|
requirements:
|
89
|
-
- -
|
45
|
+
- - ">="
|
90
46
|
- !ruby/object:Gem::Version
|
91
47
|
version: '0'
|
92
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
49
|
requirements:
|
95
|
-
- -
|
50
|
+
- - ">="
|
96
51
|
- !ruby/object:Gem::Version
|
97
52
|
version: '0'
|
98
53
|
requirements: []
|
99
|
-
rubyforge_project:
|
100
|
-
rubygems_version:
|
54
|
+
rubyforge_project:
|
55
|
+
rubygems_version: 2.6.12
|
101
56
|
signing_key:
|
102
|
-
specification_version:
|
103
|
-
summary:
|
57
|
+
specification_version: 4
|
58
|
+
summary: Apporte des traductions standard en Français et Anglais -- Brings translations
|
59
|
+
in French and English.
|
104
60
|
test_files: []
|
data/.bnsignore
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# The list of files that should be ignored by Mr Bones.
|
2
|
-
# Lines that start with '#' are comments.
|
3
|
-
#
|
4
|
-
# A .gitignore file can be used instead by setting it as the ignore
|
5
|
-
# file in your Rakefile:
|
6
|
-
#
|
7
|
-
# Bones {
|
8
|
-
# ignore_file '.gitignore'
|
9
|
-
# }
|
10
|
-
#
|
11
|
-
# For a project with a C extension, the following would be a good set of
|
12
|
-
# exclude patterns (uncomment them if you want to use them):
|
13
|
-
# *.[oa]
|
14
|
-
# *~
|
15
|
-
announcement.txt
|
16
|
-
coverage
|
17
|
-
doc
|
18
|
-
pkg
|
19
|
-
|
20
|
-
#Ennder
|
21
|
-
bin/.directory
|
data/.gitignore
DELETED
data/.rvmrc
DELETED
data/app/.directory
DELETED
data/app/helpers/.directory
DELETED
data/bin/.directory
DELETED
data/bin/translations_ennder
DELETED
data/lib/.directory
DELETED
data/test/.directory
DELETED
data/test/integration/.directory
DELETED
data/version.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.1.6
|