dayjs icon indicating copy to clipboard operation
dayjs copied to clipboard

Persian [fa] Farsi locale : Change relativeTime > future

Open parsakafi opened this issue 5 years ago • 10 comments

Hello Change relativeTime > future string with the correct mean in Farsi.

parsakafi avatar Mar 04 '20 16:03 parsakafi

Codecov Report

Merging #815 (473a142) into dev (28a2207) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##               dev      #815    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          157       179    +22     
  Lines         1148      1996   +848     
  Branches       215       507   +292     
==========================================
+ Hits          1148      1996   +848     
Impacted Files Coverage Δ
src/locale/fa.js 100.00% <ø> (ø)
src/index.js 100.00% <0.00%> (ø)
src/utils.js 100.00% <0.00%> (ø)
src/locale/ar.js 100.00% <0.00%> (ø)
src/locale/bg.js 100.00% <0.00%> (ø)
src/locale/bi.js 100.00% <0.00%> (ø)
src/locale/bn.js 100.00% <0.00%> (ø)
src/locale/br.js 100.00% <0.00%> (ø)
src/locale/ca.js 100.00% <0.00%> (ø)
src/locale/cs.js 100.00% <0.00%> (ø)
... and 79 more

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 28a2207...473a142. Read the comment docs.

codecov[bot] avatar Mar 04 '20 16:03 codecov[bot]

Hi, we do keep the same with moment.js here https://github.com/moment/moment/blob/develop/locale/fa.js#L70

iamkun avatar Mar 05 '20 16:03 iamkun

In Farsi, this sentence has no correct meaning.

Another way to customize this string?

parsakafi avatar Mar 05 '20 16:03 parsakafi

try https://day.js.org/docs/en/plugin/update-locale

iamkun avatar Mar 05 '20 18:03 iamkun

Waiting for native speaker review ( 0 / 2 )

iamkun avatar Apr 07 '20 08:04 iamkun

as a native speaker can confirm that, the change presents the meaning, better.

Saeid-Za avatar Jun 03 '20 17:06 Saeid-Za

Cool, thx. Waiting for native speaker review ( 1 / 2 )

iamkun avatar Jun 04 '20 02:06 iamkun

I want to suggest another word, This is means "After". In Farsi «بعد»

parsakafi avatar Jul 06 '20 20:07 parsakafi

I want to suggest another word, This is means "After". In Farsi «بعد»

definitely "بعد %s" is the best option. "%s آینده" is worse than "در %s". don't merge this pr. update your code with "بعد %s" and push again.

always-maap avatar Apr 20 '21 06:04 always-maap

I also think "بعد" is a better option.

@iamkun This PR has received 2 reviews from native speakers. Please consider merging it.

amirhhashemi avatar Jan 01 '23 13:01 amirhhashemi