Skip to content

Commit

Permalink
adding support for pirate
Browse files Browse the repository at this point in the history
  • Loading branch information
zr2d2 committed May 20, 2012
1 parent 9fb100e commit 62296cd
Show file tree
Hide file tree
Showing 14 changed files with 166 additions and 1 deletion.
49 changes: 49 additions & 0 deletions config/locales/controllers/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
pirate:
#Contents controller
content_created: "Yar, yer content was made."
content_updated: "Yar, yer content changed."

#Feeds controller
feed_created: "Yar, yer feed got made."
feed_updated: "Yar, yer feed changed."

#Fields controller
field_created: "Yar, yer field got made."
field_updated: "Yar, yer field changed."

#Groups controller
group_created: "Yar, yer group got made."
group_updated: "Yar, yer group changed."

#Memberships controller
membership_created: "Yar, yer membership got made."
membership_updated: "Yar, yer membership changed."
member_removed: "He walked the plank"

#Positions controller
position_created: "Yar, yer position got made."
position_updated: "Yar, yer position changed."

#Screens controller
screen_created: "Yar, yer screen got made."
screen_updated: "Yar, yer screen changed."

#Submissions controller
content_approved: "Yer content looks good to me."
content_failed_approve: "Yer content doesn't work."
content_denied: "Nah, the contents no good."
content_failed_deny: "There's no denying that content."
content_moderated: "Yer content was looked at."
content_failed_moderation: "Yer content can't be looked at"

#Subscriptions controller
subscription_created: "Yar, yer subscription got made."
subscription_updated: "Yar, yer subscription changed."

#Templates controller
template_created: "Yar, yer template got made."
template_updated: "Yar, yer template changed."

#Users controller
user_created: "Welcome aboard."
user_updated: "Yar, yer user changed."
16 changes: 15 additions & 1 deletion config/locales/pirate.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
pirate:
browse_content: "Arrr, browse content Ye'll ne'er get me buried booty!"
is_viewable: "see for yourself!"
is_submittable: "Yer can send it here"
membership_approved: "Welcome aboard"
membersip_denied: "Walk the plank!"

#CanCan Exceptions localization (https://github.com/ryanb/cancan/wiki/exception-handling)
unauthorized:
read:
all: "Ye'll never see %{subject}."
create:
all: "Ye'll never make %{subject}."
update:
all: "Ye'll never change %{subject}."
delete:
all: "Ye'll never get rid the %{subject}."
42 changes: 42 additions & 0 deletions config/locales/views/contents/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
pirate:
#index
browse_content_by_feed: "See me buried booty in yer feed"
browse_content_by_screen: "See me buried booty in yer Screen"

#_form
submit: "Send"

#_table
title: "Name"
link: "Chain"
description: "Words"
submitted: "Sent in"
updated: "Changed"

#edit
editing_content: "change yer content"
show: "See me buried booty"
back: "Run while you still can"

#form_elements/_feeds
no_feeds: "Yer plumb out of feeds that yer can send content to. Alert yer captain."

#content/form
prohibited_save: "Yer content was barred from boarding the ship:"
provide_details: "What's in that cask"
select_feed: "What feed you using"
select_content_type: "What type of content you got there"

#graphic/form
upload_graphic: "Send in a graphic from yer machine"
specify_file: "Tell me which file"
accepted_filetypes: "here's the filetypes"

#ticker/form
upload_ticker: "pen yer message"

#new
select_type: "What type you got there"
design_graphic: "Make an image"
add: "Give it to me"
content: "cargo"
10 changes: 10 additions & 0 deletions config/locales/views/dashboard/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
pirate:
#index
public_concerto: "Any sort of rift raft"
default_upload_type: "The normal type"
content_default_start_time: "When we set sail"
content_default_end_time: "When we come home"
content_default_duration: "number of days at sea"
start_date_offset: "How long shall we wait to ship off?"
default_content_run_time: "Default content run time (in days)"
setup_complete: "We're ready to set sail"
14 changes: 14 additions & 0 deletions config/locales/views/elements/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pirate:
#_topmenu
settings: "Marks"
log_out: "Abandon ship"
sign_up: "Sign on"
sign_in: "Check In"
add: "Add"
content: "doubloon"
groups: "Crews"
users: "Scaliwags"
manage: "Control"
templates: "Treasure Map"
screens: "Telescope"
moderate: "Yay or Nay"
20 changes: 20 additions & 0 deletions config/locales/views/feeds/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pirate:
#_form
prohibited_feed_save: "Stopped yer chest from being buried:"
name: "Name"
description: "Description"
parent: "Elder"
group: "Scaliwags"
submit: "Hand Over"
edit_feed: "Change Feed"
show: "See"
edit: "Edit"
back: "Run while you still can"
delete: "Burn"
new_feed: "New Feed"
are_you_sure: "Yar, yer really want to do that?"
child_feeds: "Young Feeds"
approved_content: "Content that's OK"
denied_content: "Banned Content"
pending_content: "Content for yer perusal"
moderate: "Yay or Nay"
1 change: 1 addition & 0 deletions config/locales/views/fields/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pirate:
1 change: 1 addition & 0 deletions config/locales/views/groups/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pirate:
1 change: 1 addition & 0 deletions config/locales/views/positions/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pirate:
9 changes: 9 additions & 0 deletions config/locales/views/screens/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pirate:
#index
provide_details: "What's in that cask"
select_template: "What cutout you gonna use?"
current_template: "Here be yer cutout"
best_fit_templates: "Some cutouts that work well"
other_templates: "More cutouts"
select_feed: "Which feed you want?"
filter_for_feeds: "Selected feeds"
1 change: 1 addition & 0 deletions config/locales/views/submissions/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pirate:
1 change: 1 addition & 0 deletions config/locales/views/subscriptions/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pirate:
1 change: 1 addition & 0 deletions config/locales/views/templates/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pirate:
1 change: 1 addition & 0 deletions config/locales/views/users/pirate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pirate:

0 comments on commit 62296cd

Please sign in to comment.