diff options
author | James Thompson <james.b.thompson@gmail.com> | 2012-03-14 11:40:16 +0200 |
---|---|---|
committer | James Thompson <james.b.thompson@gmail.com> | 2012-03-14 11:40:16 +0200 |
commit | 56d7747f54e86993415b76c92e101608e5ea44e2 (patch) | |
tree | 025b7b37f50c4c291e7e676286e7767c40adb1f9 /config | |
download | refinerycms-pc_banners-56d7747f54e86993415b76c92e101608e5ea44e2.tar.gz refinerycms-pc_banners-56d7747f54e86993415b76c92e101608e5ea44e2.tar.bz2 refinerycms-pc_banners-56d7747f54e86993415b76c92e101608e5ea44e2.zip |
initial commit
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/en.yml | 35 | ||||
-rw-r--r-- | config/locales/es.yml | 36 | ||||
-rw-r--r-- | config/locales/fr.yml | 35 | ||||
-rw-r--r-- | config/locales/nb.yml | 35 | ||||
-rw-r--r-- | config/locales/nl.yml | 35 | ||||
-rw-r--r-- | config/routes.rb | 19 |
6 files changed, 195 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..519a5dd --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,35 @@ +en: + refinery: + plugins: + banners: + title: Banners + banners: + admin: + banners: + actions: + create_new: Add New Banner + reorder: Reorder Banners + reorder_done: Done Reordering Banners + records: + title: Banners + sorry_no_results: Sorry! There are no results found. + no_items_yet: There are no Banners yet. Click "Add New Banner" to add your first banner. + banner: + view_live_html: View this banner live <br/><em>(opens in a new window)</em> + edit: Edit this banner + delete: Remove this banner forever + banners: + show: + other: Other Banners + activerecord: + attributes: + 'refinery/banners/banner': + name: Name + title: Title + description: Description + image: Image + url: Url + is_active: Is Active + start_date: Start Date + expiry_date: Expiry Date + position: Position
\ No newline at end of file diff --git a/config/locales/es.yml b/config/locales/es.yml new file mode 100644 index 0000000..567da7f --- /dev/null +++ b/config/locales/es.yml @@ -0,0 +1,36 @@ +es: + refinery: + plugins: + banners: + title: Banners +# article: masculino/femenino + banners: + admin: + banners: + actions: + create_new: Crear nuevo banner + reorder: Reordenar banners + reorder_done: Reordenación de banners completada + records: + title: Banners + sorry_no_results: Lo siento, no hay resultados + no_items_yet: No hay banners todavía. Pulsa en "Crear nuevo Banner" para crear tu primer banner. + banner: + view_live_html: Ver este banner como abierto al público <br/><em>(abre en ventana nueva)</em> + edit: Editar este banner + delete: Borrar este banner para siempre + banners: + show: + other: Otros banners + activerecord: + attributes: + 'refinery/banners/banner': + name: Name + title: Title + description: Description + image: Image + url: Url + is_active: Is Active + start_date: Start Date + expiry_date: Expiry Date + position: Position
\ No newline at end of file diff --git a/config/locales/fr.yml b/config/locales/fr.yml new file mode 100644 index 0000000..3a2b0ba --- /dev/null +++ b/config/locales/fr.yml @@ -0,0 +1,35 @@ +fr: + refinery: + plugins: + banners: + title: Banners + banners: + admin: + banners: + actions: + create_new: Créer un(e) nouve(au/l/lle) Banner + reorder: Réordonner les Banners + reorder_done: Fin de réordonnancement des Banners + records: + title: Banners + sorry_no_results: "Désolé ! Aucun résultat." + no_items_yet: 'Il n''y a actuellement aucun(e) Banner. Cliquer sur "Créer un(e) nouve(au/l/lle) Banner" pour créer votre premi(er/ère) banner.' + banner: + view_live_html: Voir ce(t/tte) banner <br/><em>(Ouvre une nouvelle fenêtre)</em> + edit: Modifier ce(t/tte) banner + delete: Supprimer définitivement ce(t/tte) banner + banners: + show: + other: Autres Banners + activerecord: + attributes: + 'refinery/banners/banner': + name: Name + title: Title + description: Description + image: Image + url: Url + is_active: Is Active + start_date: Start Date + expiry_date: Expiry Date + position: Position
\ No newline at end of file diff --git a/config/locales/nb.yml b/config/locales/nb.yml new file mode 100644 index 0000000..04debc5 --- /dev/null +++ b/config/locales/nb.yml @@ -0,0 +1,35 @@ +nb: + refinery: + plugins: + banners: + title: Banners + banners: + admin: + banners: + actions: + create_new: Lag en ny Banner + reorder: Endre rekkefølgen på Banners + reorder_done: Ferdig å endre rekkefølgen Banners + records: + title: Banners + sorry_no_results: Beklager! Vi fant ikke noen resultater. + no_items_yet: Det er ingen Banners enda. Klikk på "Lag en ny Banner" for å legge til din første banner. + banner: + view_live_html: Vis hvordan denne banner ser ut offentlig <br/><em>(åpner i et nytt vindu)</em> + edit: Rediger denne banner + delete: Fjern denne banner permanent + banners: + show: + other: Andre Banners + activerecord: + attributes: + 'refinery/banners/banner': + name: Name + title: Title + description: Description + image: Image + url: Url + is_active: Is Active + start_date: Start Date + expiry_date: Expiry Date + position: Position
\ No newline at end of file diff --git a/config/locales/nl.yml b/config/locales/nl.yml new file mode 100644 index 0000000..c637b8a --- /dev/null +++ b/config/locales/nl.yml @@ -0,0 +1,35 @@ +nl: + refinery: + plugins: + banners: + title: Banners + banners: + admin: + banners: + actions: + create_new: Maak een nieuwe Banner + reorder: Wijzig de volgorde van de Banners + reorder_done: Klaar met het wijzingen van de volgorde van de Banners + records: + title: Banners + sorry_no_results: Helaas! Er zijn geen resultaten gevonden. + no_items_yet: Er zijn nog geen Banners. Druk op 'Maak een nieuwe Banner' om de eerste aan te maken. + banner: + view_live_html: Bekijk deze banner op de website <br/><em>(opent een nieuw venster)</em> + edit: Bewerk deze banner + delete: Verwijder deze banner voor eeuwig + banners: + show: + other: Andere Banners + activerecord: + attributes: + 'refinery/banners/banner': + name: Name + title: Title + description: Description + image: Image + url: Url + is_active: Is Active + start_date: Start Date + expiry_date: Expiry Date + position: Position
\ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..bc26998 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,19 @@ +Refinery::Core::Engine.routes.append do + + # Frontend routes + namespace :banners do + resources :banners, :path => '', :only => [:index, :show] + end + + # Admin routes + namespace :banners, :path => '' do + namespace :admin, :path => 'refinery' do + resources :banners, :except => :show do + collection do + post :update_positions + end + end + end + end + +end |