Giter Site home page Giter Site logo

xcatliu / jekyllcn Goto Github PK

View Code? Open in Web Editor NEW
470.0 35.0 135.0 14.19 MB

Jekyll 的中文翻译网站

Home Page: http://jekyllcn.com

License: MIT License

CSS 0.15% Ruby 70.29% HTML 4.24% Shell 0.90% CoffeeScript 0.03% Gherkin 18.63% SCSS 5.74% Hack 0.01%

jekyllcn's Issues

fatal: jekyllrb/master - not something we can merge

  • jekyll 3.3.0
  • CentOS Linux release 7.2.1511 (Core)

I tried to follow the README to get the lastest jekyllrb

git remote add jekyllrb [email protected]:jekyll/jekyll.git
git fetch jekyllrb master
git merge jekyllrb/master
# 解决冲突

then I got the following error:

$ git remote add jekyllrb [email protected]:jekyll/jekyll.git
$ git fetch jekyllrb master
remote: Counting objects: 1421, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 1421 (delta 597), reused 567 (delta 567), pack-reused 797
Receiving objects: 100% (1421/1421), 391.78 KiB | 522.00 KiB/s, done.
Resolving deltas: 100% (979/979), completed with 158 local objects.
From github.com:jekyll/jekyll
 * branch            master     -> FETCH_HEAD
$ git merge jekyllrb/master
fatal: jekyllrb/master - not something we can merge

讨论不用翻译的词汇

Wiki里现在规定了的:

  • Jekyll
  • GitHub Pages

我暂时想补充的 (注意大小写及词间是否使用空格的格式, 但格式仅限于正文,不限于出现在code里的):

  • GitHub
  • Markdown
  • Textile
  • Liquid
  • HTML
  • CSS
  • Redcarpet
  • Ruby
  • RubyGems
  • Linux
  • Unix
  • Mac OS X
  • Windows
  • Xcode
  • LaTex
  • Pygments
  • ProTip (因为是trademark,不宜翻译)
  • Gem (或 gem,若在句中)
  • URL
  • Wiki
  • YAML

我不能确定是否应该翻译,但大家暂时遗留在已翻译文章里,还没有翻译的短语(皆非专有名词):

  • issue
  • file an issue
  • pull request
  • troubleshooting
  • report an issue
  • the extras page
  • flags

如何处理进度?

我们已经可以使用 Travis CI 来自动化部署网页了。但是还是得手动修改 progress,这点很麻烦。

其实翻译基本已经完成了,只是有些文档还比较落后。所以现在的进度提示可能也不是很准确。

我提供一些想法:

  1. 取消「翻译」和「更新」的区别,统一为最后更新时间。
  2. 取消「进度」机制,README.md 不再显示当前进度。
  3. 顶部公告栏不再显示当前进度,而改为一些更有意思的内容(比如主题搜集,博客搜集)。
  4. 每篇文档显示最后更新时间,并欢迎用户协助更新。

jekyllcn无法正常登录

都好几天了,不翻墙登陆不了。以前都好好的呀。
英文版的网站正常。
我在上海

[question]how to add a new post?

What version of Jekyll are you using (jekyll -v)?

Jekyll 3.1.2

What operating system are you using?

Ubuntu 15.10

What did you do?

(Please include the content causing the issue, any relevant configuration settings, and the command you ran)

When I was ready to update some old translations posts, I found there is a new post Themes in jekyllrb.com, but not in jekyllcn.com.

What did you expect to see?

I want to know how to add a new post in order.

What did you see instead?

No new posts.

jekyll serve error

Configuration file: /Users/XcatLiu/Workspace/github/jekyllcn/site/_config.yml
            Source: /Users/XcatLiu/Workspace/github/jekyllcn/site
       Destination: /Users/XcatLiu/Workspace/github/jekyllcn/site/_site
      Generating...
  Liquid Exception: Invalid syntax for include tag. File contains invalid characters or sequences: Valid syntax: {% include file.ext param='value' param2='value' %} in _docs/templates.md
jekyll 2.5.3 | Error:  Invalid syntax for include tag. File contains invalid characters or sequences:



Valid syntax:

  {% include file.ext param='value' param2='value' %}

翻译 history

顺便申请加入 collaborator 列表
虽然历史更新没多大意义, 但是看着就它没被翻译总心痒痒的

网站关闭了?

为什么我访问网站的时候,显示的是这个样子?网站关闭了?
网站关闭了?

分页代码不对

http://jekyllcn.com/docs/pagination/的
“注意首尾页
Jekyll 没有生成文件夹 ‘page1’ ,所以上边的代码有 bug ,下边的代码解决了这个问题。”之后的代码粘贴过去依然找不到分页后的地址,而且样式很挫。
qq20150902-1 2x
qq20150902-2 2x

更新成http://jekyllrb.com/docs/pagination/
里“Beware the page one edge-case
Jekyll does not generate a ‘page1’ folder, so the above code will not work when a /page1 link is produced. See below for a way to handle this if it’s a problem for you.”
下方的代码就好了。
qq20150902-3 2x
qq20150902-4 2x

部署出现 bug

部署完成后会出现一个 not staged file:

modified:   site/_docs/history.md

并且此文件未部署成功

有几处要改善的地方

  1. README.md 的 contributing 链接应该成 jekycn 的。
  2. Gemfile 里的 source 'https://rubygems.org' 改成 source 'http://ruby.taobao.org'

jekyll文件编辑问题


  • [* ] I am on (or have tested on) Debian/Ubuntu GNU/Linux

在我安装完成 jekyll 后,我使用 vim 编辑 jekyll 的配置文件,会自动安装 vim 插件,怎么设置才能让这种情况不发生?

css 样式问题

举例里的 table 超出了宽度
浏览器:chrome 43.0, Firefox 38.0
系统: linux mint 17.1

更新 “开始” 栏目的文档

翻译了前两个,我先提交一个 pull request,等全部翻译完你再 merge
另外之前翻译的是哪个版本的文档?人肉对比好难找到官方更新的地方,只能在 git 的 history 里一个个找

去掉进度展示

根据 #129 讨论,决定去掉进度展示。具体需要做以下修改:

  1. 给每一篇文档添加一个 frontmatter update_date,依照 README.md 中的更新日期设置它的值,没有的话置空,至于如何使用 update_date,此任务不涉及
  2. 去掉 README.md 中的「项目进度」模块,但是保留「基础建设」模块
  3. 注释掉顶部进度条相关的代码(方便以后添加公告)

网站挂了

网站 404 了,没找到原因。ga 显示已经挂了三天了

[更新]更新配置页翻译

自定义 WEBRick 消息头 & 指定 Jekyll 构建时的环境变量 部分翻译不太通顺,有一些技术性名词翻译错误,进行修正

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.