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

Italian locale relative time translation fix #727

Merged
merged 5 commits into from
Nov 11, 2019

Conversation

guidolodetti
Copy link
Contributor

@guidolodetti guidolodetti commented Nov 10, 2019

"3 hours ago"

Currently it is translated to "da 3 ore". It is grammatically correct, but it has a different meaning (it means that something has been occurring for 3 hours, not that occurred 3 hours ago).

The correct translation would be "3 ore fa". MomentJS translates it in the same way.

iamkun and others added 4 commits November 6, 2019 13:45
## [1.8.17](iamkun/dayjs@v1.8.16...v1.8.17) (2019-11-06)

### Bug Fixes

* Fix set utcOffset in utc mode ([d148115](iamkun@d148115))
* Update advancedFormat plugin to support w ww wo week tokens … ([iamkun#678](iamkun#678)) ([26cfa63](iamkun@26cfa63)), closes [iamkun#676](iamkun#676)
* Update ka locale weekdays ([f8ca3d4](iamkun@f8ca3d4))
* Update nb locale ([iamkun#679](iamkun#679)) ([1063b0e](iamkun@1063b0e))
* Update Polish locale (pl)([iamkun#713](iamkun#713)) ([30d2f02](iamkun@30d2f02))
* Update Ukrainian locale (uk) ([iamkun#710](iamkun#710)) ([360161c](iamkun@360161c))
* UTC plugin set utcOffset value ([iamkun#668](iamkun#668)) ([8877883](iamkun@8877883))
"3 hours ago"

Currently it is translated to "da 3 ore". It is grammatically correct, but it has a different meaning (it means that something has been occurring for 3 hours, not that occurred 3 hours ago).

The correct translation would be "3 ore fa". MomentJS translates in the same way.
@codecov
Copy link

codecov bot commented Nov 10, 2019

Codecov Report

Merging #727 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@         Coverage Diff         @@
##            dev   #727   +/-   ##
===================================
  Coverage   100%   100%           
===================================
  Files       154    154           
  Lines      1017   1017           
  Branches    157    157           
===================================
  Hits       1017   1017
Impacted Files Coverage Δ
src/locale/it.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f287992...0c62486. Read the comment docs.

@iamkun
Copy link
Owner

iamkun commented Nov 11, 2019

Looks good! Can you cherry-pick and submit your commit only, please?

@guidolodetti
Copy link
Contributor Author

Hi @iamkun! Can you please suggest me how to do it? I have never done it before. Thanks!

@iamkun
Copy link
Owner

iamkun commented Nov 11, 2019

@guidolodetti You can try merge origin/dev first.

@iamkun iamkun merged commit 5b53e98 into iamkun:dev Nov 11, 2019
iamkun pushed a commit that referenced this pull request Dec 18, 2019
## [1.8.18](v1.8.17...v1.8.18) (2019-12-18)

### Bug Fixes

* Add missing locale type definition ([#716](#716)) ([cde5d0b](cde5d0b))
* Fix .locale() handel unsupported locale ([78ec173](78ec173))
* Update Italian locale (it) ([#727](#727)) ([5b53e98](5b53e98))
* Update locale (fa) ([#733](#733)) ([9ad2e47](9ad2e47))
* Update locale (zh-cn) ([#706](#706)) ([e31e544](e31e544))
* Update locale (zh-cn) meridiem ([#735](#735)) ([15d1b81](15d1b81))
* Update LocaleData plugin to support dayjs().longDateFormat() ([#734](#734)) ([aa0f210](aa0f210)), closes [#680](#680)
* Update Mongolian (mn) locale relativeTime ([#753](#753)) ([6d51435](6d51435))
* Update Swedish locale (sv) fix ordinal error ([#745](#745)) ([49670d5](49670d5)), closes [#743](#743)
@iamkun
Copy link
Owner

iamkun commented Dec 18, 2019

🎉 This PR is included in version 1.8.18 🎉

The release is available on:

Your semantic-release bot 📦🚀

andrewhood125ruhuc added a commit to andrewhood125ruhuc/SidRH2 that referenced this pull request May 10, 2022
## [1.8.18](iamkun/dayjs@v1.8.17...v1.8.18) (2019-12-18)

### Bug Fixes

* Add missing locale type definition ([#716](iamkun/dayjs#716)) ([cde5d0b](iamkun/dayjs@cde5d0b))
* Fix .locale() handel unsupported locale ([78ec173](iamkun/dayjs@78ec173))
* Update Italian locale (it) ([#727](iamkun/dayjs#727)) ([5b53e98](iamkun/dayjs@5b53e98))
* Update locale (fa) ([#733](iamkun/dayjs#733)) ([9ad2e47](iamkun/dayjs@9ad2e47))
* Update locale (zh-cn) ([#706](iamkun/dayjs#706)) ([e31e544](iamkun/dayjs@e31e544))
* Update locale (zh-cn) meridiem ([#735](iamkun/dayjs#735)) ([15d1b81](iamkun/dayjs@15d1b81))
* Update LocaleData plugin to support dayjs().longDateFormat() ([#734](iamkun/dayjs#734)) ([aa0f210](iamkun/dayjs@aa0f210)), closes [#680](iamkun/dayjs#680)
* Update Mongolian (mn) locale relativeTime ([#753](iamkun/dayjs#753)) ([6d51435](iamkun/dayjs@6d51435))
* Update Swedish locale (sv) fix ordinal error ([#745](iamkun/dayjs#745)) ([49670d5](iamkun/dayjs@49670d5)), closes [#743](iamkun/dayjs#743)
andrewhood125ruhuc added a commit to andrewhood125ruhuc/SidRH2 that referenced this pull request May 10, 2022
## [1.8.18](iamkun/dayjs@v1.8.17...v1.8.18) (2019-12-18)

### Bug Fixes

* Add missing locale type definition ([#716](iamkun/dayjs#716)) ([cde5d0b](iamkun/dayjs@cde5d0b))
* Fix .locale() handel unsupported locale ([78ec173](iamkun/dayjs@78ec173))
* Update Italian locale (it) ([#727](iamkun/dayjs#727)) ([5b53e98](iamkun/dayjs@5b53e98))
* Update locale (fa) ([#733](iamkun/dayjs#733)) ([9ad2e47](iamkun/dayjs@9ad2e47))
* Update locale (zh-cn) ([#706](iamkun/dayjs#706)) ([e31e544](iamkun/dayjs@e31e544))
* Update locale (zh-cn) meridiem ([#735](iamkun/dayjs#735)) ([15d1b81](iamkun/dayjs@15d1b81))
* Update LocaleData plugin to support dayjs().longDateFormat() ([#734](iamkun/dayjs#734)) ([aa0f210](iamkun/dayjs@aa0f210)), closes [#680](iamkun/dayjs#680)
* Update Mongolian (mn) locale relativeTime ([#753](iamkun/dayjs#753)) ([6d51435](iamkun/dayjs@6d51435))
* Update Swedish locale (sv) fix ordinal error ([#745](iamkun/dayjs#745)) ([49670d5](iamkun/dayjs@49670d5)), closes [#743](iamkun/dayjs#743)
splashwizard pushed a commit to splashwizard/tracking-time that referenced this pull request Oct 21, 2024
## [1.8.18](iamkun/dayjs@v1.8.17...v1.8.18) (2019-12-18)

### Bug Fixes

* Add missing locale type definition ([#716](iamkun/dayjs#716)) ([cde5d0b](iamkun/dayjs@cde5d0b))
* Fix .locale() handel unsupported locale ([78ec173](iamkun/dayjs@78ec173))
* Update Italian locale (it) ([#727](iamkun/dayjs#727)) ([5b53e98](iamkun/dayjs@5b53e98))
* Update locale (fa) ([#733](iamkun/dayjs#733)) ([9ad2e47](iamkun/dayjs@9ad2e47))
* Update locale (zh-cn) ([#706](iamkun/dayjs#706)) ([e31e544](iamkun/dayjs@e31e544))
* Update locale (zh-cn) meridiem ([#735](iamkun/dayjs#735)) ([15d1b81](iamkun/dayjs@15d1b81))
* Update LocaleData plugin to support dayjs().longDateFormat() ([#734](iamkun/dayjs#734)) ([aa0f210](iamkun/dayjs@aa0f210)), closes [#680](iamkun/dayjs#680)
* Update Mongolian (mn) locale relativeTime ([#753](iamkun/dayjs#753)) ([6d51435](iamkun/dayjs@6d51435))
* Update Swedish locale (sv) fix ordinal error ([#745](iamkun/dayjs#745)) ([49670d5](iamkun/dayjs@49670d5)), closes [#743](iamkun/dayjs#743)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants