Skip to content
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

Slidable:一个 Flutter 的故事 #4215

Merged
merged 6 commits into from
Jul 30, 2018
Merged

Slidable:一个 Flutter 的故事 #4215

merged 6 commits into from
Jul 30, 2018

Conversation

YueYongDev
Copy link
Contributor

译文翻译完成,resolve #4178

Copy link
Member

@leviding leviding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

格式有问题,我只简单的指出了前 8 行的问题,请认真根据译者教程中格式要求部分认真检查全文并修改。

@@ -2,104 +2,103 @@
> * 原文作者:[Romain Rastel](https://medium.com/@lets4r?source=post_header_lockup)
> * 译文出自:[掘金翻译计划](https://github.com/xitu/gold-miner)
> * 本文永久链接:[https://github.com/xitu/gold-miner/blob/master/TODO1/slidable-a-flutter-story.md](https://github.com/xitu/gold-miner/blob/master/TODO1/slidable-a-flutter-story.md)
> * 译者:
> * 译者: [YueYong](https://github.com/YueYongDev)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

冒号后多余空格

> * 校对者:

# Slidable: A Flutter story
# Slidable: 一个Flutter的故事
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 冒号用中文的
  2. 中英文之间空格
  3. 不要有多余空格

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YueYongDev 这里的英文冒号也没改成中文的啊,冒号后还是有多余空格

@leviding leviding added Android enhancement 等待译者修改 labels Jul 28, 2018
@leviding leviding changed the title Slidable: A Flutter story Slidable:一个 Flutter 的故事 Jul 28, 2018
@@ -92,13 +92,13 @@ SlidableDrawerDelegate的例子

Slidable 部件预览

这就是 **Slidable** 部件如何诞生的过程。 现在它需要一些发展。 如果您想要一些新功能,欢迎您在GitHub上创建一个 [issue](https://github.com/letsar/flutter_slidable/issues) 并解释您想要的内容。如果它与我对这个包的看法一致,我将很乐意实现它!
这就是 **Slidable** 部件如何诞生的过程。现在它需要一些发展。如果您想要一些新功能,欢迎您在GitHub上创建一个 [issue](https://github.com/letsar/flutter_slidable/issues)并解释您想要的内容。如果它与我对这个包的看法一致,我将很乐意实现它!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中英文之间需要空格


如果这个软件包对你有所帮助,你可以通过⭐️这个 [repo](https://github.com/letsar/flutter_slidable),或者👏这个故事。你也可以在 [Twitter](https://twitter.com/lets4r)上关注我。
如果这个软件包对你有所帮助,你可以通过⭐️这个[repo](https://github.com/letsar/flutter_slidable),或者👏这个故事。你也可以在 [Twitter](https://twitter.com/lets4r)上关注我。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
之间需要空格


如果这个软件包对你有所帮助,你可以通过⭐️这个 [repo](https://github.com/letsar/flutter_slidable),或者👏这个故事。你也可以在 [Twitter](https://twitter.com/lets4r)上关注我。
如果这个软件包对你有所帮助,你可以通过⭐️这个[repo](https://github.com/letsar/flutter_slidable),或者👏这个故事。你也可以在 [Twitter](https://twitter.com/lets4r)上关注我。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
之间需要空格

@leviding leviding removed the enhancement 等待译者修改 label Jul 29, 2018
@theBookofRabbit
Copy link

@leviding 认领校对。

@fanyijihua
Copy link
Collaborator

@dayixinsheng 好的呢 🍺

@@ -2,104 +2,103 @@
> * 原文作者:[Romain Rastel](https://medium.com/@lets4r?source=post_header_lockup)
> * 译文出自:[掘金翻译计划](https://github.com/xitu/gold-miner)
> * 本文永久链接:[https://github.com/xitu/gold-miner/blob/master/TODO1/slidable-a-flutter-story.md](https://github.com/xitu/gold-miner/blob/master/TODO1/slidable-a-flutter-story.md)
> * 译者:
> * 译者:[YueYong](https://github.com/YueYongDev)
> * 校对者:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


I’m a passionate developer. This is what I do for living, but it’s mostly my main hobby ❤️. Some express themselves through words, drawings, music, I express myself through code. I’m more comfortable with variables and functions than with a ball or a racket. This is who I am.
我是一个充满激情的开发者。编码是我为生活所做的,但他更多的是我的主要爱好 ❤️。有些人通过文字,图画,音乐表达自己,我通过代码表达自己。 变量和函数比打球更能让我感到舒服。这就是我。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 编码是我为生活所作的,但他更多的是我的主要爱好 』 => 『 编码是我维持生活的来源,但它同时也是我的主要爱好 』


We are in July 2018. It’s sunny ☀️ and kinda hot here in Brittany, France, but instead of enjoying the sun and going to the beach, I’m craving to learn something new and to code.
我们 2018 年 7 月在法国的布列塔尼,这里阳光充足☀️,有点热,但我不想享受阳光或者去海滩,我渴望学习新东西和编码。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 我们2018年7月在法国的布列塔尼 』 => 『 2018年7月我们在法国的布列塔尼 』


I’m a huge fan of Flutter and I already published some packages ([flutter_staggered_grid_view](https://github.com/letsar/flutter_staggered_grid_view), [flutter_parallax](https://github.com/letsar/flutter_parallax), [flutter_sticky_header](https://github.com/letsar/flutter_sticky_header)). All of them have something in common: **Slivers**.
I want to learn something new, remember? So I picked a new subject: animations!
我是 Flutter 的忠实粉丝,我已经发布了一些软件包([flutter_staggered_grid_view](https://github.com/letsar/flutter_staggered_grid_view), [flutter_parallax](https://github.com/letsar/flutter_parallax), [flutter_sticky_header](https://github.com/letsar/flutter_sticky_header))。所有这些都有一些共同之处: **Slivers**.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 [flutter_staggered_grid_view] 』 = >『 [flutter.交错网络视图] 』

Copy link
Member

@leviding leviding Jul 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

软件包名不用翻译,译者是对的

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本段结尾句号用中文的


I’m a huge fan of Flutter and I already published some packages ([flutter_staggered_grid_view](https://github.com/letsar/flutter_staggered_grid_view), [flutter_parallax](https://github.com/letsar/flutter_parallax), [flutter_sticky_header](https://github.com/letsar/flutter_sticky_header)). All of them have something in common: **Slivers**.
I want to learn something new, remember? So I picked a new subject: animations!
我是 Flutter 的忠实粉丝,我已经发布了一些软件包([flutter_staggered_grid_view](https://github.com/letsar/flutter_staggered_grid_view), [flutter_parallax](https://github.com/letsar/flutter_parallax), [flutter_sticky_header](https://github.com/letsar/flutter_sticky_header))。所有这些都有一些共同之处: **Slivers**.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 [flutter_parallax] 』 => 『 [flutter视差] 』

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不翻译


I’m a huge fan of Flutter and I already published some packages ([flutter_staggered_grid_view](https://github.com/letsar/flutter_staggered_grid_view), [flutter_parallax](https://github.com/letsar/flutter_parallax), [flutter_sticky_header](https://github.com/letsar/flutter_sticky_header)). All of them have something in common: **Slivers**.
I want to learn something new, remember? So I picked a new subject: animations!
我是 Flutter 的忠实粉丝,我已经发布了一些软件包([flutter_staggered_grid_view](https://github.com/letsar/flutter_staggered_grid_view), [flutter_parallax](https://github.com/letsar/flutter_parallax), [flutter_sticky_header](https://github.com/letsar/flutter_sticky_header))。所有这些都有一些共同之处: **Slivers**.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 [flutter_sticky_header] 』 => 『 [flutter粘贴标题] 』

Copy link
Member

@leviding leviding Jul 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不用翻译


Now that I have something to learn, I need an idea to create something with this knowledge. I remember then, when I discovered Flutter, I thought about 3 widgets that didn’t exist at the moment: A staggered grid view, sticky headers, and a widget allowing the user to reveal contextual menus on the sides of a list item while sliding it to the left or to the right. I didn’t work on the last one, so the idea was found 💡.
现在我有一些东西需要学习,我需要一个想法,用这些知识创造一些东西。我记得当我发现 Flutter 的时候,我考虑了 3 个当时不存在的小部件:交错的网格视图,粘性标题和一个允许用户在左右滑动时显示在列表项两侧的上下文菜单。我没有尝试过最后一个,所以就诞生了这个想法💡。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 现在我有一些东西需要学习,我需要一个想法,用这些知识创造一些东西。 』 => 『 既然我有东西要学,我就需要一个想法,那就是用这些知识创造一些东西。 』


It’s always easier to have an example to build on. That’s why every time I want to create something, I start by researching if there is something similar I can tweak.
在一个已有的例子上创造总是更容易。这就是为什么每次我想要创造一些东西时,我首先要研究是否有类似的我可以调整的东西。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 我首先要研究是否有类似的我可以调整的东西 』 => 『 我首先要研究是否有类似的我可以改进的东西 』

I didn’t find what I looked for, so I searched on StackOverflow and find this [question](https://stackoverflow.com/questions/46651974/swipe-list-item-for-more-options-flutter/46662914). Remi Rousselet, a top user, gave this really good [answer](https://stackoverflow.com/a/46662914/3241871).
I read his code, understand it, and it helped me to build a first prototype. So Remi, if you are reading me, thanks a lot 👏.
在那里我找不到我想要的东西,所以我搜索了 StackOverflow 并找到了这个[问题](https://stackoverflow.com/questions/46651974/swipe-list-item-for-more-options-flutter/46662914)。用户 Remi Rousselet 给出了一个非常好的[答案](https://stackoverflow.com/a/46662914/3241871)
我阅读并理解了他的代码,并对我构建了第一个原型有很大的帮助。所以 Remi ,如果你正在读我,非常感谢 👏。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 并对我构建了第一个原型有很大的帮助。所以 Remi ,如果你正在读我,非常感谢 』 =>『 这对我构建第一个原型有很大的帮助。所以 Remi先生,如果您正在读着我的这篇文章,那么我在此非常感谢您当初的帮助 』

@theBookofRabbit
Copy link

@YueYongDev @leviding 校对完成。

Copy link
Member

@leviding leviding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还有几个小问题,给修改了,注意下哈

@leviding leviding merged commit d2f5599 into xitu:master Jul 30, 2018
@leviding
Copy link
Member

@YueYongDev 已经 merge 啦~ 快快麻溜发布到掘金然后给我发下链接,方便及时添加积分哟。

掘金翻译计划有自己的知乎专栏,你也可以投稿哈,推荐使用一个好用的插件
专栏地址:https://zhuanlan.zhihu.com/juejinfanyi

@YueYongDev
Copy link
Contributor Author

YueYongDev commented Jul 30, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slidable:一个 Flutter 的故事
4 participants