forked from FoundKeyGang/FoundKey
Compare commits
6 commits
07f42e6df0
...
e75af3b34d
Author | SHA1 | Date | |
---|---|---|---|
e75af3b34d | |||
f6a5459f91 | |||
64e3239566 | |||
cee402c591 | |||
|
6a3f8aa4f9 | ||
8311b30b4c |
5 changed files with 39 additions and 20 deletions
|
@ -887,7 +887,9 @@ makeReactionsPublicDescription: "Jeder wird die Liste deiner gesendeten Reaktion
|
|||
classic: "Classic"
|
||||
muteThread: "Thread stummschalten"
|
||||
unmuteThread: "Threadstummschaltung aufheben"
|
||||
threadMuteNotificationsDesc: "Wähle die Benachrichtigungen, die du aus diesem Thread erhalten möchtest. Globale Benachrichtigungs-Einstellungen werden zusätzlich angewandt. Das Deaktivieren einer Benachrichtigung hat Vorrang."
|
||||
threadMuteNotificationsDesc: "Wähle die Benachrichtigungen, die du aus diesem Thread\
|
||||
\ erhalten möchtest. Globale Benachrichtigungs-Einstellungen werden zusätzlich angewandt.\
|
||||
\ Das Deaktivieren einer Benachrichtigung hat Vorrang."
|
||||
ffVisibility: "Sichtbarkeit von Gefolgten/Followern"
|
||||
ffVisibilityDescription: "Konfiguriere wer sehen kann, wem du folgst sowie wer dir\
|
||||
\ folgt."
|
||||
|
@ -1558,3 +1560,7 @@ _services:
|
|||
_github:
|
||||
connected: GitHub-Account @{login} wurde mit Foundkey-Account @{userName} verknüpft!
|
||||
disconnected: GitHub-Verknüpfung wurde entfernt.
|
||||
documentation: Dokumentation
|
||||
signinHistoryExpires: Frühere Login-Versuche werden aus Datenschutzgründen nach 60
|
||||
Tagen automatisch gelöscht.
|
||||
unlimited: Unbegrenzt
|
||||
|
|
|
@ -479,7 +479,8 @@ youHaveNoGroups: "You have no groups"
|
|||
joinOrCreateGroup: "Get invited to a group or create your own."
|
||||
noHistory: "No history available"
|
||||
signinHistory: "Login history"
|
||||
signinHistoryExpires: "Data about past login attempts is automatically deleted after 60 days to comply with privacy regulations."
|
||||
signinHistoryExpires: "Data about past login attempts is automatically deleted after\
|
||||
\ 60 days to comply with privacy regulations."
|
||||
disableAnimatedMfm: "Disable MFM with animation"
|
||||
doing: "Processing..."
|
||||
category: "Category"
|
||||
|
@ -864,7 +865,8 @@ makeReactionsPublicDescription: "This will make the list of all your past reacti
|
|||
classic: "Classic"
|
||||
muteThread: "Mute thread"
|
||||
unmuteThread: "Unmute thread"
|
||||
threadMuteNotificationsDesc: "Select the notifications you wish to view from this thread. Global notification settings also apply. Disabling takes precedence."
|
||||
threadMuteNotificationsDesc: "Select the notifications you wish to view from this\
|
||||
\ thread. Global notification settings also apply. Disabling takes precedence."
|
||||
ffVisibility: "Follows/Followers Visibility"
|
||||
ffVisibilityDescription: "Allows you to configure who can see who you follow and who\
|
||||
\ follows you."
|
||||
|
|
|
@ -852,8 +852,6 @@ typeToConfirm: "この操作を行うには {x} と入力してください"
|
|||
deleteAccount: "アカウント削除"
|
||||
numberOfPageCache: "ページキャッシュ数"
|
||||
numberOfPageCacheDescription: "多くすると利便性が向上しますが、負荷とメモリ使用量が増えます。"
|
||||
document: "ドキュメント"
|
||||
|
||||
_emailUnavailable:
|
||||
used: "既に使用されています"
|
||||
format: "形式が正しくありません"
|
||||
|
|
|
@ -58,7 +58,7 @@ const relative = $computed(() => {
|
|||
}
|
||||
}
|
||||
|
||||
if (ago >= -5) {
|
||||
if (ago >= -5 * SECOND) {
|
||||
if (props.format === 'date') {
|
||||
// this is also the catch-all for the formats with hour/minute/second precision
|
||||
return i18n.ts.today;
|
||||
|
|
|
@ -23,21 +23,34 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
<script lang="ts" setup>
|
||||
type MenuItem = {
|
||||
text: string;
|
||||
icon?: string;
|
||||
danger?: boolean;
|
||||
active?: boolean;
|
||||
i?: number;
|
||||
} & (
|
||||
{
|
||||
type: 'a';
|
||||
href: string;
|
||||
target?: string;
|
||||
} | {
|
||||
type: 'button';
|
||||
action(MouseEvent): void;
|
||||
} | {
|
||||
to: string;
|
||||
}
|
||||
);
|
||||
|
||||
export default defineComponent({
|
||||
props: {
|
||||
def: {
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
grid: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
withDefaults(defineProps<{
|
||||
def: {
|
||||
title?: string;
|
||||
items: MenuItem[];
|
||||
}[];
|
||||
grid?: boolean;
|
||||
}>(), {
|
||||
grid: false,
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue