Steemit.com - language support, translation, & closing 2 issues

in #utopian-io6 years ago (edited)

This is a summary of improvements I made to the steemit.com website on June 2nd, 2018 the pull requests were approved today June 11th, 2018.


Pull Requests: #2861 & #2854


diff.png
Note: Image shows French but this change adds translations (if json for translation exists) for elements in all supported languages on steemit.


Summary

  • Fix logic that was hard-coding english instead of using translations for "Links" menu, "My Feed" element, and "All tags" element
  • Add missing French translations to the src/app/locales/fr.json file
  • Close 2 minor issues on steem github #2666 & #2785

Remove hard-coded English on front-page

Previously the right bar on the steemit.com navigation had hard coded English, I'll use the French setting to demonstrate:

Screenshot from 2018-06-11 19-34-25.png

The words "Links", "My Blog", and "My Wallet" were hard-coded. I have changed this to use the Steemit localization function, in code this looks like {tt('g.links')} instead of Links for each of those words.

Screenshot from 2018-06-11 19-51-21.png


Adding missing French translations for front-page

After making the code change I realized some French translations were missing. I added 8 new translations within the GUI for the French language and fixed one small typo.

+        "links": "Liens",
+        "my_blog": "Mon blog",
+        "my_comments": "Mes commentaires",
+        "my_feed": "Mon flux",
+        "my_replies": "Réponses à moi",
+        "my_wallet": "Mon portefeuille",
+        "all_tags": "Tous les clés",
+        "my_feed": "Mon Flux"

Issue #2666

This reported issue was a simple fix. #2666 was a request to use the word "received" instead of "transfered" when getting funds on steemit:

Screenshot from 2018-06-11 19-37-48.png
Previously would have said "Transfered 15.240 from binance-hot"


Issue #2785

#2785 was a request to switch the language across all the locales to read "Steem Account" instead of "Steemit Account":

Screenshot from 2018-06-11 19-41-05.png


Worked on this for approximately 2-3 hours at the coffee shop. Thanks for reading my contribution report.

Sort:  

I'm sorry but there is too little work compared to other contributions to be qualified for an utopian vote.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hello kirkins!

Congratulations! This post has been randomly Resteemed! For a chance to get more of your content resteemed join the Steem Engine Team

Congratulations @kirkins! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published 4 posts in one day

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last announcement from @steemitboard!

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.30
TRX 0.11
JST 0.033
BTC 64320.07
ETH 3154.23
USDT 1.00
SBD 4.34