GithubHelp home page GithubHelp logo

laravel-china / laravel-docs Goto Github PK

View Code? Open in Web Editor NEW
232.0 232.0 296.0 6.3 MB

Laravel 中文文档

Home Page: https://d.laravel-china.org

License: MIT License

PHP 100.00%
chinese-translation docs laravel php

laravel-docs's People

Contributors

0xuhe avatar antonybudianto avatar aufree avatar bcarroll22 avatar bmitch avatar daylerees avatar dongli0 avatar driesvints avatar e421083458 avatar garbee avatar grahamcampbell avatar jokerlinly avatar josephsilber avatar kzh4435 avatar laurencei avatar leon0204 avatar medz avatar milkmeowo avatar nikush avatar overtrue avatar parse-code avatar qufo avatar skyhee avatar springjk avatar summerblue avatar taylorotwell avatar uicosp avatar wangkaibo avatar yangjingqzp avatar zhwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-docs's Issues

5.3以上文档有缺失

发现5.3及以上版本的翻译文档对比原文,在扩展包开发章节缺少了“命令”,对应原文为Package Development章节的Commands。

"change links & title" (6e88811) 提交妨碍网页浏览

commit 6e88811 这个提交,给所有的文章标题添加了 “Laravel 的……” 前缀。

我觉得这个提交,对文档网页的浏览是徒增麻烦。具体看下图。当标签页稍有缩短,标题显示不全时,新的标题造成各个标签页不能区分:

6e88811-problem

另外,标签页上边的 favicon 已经起到了前缀的作用(毕竟 Laravel 图标我们都认识)。再添加文字前缀,意义重复,画蛇添足。

麻烦 @JokerLinly 审阅并考虑一下这个问题。

转载授权请求

首先感谢各位大大的辛苦翻译,致敬!

因为我本人对中文文档不是很感兴趣,加之时间也没调开,所以没有参与过此项目的工作,很抱歉。

请问是否可以把整个翻译文档转载到我的网站?除了部分官网链接(比如 laravel.com/api )会被重定向到我的网站相应链接外,其他内容会原封不动的转载。

之前写过一个 Laravel 官网镜像脚本 (https://laravel-china.org/topics/5970) ,在自己的测试服务器上部署了一个演示站点 (https://laravel.0x123.com) ,这个网站目前在小范围内使用。有小伙伴希望我把这个中文文档也加上,匹配官网的样式。所以我来问下是否可以转载,谢谢。

反馈:文档搜索没结果

https://d.laravel-china.org/docs/5.5 中搜索内容,无论输入什么关键词,都没结果,不只是algolia的问题,还是别的。

附一个搜索请求包,这里我搜的是:[路由]:
curl 'https://fu55rwgndn-dsn.algolia.net/1/indexes/docs/query?x-algolia-api-key=c41c5de31ca55044dbb0bde815d35121&x-algolia-application-id=FU55RWGNDN&x-algolia-agent=Algolia%20for%20vanilla%20JavaScript%203.7.7' -H 'Pragma: no-cache' -H 'Origin: https://d.laravel-china.org' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,zh-TW;q=0.4,fr;q=0.2,la;q=0.2,co;q=0.2,de;q=0.2,nb;q=0.2' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'content-type: application/x-www-form-urlencoded' -H 'accept: application/json' -H 'Cache-Control: no-cache' -H 'Referer: https://d.laravel-china.org/docs/5.5' -H 'Connection: keep-alive' --data '{"params":"query=%E8%B7%AF%E7%94%B1&hitsPerPage=5&tagFilters=%5B%225.5%22%5D"}' --compressed

一处翻译错误

错误文档连接: https://laravel-china.org/docs/5.2/testing#model-factories

原文:

The create method not only creates the model instances, but also saves them to the database using Eloquent's save method

现在错误的翻译:

你不仅可使用 create 方法来创建模型实例,而且也可以使用 Eloquent 的 save 方法来将它们保存至数据库

正确的翻译应当为:

create 方法不仅会创建模型实例, 同时也会将模型实例(通过调用 Eloquent 的 save 方法)保存至数据库.

我已经修复, 并且创建了pull request:
修复一处翻译错误. #85

"关于闪存数据存到 session"译文

译文链接

有时候你仅想在下一个请求之前在 Session 中存入数据,你可以使用 flash 方法。使用这个方法保存在 session 中的数据,只会保留到下个 HTTP 请求到来之前,然后就会被删除。

原文:

Sometimes you may wish to store items in the session only for the next request. You may do so using the flash method. Data stored in the session using this method will only be available during the subsequent HTTP request, and then will be deleted.

这里正确的翻译:
有时候你仅想在 Session 中存入数据用于第二次请求,你可以使用 flash 方法。使用这个方法保存在 session 中的数据,仅会保留到下次 HTTP 请求期内有效,然后就会被删除。

查前面几个版本,问题同样存在。

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.