aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-10-17 21:50:37 +0300
committerHenry Jameson <me@hjkos.com>2022-10-17 21:50:37 +0300
commit1435b65e36a21dd3a05a9393803beb7e06bcd4ae (patch)
tree448d2c74d7801f104cce9667e1dcb46eb70fd702 /src
parent8b957fb85e6668d9c1cf771c788bb619f5cedf93 (diff)
add titles to mobile buttons
Diffstat (limited to 'src')
-rw-r--r--src/components/notifications/notifications.vue1
-rw-r--r--src/components/timeline/timeline.vue3
-rw-r--r--src/i18n/en.json1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index 3f4b1b42..f9c90a7e 100644
--- 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
index 77480345..e6038830 100644
--- 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
index 30b59e82..246e22cf 100644
--- 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"