This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to use localize to replace jquery localize
- Loading branch information
PZhao
committed
Aug 16, 2012
1 parent
b351505
commit 0ed70d0
Showing
14 changed files
with
96 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
rvm use --create "ruby-1.9.2@arthritiscompaign" | ||
rvm use --create "ruby-1.9.2@arthritiscampaign" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
text: | ||
we_have_arthritis: "We Have Arthritis!" | ||
arthritis_does_not_have_us: "Arthritis doesn’t have us." | ||
join_the_arthritis_society_: "Join The Arthritis Society’s special campaign to raise awareness about the impact of the disease on 4.6 million Canadian living with the arthritis. Arthritis can affect anyone; it affects babies and children, as well as people in the prime of their lives. Nearly three of every five people with arthritis are of working age (under 65)." | ||
add_picture_to_show_support_: "Add your picture to show your support!" | ||
create_and_share_photo_: "Create and share your photo using the tool below. Your photo will be posted on our Flickr online gallery, and you will also be able to share it on Facebook, Twitter and Tumblr." | ||
i_agree_to_allow_: "I agree to allow The Arthritis Society to use my photograph as mentioned in the statement linked to this checkbox:*" | ||
required_fields: "* required field" | ||
user_permission_release: "User permission release" | ||
upload_your_photo: "Upload Your Photo" | ||
flickr_gallery: "Flickr Gallery" | ||
get_on_the_map: "Get on the map!" | ||
watch_our_video: "Watch Our Video" | ||
video_source: "http://player.vimeo.com/video/42697821" | ||
view_our_manifesto: "View Our Manifesto" | ||
pick_your_message: "Pick your message" | ||
generate_your_image: "Generate your image!" | ||
share_your_image: "Share your image" | ||
share_on_facebook: "Share on Facebook" | ||
share_on_twitter: "Share on Twitter" | ||
share_on_tumblr: "Share on Tumblr" | ||
please_add_message_for_sharing_: "Please add message for sharing the image on Facebook:" | ||
continue: "Continue" | ||
cancel: "Cancel" | ||
picture_posted_on_facebook: "Your picture has been posted on your Facebook profile." | ||
close_window: "Close Window" | ||
window_will_be_closed_in_seconds: This window will be closed in seconds..." | ||
formats: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
text: | ||
we_have_arthritis: "Nous sommes atteints d’arthrite!" | ||
arthritis_does_not_have_us: "L’arthrite n’atteint pas notre courage." | ||
join_the_arthritis_society_: "Joignez-vous à la campagne spéciale de la Société de l’arthrite pour sensibiliser davantage les gens à l’égard de cette maladie qui touche 4,6 millions de Canadiens. L’arthrite peut affliger tout le monde : les bébés, les enfants et les gens dans la fleur de l’âge. Près de trois personnes sur cinq aux prises avec l’arthrite sont en âge de travailler (moins de 65 ans)." | ||
add_picture_to_show_support_: "Joignez votre photo pour démontrer votre appui" | ||
create_and_share_photo_: "Téléchargez et partagez votre photo au moyen de l’outil ci-dessous. Elle sera affichée sur notre galerie Flickr en ligne et vous pourrez également la partager sur Facebook, Twitter et Tumblr." | ||
i_agree_to_allow_: "J’accepte que la Société de l’arthrite utilise ma photo comme il est mentionné dans l’énoncé accessible à partir de ce lien* :" | ||
required_fields: "* Champs obligatoires" | ||
user_permission_release: "Autorisation de publication de l’utilisateu" | ||
upload_your_photo: "Téléchargez votre photo" | ||
flickr_gallery: "Galerie Flickr" | ||
get_on_the_map: "Affichez-vous!" | ||
watch_our_video: "Regardez notre vidéo" | ||
video_source: "http://player.vimeo.com/video/42697820" | ||
view_our_manifesto: "Lisez notre manifeste" | ||
pick_your_message: "Choisissez votre message" | ||
generate_your_image: "Créez votre image!" | ||
share_your_image: "Partager une photo" | ||
share_on_facebook: "Partager sur Facebook" | ||
share_on_twitter: "Partager sur Twitter" | ||
share_on_tumblr: "Partager sur Tumblr" | ||
please_add_message_for_sharing_: "Veuillez ajouter un message pour accompagner la photo à partager sur Facebook :" | ||
continue: "Poursuivre" | ||
cancel: "Annuler" | ||
picture_posted_on_facebook: "Votre photo s'affiche maintenant dans votre profil Facebook." | ||
close_window: "Fermer la fenêtre" | ||
window_will_be_closed_in_seconds: "Cette fenêtre est en cours de fermeture..." | ||
formats: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
%center | ||
%h3.alert.alert-success#facebook-confirm{'data-localize' =>'picture_posted_on_facebook'} Your picture has been posted on your Facebook profile. | ||
%a{:href =>"", :OnClick => "window.close()", 'data-localize' => 'close_window'}Close Window | ||
%h3.alert.alert-success#facebook-confirm= t.picture_posted_on_facebook | ||
%a{:href =>"", :OnClick => "window.close()"}= t.close_window | ||
%br | ||
%dev{'data-localize' =>"window_will_be_closed_in_seconds"} This window will be closed in seconds... | ||
|
||
%dev= t.window_will_be_closed_in_seconds | ||
:javascript | ||
setTimeout("self.close();",5000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters