pageflow-public-i18n 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NjljODQxOWJjYzY5NzU5MzA3ZWUzZWZlMWI4MjI4YzNjM2JhYTk5Ng==
5
+ data.tar.gz: !binary |-
6
+ Nzk3OTc5NmJkY2Q5ZmVkMmJlYjNjZjIxMWJhY2U3MmRlYWZjODdmNA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ODk0MzAyNmE0ZTg2MDE5MTU3NWFkZjRlMmE0MmE4ZTU0NjU3NmZiOTM2ZDg1
10
+ ZGQyNWEwZWY3Nzk3MWU4YjgzODZhMDU3MjJlNmI3MjQ2YWY1ZmZjOTRmNmI5
11
+ ZmQyNDgxZDYwZWNjNTQ0Yjc0OTQwNmEwOTQyZjQwNzEwZTYxNTQ=
12
+ data.tar.gz: !binary |-
13
+ YjlkYTg1MDZjMzFjNjhlNjJmMjg5MWYzMjUyYzkyMDUwMDVkNWYxMTg1OWQ5
14
+ YzBlYmNiNzI4MWNjZWI3NDIxYTA3MWIzNDhiOTVmYjg5ODRiYzBjN2EyMTY1
15
+ MTRhZmQ1YzcxZmEyMTc3ZDc1M2Q3NzczZmFlODkwOTU2MDIxYjM=
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ .localeapp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pageflow-public-i18n.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # Pageflow Public I18n
2
+
3
+ A shared library of translations to be used in published Pageflow
4
+ entries.
5
+
6
+ ## Installation
7
+
8
+ This gem is not supposed to be installed directly into Pageflow
9
+ applications. It can instead be used as a dependency of Pageflow
10
+ plugin gems.
11
+
12
+ ## Rationale
13
+
14
+ This gem is supposed to make adding new available locales for
15
+ published Pageflows easy. When adding a new language, instead of
16
+ having to make changes to all Pageflow plugin gems that contribute ui
17
+ elements to published Pageflows, the additional translations only need
18
+ to be added to this gem.
19
+
20
+ Whenever a Pageflow plugin needs a translation for a new string, it
21
+ can be added to this gem in a new minor version. The plugin can then
22
+ depend that version to ensure the translation is present.
23
+
24
+ ## Usage
25
+
26
+ Make the gem a dependency of you Pageflow plugin:
27
+
28
+ spec.add_dependency 'pageflow-public-i18n', '~> 1.0'
29
+
30
+ Start using translations from the `pageflow.public` namespace:
31
+
32
+ I18n.t('pageflow.public.close')
33
+
34
+ ## Contributing Locales
35
+
36
+ Edit the translations directly on the
37
+ [pageflow-public-i18n](http://www.localeapp.com/projects/public?search=tf/pageflow-public-i18n)
38
+ Localeapp project.
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,74 @@
1
+ de:
2
+ pageflow:
3
+ public:
4
+ _language: Deutsch
5
+ audio: Audio
6
+ back: Zurück
7
+ before_after:
8
+ hint: Vorher/Nacher Ansicht
9
+ leave_view: Vorher/Nachher-Ansicht verlassen und Text einblenden
10
+ start: Vorher/Nachher-Ansicht starten
11
+ start_title: Vorher/Nachher-Ansicht starten
12
+ chapter: Kapitel
13
+ chart:
14
+ toggle: Ansicht vergrößern bzw. verkleinern
15
+ close: Schließen
16
+ close_hint: Hinweis schließen
17
+ close_navigation: Navigation schließen
18
+ close_overview: Übersicht schließen
19
+ deprecated_browser: <p>Liebe Nutzer,</p><p>leider nutzen Sie eine veraltete Version Ihres Browsers. Deshalb können die an dieser Stelle vorgesehenen Inhalte nicht korrekt dargestellt werden. Bitte aktualisieren Sie auf eine aktuelle Version.</p>
20
+ embedded_video:
21
+ leave_video: Eingebettetes Video verlassen
22
+ enlarge_view: Ansicht vergrößern
23
+ enter_fullscreen: Vollbilddarstellung
24
+ first_page: Erste Seite
25
+ forward: Vorwärts
26
+ fullscreen: Vollbilddarstellung
27
+ goto_first_page: Zur ersten Seite
28
+ goto_top: Zum Anfang
29
+ hide_text: Text ausblenden
30
+ home: Startseite
31
+ imprint: Impressum
32
+ javascript_hint: Zur korrekten Anzeige der Seite benötigen Sie JavaScript.
33
+ leave_fullscreen: Vollbilddarstellung beenden
34
+ lets_go: Los geht's
35
+ logo: Logo
36
+ mute_off: Ton ein
37
+ mute_on: Ton aus
38
+ navigate_top: Zum Anfang
39
+ navigation: Navigation
40
+ new_pages_box:
41
+ additional_pages_html: ! '...und <span></span> weitere'
42
+ description: ! 'Seit dem letzten Besuch wurden diesem Pageflow neue Seiten hinzugefügt:'
43
+ title: Neue Seiten
44
+ notice: Hinweis
45
+ open_navigation: Navigation öffnen
46
+ open_overview: Übersicht öffnen
47
+ overview: Übersicht
48
+ panorama:
49
+ close: 360°-Ansicht verlassen und Text einblenden
50
+ start: 360°-Ansicht starten
51
+ play_video: Video ansehen
52
+ scroll_back_indicator: ! ' '
53
+ scroll_down: Runter scrollen
54
+ scroll_hint: Mit dem Mausrad oder den Pfeiltasten auf der Tastatur wird die jeweils nächste Kapitelseite aufgerufen.
55
+ scroll_indicator: Scrollen, um weiterzulesen
56
+ scroll_left: Nach links scrollen
57
+ scroll_right: Nach rechts scrollen
58
+ scroll_up: Hoch scrollen
59
+ share: Teilen
60
+ share_on_facebook: Auf Facebook teilen
61
+ share_on_google: Auf Google+ teilen
62
+ share_on_twitter: Auf Twitter teilen
63
+ share_this_entry: Diesen Beitrag
64
+ share_this_page: Diese Seite
65
+ show_home: Zur Startseite
66
+ show_text: Text einblenden
67
+ skip_links_content: Zum Inhalt
68
+ skip_links_navigation: Zur Seitennavigation
69
+ skip_links_top_navigation: Zur Dachnavigation
70
+ sound_hint: Für dieses multimediale Reportage-Format nutzen wir neben Texten und Fotos auch Audios und Videos. Daher sollten die Lautsprecher des Systems eingeschaltet sein.
71
+ swipe_hint: Durch Wischen wird die jeweils nächste Kapitelseite aufgerufen.
72
+ swipe_indicator: Wischen, um Text einzublenden
73
+ video: Video
74
+ volume: Lautstärke
@@ -0,0 +1,74 @@
1
+ en:
2
+ pageflow:
3
+ public:
4
+ _language: English
5
+ audio: Audio
6
+ back: Back
7
+ before_after:
8
+ hint: Before/after view
9
+ leave_view: Leave before/after view
10
+ start: Start before/after view
11
+ start_title: Start before/after view
12
+ chapter: Chapter
13
+ chart:
14
+ toggle: Toggle
15
+ close: Close
16
+ close_hint: Close hint
17
+ close_navigation: Close navigation
18
+ close_overview: Close overview
19
+ deprecated_browser: <p>Your browser is outdated and this page might not work as intended. We recommend upgrading your brwoser to the most recent version.</p>
20
+ embedded_video:
21
+ leave_video: Leave embedded video
22
+ enlarge_view: Enlarge view
23
+ enter_fullscreen: Enter Fullscreen mode
24
+ first_page: First page
25
+ forward: Forward
26
+ fullscreen: Fullscreen
27
+ goto_first_page: Go to first page
28
+ goto_top: Goto first page
29
+ hide_text: Hide text
30
+ home: Start
31
+ imprint: Imprint
32
+ javascript_hint: This application utilizes JavaScript for enhanced functionality and user experience. Your browser may not support JavaScript or it may be disabled.
33
+ leave_fullscreen: Exit fullscreen mode
34
+ lets_go: Let's go
35
+ logo: Logo
36
+ mute_off: Unmute
37
+ mute_on: Mute
38
+ navigate_top: Goto first page
39
+ navigation: Navigation
40
+ new_pages_box:
41
+ additional_pages_html: ! '...and <span></span> more'
42
+ description: ! 'Since your last visit, pages have been added to this pageflow:'
43
+ title: New Pages
44
+ notice: Notice
45
+ open_navigation: Open navigation
46
+ open_overview: Open overview
47
+ overview: Overview
48
+ panorama:
49
+ close: Close 360° panorama and display text
50
+ start: Start 360° panorama
51
+ play_video: Play video
52
+ scroll_back_indicator: ! ' '
53
+ scroll_down: Scroll down
54
+ scroll_hint: Use the mouse wheel or the arrow keys on your keyboard to navigate between pages.
55
+ scroll_indicator: Scroll down to continue
56
+ scroll_left: Scroll left
57
+ scroll_right: Scroll right
58
+ scroll_up: Scroll up
59
+ share: Teilen
60
+ share_on_facebook: Share on Facebook
61
+ share_on_google: Share on Google+
62
+ share_on_twitter: Share on Twitter
63
+ share_this_entry: This story
64
+ share_this_page: This page
65
+ show_home: Start
66
+ show_text: Show text
67
+ skip_links_content: Goto content
68
+ skip_links_navigation: Goto navigation
69
+ skip_links_top_navigation: Goto main navigation
70
+ sound_hint: This multimedia story format uses video and audio footage. Please make sure your speakers are turned on.
71
+ swipe_hint: Swipe to navigate between pages.
72
+ swipe_indicator: Swipe to continue
73
+ video: Video
74
+ volume: Volume
@@ -0,0 +1,74 @@
1
+ fr:
2
+ pageflow:
3
+ public:
4
+ _language: Français
5
+ audio: Audio
6
+ back: Précédent
7
+ before_after:
8
+ hint: Affichage "avant/après"
9
+ leave_view: Quitter l'affichage "avant/après"
10
+ start: Lancer l'affichage "avant/après"
11
+ start_title: Lancer l'affichage "avant/après"
12
+ chapter: Chapitre
13
+ chart:
14
+ toggle: Activer/Désactiver
15
+ close: Fermer
16
+ close_hint: Fermer l’astuce
17
+ close_navigation: Fermer la navigation
18
+ close_overview: Fermer l’aperçu
19
+ deprecated_browser: <p>Votre navigateur est obsolète et il est possible que cette page ne fonctionne pas correctement. Nous vous recommandons de passer à la dernière version de votre navigateur.<p>
20
+ embedded_video:
21
+ leave_video: Quitter la vidéo intégrée
22
+ enlarge_view: Agrandir l’affichage
23
+ enter_fullscreen: Passer en mode plein écran
24
+ first_page: Première page
25
+ forward: Suivant
26
+ fullscreen: Plein écran
27
+ goto_first_page: Accéder à la première page
28
+ goto_top: Accéder à la première page
29
+ hide_text: Masquer le texte
30
+ home: Commencer
31
+ imprint: Achevé d'imprimer
32
+ javascript_hint: Pour un fonctionnement optimal et une meilleure expérience utilisateur, cette application nécessite l’utilisation de JavaScript. Il se peut que votre navigateur soit incompatible avec JavaScript ou que JavaScript soit désactivé.
33
+ leave_fullscreen: Quitter le mode plein écran
34
+ lets_go: Démarrer
35
+ logo: Logo
36
+ mute_off: Désactiver Muet
37
+ mute_on: Muet
38
+ navigate_top: Accéder à la première page
39
+ navigation: Navigation
40
+ new_pages_box:
41
+ additional_pages_html: … et <span></span> plus
42
+ description: ! 'Depuis votre dernière visite, des pages ont été ajoutées à ce Pageflow:'
43
+ title: Nouvelles pages
44
+ notice: Remarque
45
+ open_navigation: Ouvrir la navigation
46
+ open_overview: Ouvrir l‘aperçu
47
+ overview: Aperçu
48
+ panorama:
49
+ close: Fermer le panorama à 360° et afficher le texte
50
+ start: Démarrer le panorama à 360°
51
+ play_video: Lancer la vidéo
52
+ scroll_back_indicator:
53
+ scroll_down: ! "Faire défiler\t"
54
+ scroll_hint: Utilisez la roulette de la souris ou les touches de direction de votre clavier pour parcourir les pages.
55
+ scroll_indicator: Faire défiler pour continuer
56
+ scroll_left: Faire défiler vers la gauche
57
+ scroll_right: Faire défiler vers la droite
58
+ scroll_up: Faire défiler vers le haut
59
+ share: Partager
60
+ share_on_facebook: Partager sur Facebook
61
+ share_on_google: Partager sur Google+
62
+ share_on_twitter: Partager sur Twitter
63
+ share_this_entry: Cette histoire
64
+ share_this_page: Cette page
65
+ show_home: Commencer
66
+ show_text: Afficher le texte
67
+ skip_links_content: Accéder au contenu
68
+ skip_links_navigation: Accéder à la navigation
69
+ skip_links_top_navigation: Accéder à la navigation principale
70
+ sound_hint: Ce format d’histoire multimédia utilise du contenu audio et vidéo. Veuillez vérifier que vos haut-parleurs sont allumés.
71
+ swipe_hint: Balayer pour parcourir les pages.
72
+ swipe_indicator: Balayer pour continuer
73
+ video: Video
74
+ volume: Volume
@@ -0,0 +1,74 @@
1
+ nl-BE:
2
+ pageflow:
3
+ public:
4
+ _language: Nederlands
5
+ audio: Audio
6
+ back: Terug
7
+ before_after:
8
+ hint: Voor / na weergave
9
+ leave_view: ! 'Verlaat de voor / na weergave '
10
+ start: Start de voor / na weergave
11
+ start_title: Start de voor / na weergave
12
+ chapter: Hoofdstuk
13
+ chart:
14
+ toggle: In-/uitschakelen
15
+ close: Sluiten
16
+ close_hint: Hint sluiten
17
+ close_navigation: Navigatie sluiten
18
+ close_overview: Overzicht sluiten
19
+ deprecated_browser: <p>Uw browser is verouderd en deze pagina werkt mogelijk niet zoals verwacht. We raden u aan uw browser te upgraden naar de nieuwste versie.<p>
20
+ embedded_video:
21
+ leave_video: Ingesloten video verlaten
22
+ enlarge_view: Weergave vergroten
23
+ enter_fullscreen: Volledig scherm weergeven
24
+ first_page: Eerste pagina
25
+ forward: Verder
26
+ fullscreen: Volledig scherm
27
+ goto_first_page: Ga naar de eerste pagina
28
+ goto_top: Ga naar de eerste pagina
29
+ hide_text: Tekst verbergen
30
+ home: Starten
31
+ imprint: Colofon
32
+ javascript_hint: Deze toepassing gebruikt JavaScript voor verbeterde functionaliteit en gebruikservaring. Uw browser ondersteunt JavaScript mogelijk niet of het is mogelijk uitgeschakeld.
33
+ leave_fullscreen: Volledig scherm afsluiten
34
+ lets_go: Hier gaan we
35
+ logo: Logo
36
+ mute_off: Dempen uit
37
+ mute_on: Dempen
38
+ navigate_top: Ga naar eerste pagina
39
+ navigation: Navigatie
40
+ new_pages_box:
41
+ additional_pages_html: … en <span></span> meer
42
+ description: ! 'Sinds uw laatste bezoek werden er pagina’s toegevoegd aan deze Pageflow:'
43
+ title: Nieuwe pagina’s
44
+ notice: Opmerking
45
+ open_navigation: Navigatie openen
46
+ open_overview: Overzicht openen
47
+ overview: Overzicht
48
+ panorama:
49
+ close: 360° panorama afsluiten en tekst weergeven
50
+ start: 360° panorama starten
51
+ play_video: Video afspelen
52
+ scroll_back_indicator:
53
+ scroll_down: Omlaag schuiven
54
+ scroll_hint: Gebruik het muiswiel of de pijltoetsen op uw toetsenbord om tussen pagina’s te navigeren.
55
+ scroll_indicator: Omlaag schuiven om verder te gaan
56
+ scroll_left: Naar links schuiven
57
+ scroll_right: Naar rechts schuiven
58
+ scroll_up: Omhoog schuiven
59
+ share: Delen
60
+ share_on_facebook: Delen op Facebook
61
+ share_on_google: Delen op Google+
62
+ share_on_twitter: Delen op Twitter
63
+ share_this_entry: Dit artikel
64
+ share_this_page: Deze pagina
65
+ show_home: Start
66
+ show_text: Tekst weergeven
67
+ skip_links_content: Ga naar inhoud
68
+ skip_links_navigation: Ga naar navigatie
69
+ skip_links_top_navigation: Ga naar hoofdnavigatie
70
+ sound_hint: Dit multimediaverhaal gebruikt video- en audioclips. Ga na of uw luidsprekers ingeschakeld zijn.
71
+ swipe_hint: Vegen om tussen pagina‘s te navigeren
72
+ swipe_indicator: Vegen om verder te gaan
73
+ video: Video
74
+ volume: Volume
@@ -0,0 +1,10 @@
1
+ require 'pageflow/public_i18n/engine'
2
+ require 'pageflow/public_i18n/version'
3
+
4
+ module Pageflow
5
+ module PublicI18n
6
+ def self.available_locales
7
+ [:en, :de, :fr, :'nl-BE']
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,9 @@
1
+ module Pageflow
2
+ module PublicI18n
3
+ class Engine < Rails::Engine
4
+ isolate_namespace Pageflow::PublicI18n
5
+
6
+ config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ module Pageflow
2
+ module PublicI18n
3
+ VERSION = "1.0.0"
4
+ end
5
+ end
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'pageflow/public_i18n/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'pageflow-public-i18n'
8
+ spec.version = Pageflow::PublicI18n::VERSION
9
+ spec.authors = ['Codevise Solutions Ltd.']
10
+ spec.email = ['info@codevise.de']
11
+
12
+ spec.summary = 'Shared translations for Pageflow plugins.'
13
+ spec.homepage = 'http://github.com/codevise/pageflow-public-i18n'
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
+ f.match(%r{^(test|spec|features)/})
17
+ end
18
+
19
+ spec.bindir = 'exe'
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ['lib']
22
+
23
+ spec.add_development_dependency 'bundler', '~> 1.10'
24
+ spec.add_development_dependency 'rake', '~> 10.0'
25
+ end
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pageflow-public-i18n
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Codevise Solutions Ltd.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-11-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description:
42
+ email:
43
+ - info@codevise.de
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - Gemfile
50
+ - README.md
51
+ - Rakefile
52
+ - config/locales/de.yml
53
+ - config/locales/en.yml
54
+ - config/locales/fr.yml
55
+ - config/locales/nl-BE.yml
56
+ - lib/pageflow-public-i18n.rb
57
+ - lib/pageflow/public_i18n/engine.rb
58
+ - lib/pageflow/public_i18n/version.rb
59
+ - pageflow-public-i18n.gemspec
60
+ homepage: http://github.com/codevise/pageflow-public-i18n
61
+ licenses: []
62
+ metadata: {}
63
+ post_install_message:
64
+ rdoc_options: []
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ! '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubyforge_project:
79
+ rubygems_version: 2.4.2
80
+ signing_key:
81
+ specification_version: 4
82
+ summary: Shared translations for Pageflow plugins.
83
+ test_files: []
84
+ has_rdoc: