-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Translation from en to zh #58
Conversation
@@ -5,11 +5,11 @@ p(警告警报)。当我们过渡到新系统,我们会撤下关于如何 | |||
|
|||
h2. 什么是 RiseupVPN? | |||
|
|||
虚拟专用网(VPN) (VPN) 通常用于远程工作人员连接到主办公室网络。RiseupVPN是不同的:它 <%= 连接 ‘sends all your internet traffic through an encrypted connection’ => ‘how-vpn-works’ %>到 riseup.net,然后发送到公共网络。有时,这种VPN也叫做“个人VPN”。个人VPN的目的不是为了安全地与专用网络连接,而是要你安全地连接到整个互联网。 | |||
虚拟专用网(VPN)通常用于远程工作人员连接到主办公室网络。RiseupVPN是不同的:它 <%= 连接 ‘sends all your internet traffic through an encrypted connection’ => ‘how-vpn-works’ %>到 riseup.net,然后发送到公共网络。有时,这种 VPN也叫做“个人 VPN”。个人 VPN的目的不是为了安全地与专用网络连接,而是要你安全地连接到整个互联网。 |
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 changed this earlier because it was causing amber rebuild to fail. Links should be in the format [[LINK NAME => URL]] so this
<%= 连接 ‘sends all your internet traffic through an encrypted connection’ => ‘how-vpn-works’ %>
Appears to make amber rebuild fail.
I think you'll need to update your remote repo and try correcting a few things. |
Hi! |
Copied from en.text. Replaced [[LINK NAME -> URL]] with [LINK NAME => URL]]
Replaced [[LINK NAME -> URL]] with [LINK NAME => URL]]
Replaced [[LINK NAME -> URL]] with [LINK NAME => URL]]
Replaced [[LINK NAME -> URL]] with [LINK NAME => URL]]
that seems overly complicated. I would just correct the way links are formatted in the zh.text files, and then re-issue this pull request. how are you editing files? through this website, or via a local git clone? |
through this website, edited it on github. |
ok. what happens if you edit the files again and re-issue the pull request? |
Maybe it works like this: If it has been 'Merged', a new 'Proposed' will be made. What happened? Dose it serious? I am so sorry... Elijah Sparrow wrote:
|
So I think this is what you need to do. You need to make the changes made by this commit to the vpn/zh.text file:
Look at the changes to the vpn/zh.text file. You need to make the version of the file in your repo identical to the one above. You can find the file here: Your file has to be identical to the version on the upstream repo. Then maybe you can resubmit your pull request and it will work? |
- 它 <%= 连接 ‘sends all your internet traffic through an encrypted connection’ => ‘how-vpn-works’ %>到 riseup.net, + 它 [[sends all your internet traffic through an encrypted connection => how-vpn-works]] 到 riseup.net, -p(警告警报)。当我们过渡到新系统,我们会撤下关于如何使用 RiseupVPN的说明。当准备就绪,我们将会张贴使用新系统的说明。 +p. 当我们过渡到新系统,我们会撤下关于如何使用 RiseupVPN的说明。当准备就绪,我们将会张贴使用新系统的说明。
fixed it. |
Hmmm... I see that you've made the change. I wonder if you have to re-issue the pull request? |
@@ -1,15 +1,15 @@ | |||
@nav_title = 'VPN' |
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 think you need to reverse these two lines to make it look like this:
https://github.com/riseupnet/riseup_help/blob/46523c41a31179d7b246aedc9fbc68ba3760cacd/pages/vpn/zh.text
One other thing. If you fix these things and it still won't merge, you might just want to copy and paste the files that you've changed to your local machine and then delete your fork and re-fork. You can do this on the "settings" tab in the right side of the screen when you're looking at your version of the repo. If you decide to go this route, you can just re-fork the repo and then make your edits from there, then issue a new pull request. Sorry this is such a pain and thanks for your help with translations! |
Hi. I went ahead and resolved the conflict in a different merge. FYI, there's no need to substitute => for -> ... Sorry if that was confusing. I'm still learning this myself. |
I have merged in these changes, after a little cleanup. One of the primary problems is that textile links only work with straight double quotes like so: "label":url if those quotes are curly quotes, then it doesn't work. in general, it is easier to use the amber specific markup of [[label => url]], because it is more clear and less liable to have the quotes mess up. the only downside to using the amber way is that it is specific to amber. but i am ok with that :) |
Hi. I want to use git and amber tools for editing language pages. E:\Users\Documents\GitHub\riseup_help>amber server Everything seems like ok. But, when browsing to http://localhost:8000, it automatically jumps to [2014-05-04 12:47:40] INFO Redirect / ==> http://localhost:8000/en
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/amber-0.2.6/lib/amb C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/amber-0.2.6/lib/amb C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/amber-0.2.6/lib/amb C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/amber-0.2.6/lib/amb C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/amber-0.2.6/lib/amb C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/amber-0.2.6/lib/amb C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/amber-0.2.6/lib/amb C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/amber-0.2.6/lib/amb C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/httpservlet/abstract. C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/httpservlet/filehandl C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:138:in C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:94:in ` C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/server.rb:191:in
|
It may just be defaulting to en. What happens if you click the link for Chinese language? Will it load okay then? |
darn. The problem is that amber is only written with linux and mac in mind. I haven't tried to get it working on Windows. It should not be too hard, I just don't have a Windows machine to test on. I think I can fire up a windows virtual machine. I have created issue for this leapcode/amber#1 |
Created zh.text