Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Override moment relative timestamp translations - Arabic, Brasil, Mundo #2151

Closed
1 task done
ghost opened this issue Sep 16, 2019 · 0 comments · Fixed by #2176
Closed
1 task done

Override moment relative timestamp translations - Arabic, Brasil, Mundo #2151

ghost opened this issue Sep 16, 2019 · 0 comments · Fixed by #2176
Assignees
Labels
ws-home Tasks for the WS Home Team

Comments

@ghost
Copy link

ghost commented Sep 16, 2019

Is your feature request related to a problem? Please describe.
Apply the correct wording for relative timestamp to match what we have currently on PAL.

Describe the solution you'd like
Override moment's default relative time in psammead-locales to have the correct translations.
Services

  • Arabic
  • Brasil
  • Mundo

Example

moment.updateLocale('yo', {
  relativeTime: {
    past: '%s sẹ́yìn',
    s: 'ìṣẹ́jú aayá die',
    m: 'ìṣẹ́jú kan',
    mm: 'ìṣẹ́jú %d',
    h: 'wákàtí kan',
    hh: 'wákàtí %d',
  },
});

More details on the spreadsheet.
Describe alternatives you've considered

Testing notes
[Tester to complete]

Dev insight: Will Cypress tests be required or are unit tests sufficient? Will there be any potential regression? etc

  • This feature is expected to need manual testing.

Additional context
Add any other context or screenshots about the feature request here.

@ghost ghost added Refinement Needed This is ready for refinement. It shouldn't be worked on until it has been refined by Dev & Test. ws-home Tasks for the WS Home Team labels Sep 16, 2019
@ghost ghost added this to the Timestamp (WS FP) milestone Sep 16, 2019
@ghost ghost changed the title Override moment relative timestamp translations(Arabic,Brasil,Mundo) Override moment relative timestamp translations - Arabic, Brasil, Mundo Sep 16, 2019
@DenisHdz DenisHdz removed the Refinement Needed This is ready for refinement. It shouldn't be worked on until it has been refined by Dev & Test. label Sep 18, 2019
@DenisHdz DenisHdz self-assigned this Sep 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ws-home Tasks for the WS Home Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant