forked from ruby-rcade/RubyGameDev.com
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature implement i18n #17
Open
KarenVentura
wants to merge
7
commits into
master
Choose a base branch
from
feature_implement_I18n
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a5becc4
Delete pirates locales
fdb96c6
Merge branch 'feature_implement_I18n' of github.com:PowerCodeGirls/Ru…
bafbdfa
Merge branch 'feature_implement_I18n' of github.com:PowerCodeGirls/Ru…
72dddc4
Set i18n views
435c46f
Remove tests for feature I18n
830c18b
Add capybara settings
f745516
Fix traslation in post form
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,4 +1,11 @@ | ||
<div class="comment"> | ||
<p><a href="#" class="author"><%= comment.user.username %></a> - <time><%= time_ago_in_words comment.created_at %> ago</time></p> | ||
<%= simple_format comment.body %> | ||
<p> | ||
<a href="#" class="author"> | ||
<%= comment.user.username %> | ||
</a> - | ||
<time> | ||
<%= time_ago_in_words comment.created_at %> | ||
ago | ||
</time></p> | ||
<%= simple_format comment.body %> | ||
</div> |
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 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,4 +1,4 @@ | ||
<h1>Tags List</h1> | ||
<h1><%= t('tags_list')%></h1> | ||
|
||
<div class="tags-container container-fluid"> | ||
<div class="row"> | ||
|
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 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 |
---|---|---|
|
@@ -21,27 +21,62 @@ | |
|
||
en: | ||
hello: "Hello world" | ||
|
||
post: | ||
latest_post: "Latest Post"#pendiente de revisar | ||
tag: "Tags" | ||
title: "title" | ||
body_markdown: "body_markdown" | ||
# home | ||
welcome: "Welcome to RubyGameDev.com, the community-driven, information hub which helps others to build games in Ruby! First time here? " | ||
latest_post: "Latest Post" # pendiente de revisar | ||
submitted: "Submitted by " | ||
_on: "on" | ||
|
||
edit_post: "Editing Post" | ||
result: "No result found" | ||
|
||
# new post | ||
new_post: "New Post" | ||
welcome: "Welcome to RubyGameDev.com, the community-driven, information hub which helps others to build games in Ruby! First time here? " | ||
error_explanation: "prohibited this post from being saved:" | ||
title: "title" | ||
body_markdown: "body_markdown" | ||
tag: "Tags" | ||
submit_value: "Create Post" | ||
|
||
#show post | ||
posted_by: "Posted by:" | ||
destroy: "Destroy" | ||
confirm: "Are you sure?" | ||
edit: "Edit" | ||
comments: "Comments" | ||
|
||
comment: | ||
add_comment: "Add Comment" | ||
discussion: "to participate in the discussion!" | ||
create_account: "Create an Account" | ||
|
||
digest_email: | ||
digest: "Digest Email" | ||
subscribe: "You are signed up to receive" | ||
end: " digest emails." | ||
daily: " Daily" | ||
weekly: " Weekly" | ||
monthly: " Monthly" | ||
email_example: "[email protected]" | ||
subscribe_email: "Subscribe" | ||
subscribe_button: "Subscribe" | ||
sign_up: Sign up for an email digest so you never miss a thing! | ||
|
||
social_network: | ||
github: "Help Out on GitHub" | ||
twitter: "Follow %{count}" | ||
twitter: "Follow %{count}" | ||
|
||
votes: | ||
votes: "votes" | ||
|
||
tags: | ||
tags_list: "Tags List" | ||
tags_for: "Post List For" | ||
tag: "Tag" | ||
|
||
user: | ||
my_account: "My Account" | ||
disply_name: "Display name" | ||
email: "Email" | ||
submit_button_save: "Save" |
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 |
---|---|---|
|
@@ -3,28 +3,24 @@ | |
get '/auth/failure', to: 'sessions#auth_failure' | ||
|
||
root 'pages#home' | ||
|
||
resources :users, only: [:create, :edit, :update] | ||
get '/account' => 'users#edit_current_user', as: :account | ||
|
||
scope "/locate" do | ||
get '/locate' => 'pages#home' | ||
|
||
resources :users, only: [:create, :edit, :update] | ||
get '/account' => 'users#edit_current_user', as: :account | ||
|
||
resources :posts do | ||
member do | ||
put :vote | ||
end | ||
resources :posts do | ||
member do | ||
put :vote | ||
end | ||
end | ||
|
||
resources :comments | ||
resources :tags | ||
resources :comments | ||
resources :tags | ||
|
||
resources :libraries | ||
resources :library_categories | ||
resources :libraries | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why was this removed? |
||
resources :library_categories | ||
|
||
get 'about' => 'pages#about', as: :about_page | ||
get 'about' => 'pages#about', as: :about_page | ||
|
||
# Short Links | ||
get ':id' => 'short_links#post', as: :post_short_link, constraints: { id: /\d+/ } | ||
end | ||
end | ||
# Short Links | ||
get ':id' => 'short_links#post', as: :post_short_link, constraints: { id: /\d+/ } | ||
end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace detected.