commit: 1435b65e36a21dd3a05a9393803beb7e06bcd4ae
parent 8b957fb85e6668d9c1cf771c788bb619f5cedf93
Author: Henry Jameson <me@hjkos.com>
Date: Mon, 17 Oct 2022 21:50:37 +0300
add titles to mobile buttons
Diffstat:
3 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
@@ -27,6 +27,7 @@
<button
class="button-unstyled scroll-to-top-button"
type="button"
+ :title="$t('general.scroll_to_top')"
@click="scrollToTop"
>
<FALayers class="fa-scale-110 fa-old-padding-layer">
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
@@ -12,6 +12,7 @@
<button
class="button-unstyled scroll-to-top-button"
type="button"
+ :title="$t('general.scroll_to_top')"
@click="scrollToTop"
>
<FALayers class="fa-scale-110 fa-old-padding-layer">
@@ -30,6 +31,7 @@
>
<button
class="button-unstyled loadmore-button"
+ :title="loadButtonString"
@click.prevent="showNewStatuses"
>
<FAIcon
@@ -42,6 +44,7 @@
<div
v-else-if="!embedded"
class="loadmore-text faint veryfaint rightside-icon"
+ :title="$t('timeline.up_to_date')"
@click.prevent
>
<FAIcon
diff --git a/src/i18n/en.json b/src/i18n/en.json
@@ -84,6 +84,7 @@
"yes": "Yes",
"no": "No",
"peek": "Peek",
+ "scroll_to_top": "Scroll to top",
"role": {
"admin": "Admin",
"moderator": "Moderator"