mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-05-07 22:26:59 +00:00
Add tooltip for shift-boost
This commit is contained in:
parent
7825f6e95e
commit
2c90eebe86
8 changed files with 11 additions and 0 deletions
4
locales/index.d.ts
vendored
4
locales/index.d.ts
vendored
|
@ -10805,6 +10805,10 @@ export interface Locale extends ILocale {
|
||||||
* Date
|
* Date
|
||||||
*/
|
*/
|
||||||
"date": string;
|
"date": string;
|
||||||
|
/**
|
||||||
|
* Boost (hold Shift for visibility menu)
|
||||||
|
*/
|
||||||
|
"renoteShift": string;
|
||||||
/**
|
/**
|
||||||
* Quoted.
|
* Quoted.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -128,6 +128,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button
|
<button
|
||||||
v-if="canRenote"
|
v-if="canRenote"
|
||||||
ref="renoteButton"
|
ref="renoteButton"
|
||||||
|
v-tooltip="renoted ? i18n.ts.unrenote : (!defaultStore.state.showVisibilitySelectorOnBoost ? i18n.ts.renoteShift : i18n.ts.renote)"
|
||||||
:class="$style.footerButton"
|
:class="$style.footerButton"
|
||||||
class="_button"
|
class="_button"
|
||||||
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
||||||
|
|
|
@ -140,6 +140,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button
|
<button
|
||||||
v-if="canRenote"
|
v-if="canRenote"
|
||||||
ref="renoteButton"
|
ref="renoteButton"
|
||||||
|
v-tooltip="renoted ? i18n.ts.unrenote : (!defaultStore.state.showVisibilitySelectorOnBoost ? i18n.ts.renoteShift : i18n.ts.renote)"
|
||||||
class="_button"
|
class="_button"
|
||||||
:class="$style.noteFooterButton"
|
:class="$style.noteFooterButton"
|
||||||
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
||||||
|
|
|
@ -28,6 +28,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button
|
<button
|
||||||
v-if="canRenote"
|
v-if="canRenote"
|
||||||
ref="renoteButton"
|
ref="renoteButton"
|
||||||
|
v-tooltip="renoted ? i18n.ts.unrenote : (!defaultStore.state.showVisibilitySelectorOnBoost ? i18n.ts.renoteShift : i18n.ts.renote)"
|
||||||
class="_button"
|
class="_button"
|
||||||
:class="$style.noteFooterButton"
|
:class="$style.noteFooterButton"
|
||||||
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
||||||
|
|
|
@ -129,6 +129,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button
|
<button
|
||||||
v-if="canRenote"
|
v-if="canRenote"
|
||||||
ref="renoteButton"
|
ref="renoteButton"
|
||||||
|
v-tooltip="renoted ? i18n.ts.unrenote : (!defaultStore.state.showVisibilitySelectorOnBoost ? i18n.ts.renoteShift : i18n.ts.renote)"
|
||||||
:class="$style.footerButton"
|
:class="$style.footerButton"
|
||||||
class="_button"
|
class="_button"
|
||||||
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
||||||
|
|
|
@ -145,6 +145,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button
|
<button
|
||||||
v-if="canRenote"
|
v-if="canRenote"
|
||||||
ref="renoteButton"
|
ref="renoteButton"
|
||||||
|
v-tooltip="renoted ? i18n.ts.unrenote : (!defaultStore.state.showVisibilitySelectorOnBoost ? i18n.ts.renoteShift : i18n.ts.renote)"
|
||||||
class="_button"
|
class="_button"
|
||||||
:class="$style.noteFooterButton"
|
:class="$style.noteFooterButton"
|
||||||
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
||||||
|
|
|
@ -36,6 +36,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button
|
<button
|
||||||
v-if="canRenote"
|
v-if="canRenote"
|
||||||
ref="renoteButton"
|
ref="renoteButton"
|
||||||
|
v-tooltip="renoted ? i18n.ts.unrenote : (!defaultStore.state.showVisibilitySelectorOnBoost ? i18n.ts.renoteShift : i18n.ts.renote)"
|
||||||
class="_button"
|
class="_button"
|
||||||
:class="$style.noteFooterButton"
|
:class="$style.noteFooterButton"
|
||||||
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
:style="renoted ? 'color: var(--MI_THEME-accent) !important;' : ''"
|
||||||
|
|
|
@ -17,6 +17,7 @@ emailDestination: "Destination address"
|
||||||
date: "Date"
|
date: "Date"
|
||||||
renote: "Boost"
|
renote: "Boost"
|
||||||
unrenote: "Remove boost"
|
unrenote: "Remove boost"
|
||||||
|
renoteShift: "Boost (hold Shift for visibility menu)"
|
||||||
renoted: "Boosted."
|
renoted: "Boosted."
|
||||||
quoted: "Quoted."
|
quoted: "Quoted."
|
||||||
rmboost: "Unboosted."
|
rmboost: "Unboosted."
|
||||||
|
|
Loading…
Add table
Reference in a new issue