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

Use ctl10n to provide english localization #91

Merged
merged 19 commits into from
Jun 2, 2020

Conversation

hashworks
Copy link
Contributor

@hashworks hashworks commented Jun 1, 2020

Resolves #48.

If you merge #90 first I can update the README.

Usage:
LOCALE=en cargo +nightly build --release

The LOCALE env variable is optional, cn is the default.

@hashworks hashworks force-pushed the 2.x-englishTelegram branch 2 times, most recently from 57187fe to fd3968e Compare June 1, 2020 19:02
@hashworks
Copy link
Contributor Author

example

Not sure about the network error, seems unrelated. If you want I can mail you my database for testing purposes.

@hashworks hashworks marked this pull request as draft June 1, 2020 19:58
@hashworks
Copy link
Contributor Author

hashworks commented Jun 1, 2020

Since there will be small adjustments in ctl10n to improve this code I'll mark this as a draft for now.

EDIT: Done, ready for review.

@hashworks hashworks marked this pull request as ready for review June 1, 2020 22:11
@iovxw
Copy link
Owner

iovxw commented Jun 2, 2020

Great work! Just merged #90, you can rebase on it anytime

@hashworks
Copy link
Contributor Author

hashworks commented Jun 2, 2020

@iovxw Would you be willing to provide a rssbot-en-amd64-linux binary for every release? If so I'll note this in the english README.

dependabot-preview bot and others added 17 commits June 2, 2020 10:18
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.51...v1.0.52)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.18 to 0.2.20.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-0.2.18...tokio-0.2.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.15...1.0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.106 to 1.0.110.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.106...v1.0.110)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.52 to 1.0.53.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.52...v1.0.53)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.4...0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.20 to 0.2.21.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-0.2.20...tokio-0.2.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [tbot](https://gitlab.com/SnejUgal/tbot) from 0.6.1 to 0.6.2.
- [Release notes](https://gitlab.com/SnejUgal/tbot/tags)
- [Commits](https://gitlab.com/SnejUgal/tbot/compare/v0.6.1...v0.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](seanmonstar/reqwest@v0.10.4...v0.10.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.7 to 1.3.9.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@regex-1.3.7...1.3.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.16 to 1.0.19.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.16...1.0.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](matklad/once_cell@v1.3.1...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.28 to 1.0.31.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.28...1.0.31)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@iovxw
Copy link
Owner

iovxw commented Jun 2, 2020

Would you be willing to provide a rssbot-en-amd64-linux binary for every release? If so I'll note this in the english README.

Yes, I will add rssbot-en-amd64-linux for future releases

@hashworks
Copy link
Contributor Author

README updated, ready to merge.

@iovxw iovxw merged commit f5623f0 into iovxw:2.x Jun 2, 2020
@iovxw
Copy link
Owner

iovxw commented Jun 2, 2020

Thank you

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

Successfully merging this pull request may close these issues.

Support output in English
3 participants