-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add 'Root folder' and 'Admins' translations and modify some zh-CN translations #53
base: master
Are you sure you want to change the base?
Conversation
ghost
commented
Sep 14, 2016
This reverts commit 9487cba.
Adding spanish translation
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.
Hi, this looks good, thank you! I see some minor problems with the code style like using double quotes instead of single quotes and removing newlines at the end of the file. Can you please check my comments and adjust? Thank you very much.
@@ -9,3 +9,4 @@ db/*.sqlite3 | |||
log/* | |||
tmp/* | |||
uploads/* | |||
.idea |
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.
This probably does not apply to most people. Can you take it out?
@@ -11,6 +11,6 @@ def reset_password_email(user) | |||
|
|||
def share_link_email(share_link) | |||
@share_link = share_link | |||
mail(:to => share_link.user.email, :reply_to => share_link.user.email, :bcc => share_link.emails, :subject => t(:share_link_email_subject, :email => share_link.user.email)) | |||
mail(:to => share_link.user.email, :reply_to => share_link.user.email, :bcc => share_link.emails, :subject => t(:share_link_email_subject, :email => share_link.user.email+"("+share_link.user.name+")")) |
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.
I'd prefer it if you do it like this:
:email => "#{share_link.user.email} (#{share_link.user.name})"
@@ -81,13 +81,13 @@ def has_children? | |||
end | |||
|
|||
def self.root | |||
@root_folder ||= find_by_name_and_parent_id('Root folder', nil) | |||
@root_folder ||= find_by_name_and_parent_id(Folder.human_attribute_name("folder.root_folder"), nil) |
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.
I prefer single quotes. Could you please change that in all the human_attribute_name
calls?
@@ -15,4 +15,4 @@ Ihr altes Kennwort ist weiterhin gültig. | |||
|
|||
-- | |||
Boxroom | |||
http://boxroomapp.com/ | |||
<%= root_url %> |
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.
Don't remove the last newline please.
@@ -14,4 +14,4 @@ Your current password is still valid. | |||
|
|||
-- | |||
Boxroom | |||
http://boxroomapp.com/ | |||
<%= root_url %> |
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.
Don't remove the last newline please.
@@ -17,4 +17,4 @@ | |||
|
|||
-- | |||
Boxroom | |||
http://boxroomapp.com/ | |||
<%= root_url %> |
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.
Don't remove the last newline please.
@@ -6,4 +6,4 @@ This is an invitation to sign up for Boxroom. Please use the following URL to si | |||
|
|||
-- | |||
Boxroom | |||
http://boxroomapp.com/ | |||
<%= root_url %> |
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.
Don't remove the last newline please.
@@ -6,4 +6,4 @@ This is an invitation to sign up for Boxroom. Please use the following URL to si | |||
|
|||
-- | |||
Boxroom | |||
http://boxroomapp.com/ | |||
<%= root_url %> |
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.
Don't remove the last newline please.
@@ -6,4 +6,4 @@ This is an invitation to sign up for Boxroom. Please use the following URL to si | |||
|
|||
-- | |||
Boxroom | |||
http://boxroomapp.com/ | |||
<%= root_url %> |
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.
Don't remove the last newline please.
@@ -6,4 +6,4 @@ Ceci est un mail d'invitation à Boxroom. Pour vous inscrire, veuillez utiliser | |||
|
|||
-- | |||
Boxroom | |||
http://boxroomapp.com/ | |||
<%= root_url %> |
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.
Don't remove the last newline please.
Now I have some updates according to your requirements and recommended |