Skip to content

exported all strings to MastodonApi.text so they can be internationalized - #4

Open
nicobo wants to merge 1 commit into
AzetJP:masterfrom
nicolabs:i18n_export_all
Open

nicobo wants to merge 1 commit into
AzetJP:masterfrom
nicolabs:i18n_export_all

Conversation

@nicobo

@nicobo nicobo commented Oct 25, 2018

Copy link
Copy Markdown

My use case was to change the title of the widget ("Toots") but this text was mixed with the javascript code.
I've therefore taken out all text strings into the already existing MastodonApi.text object.
I've updated mastodon.widget-jp.js at the same time but left the english text (as it was in the master branch)

This is not perfect, but yet a little step towards an easier i18n.

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.

1 participant