diff options
| author | Ole Bertram <git@bertr.am> | 2018-06-23 22:09:13 +0200 |
|---|---|---|
| committer | Ole Bertram <git@bertr.am> | 2018-06-23 22:09:13 +0200 |
| commit | 05bc6fa8e89526783581c224e573a9ebb4e9de32 (patch) | |
| tree | 80e8a836911ae0423823ddc5536c2caa4cc51693 /src | |
| parent | a425cfd04416483fdcd127bdfbd3295d99c1a889 (diff) | |
Add title text with description to scope icons
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 8 | ||||
| -rw-r--r-- | src/i18n/messages.js | 16 |
2 files changed, 18 insertions, 6 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 802d51ed..8c90322f 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -25,10 +25,10 @@ @paste="paste"> </textarea> <div v-if="scopeOptionsEnabled" class="visibility-tray"> - <i v-on:click="changeVis('direct')" class="icon-mail-alt" :class="vis.direct"></i> - <i v-on:click="changeVis('private')" class="icon-lock" :class="vis.private"></i> - <i v-on:click="changeVis('unlisted')" class="icon-lock-open-alt" :class="vis.unlisted"></i> - <i v-on:click="changeVis('public')" class="icon-globe" :class="vis.public"></i> + <i v-on:click="changeVis('direct')" class="icon-mail-alt" :class="vis.direct" :title="$t('post_status.scope.direct')"></i> + <i v-on:click="changeVis('private')" class="icon-lock" :class="vis.private" :title="$t('post_status.scope.private')"></i> + <i v-on:click="changeVis('unlisted')" class="icon-lock-open-alt" :class="vis.unlisted" :title="$t('post_status.scope.unlisted')"></i> + <i v-on:click="changeVis('public')" class="icon-globe" :class="vis.public" :title="$t('post_status.scope.public')"></i> </div> </div> <div style="position:relative;" v-if="candidates"> diff --git a/src/i18n/messages.js b/src/i18n/messages.js index 3a9f2e63..96eaac4a 100644 --- a/src/i18n/messages.js +++ b/src/i18n/messages.js @@ -117,7 +117,13 @@ const de = { }, post_status: { posting: 'Veröffentlichen', - default: 'Sitze gerade im Hofbräuhaus.' + default: 'Sitze gerade im Hofbräuhaus.', + scope: { + public: 'Öffentlich - Beitrag an öffentliche Zeitleisten', + unlisted: 'Nicht gelistet - Nicht in öffentlichen Zeitleisten anzeigen', + private: 'Nur Folgende - Beitrag nur an Folgende', + direct: 'Direkt - Beitrag nur an erwähnte Profile' + } }, finder: { find_user: 'Finde Benutzer', @@ -350,7 +356,13 @@ const en = { post_status: { posting: 'Posting', content_warning: 'Subject (optional)', - default: 'Just landed in L.A.' + default: 'Just landed in L.A.', + scope: { + public: 'Public - Post to public timelines', + unlisted: 'Unlisted - Do not post to public timelines', + private: 'Followers-only - Post to followers only', + direct: 'Direct - Post to mentioned users only' + } }, finder: { find_user: 'Find user', |
