related fe714d14
This commit is contained in:
parent
fe714d1457
commit
ab8a920a80
|
@ -46,6 +46,7 @@
|
|||
- 「이미 본 리노트를 간략화하기」 옵션의 기본값을 꺼짐으로 설정
|
||||
- 이벤트 기능 (misskey-dev/misskey#10628)
|
||||
- プレイにAPI Tokenを要求できる関数を追加 (misskey-dev/misskey#10949)
|
||||
- 절대 시간 표기 (sakura-tel/milkey#69)
|
||||
|
||||
### Client
|
||||
- (Friendly) 일부 페이지를 제외하고 플로팅 버튼을 표시하지 않음
|
||||
|
|
1
locales/index.d.ts
vendored
1
locales/index.d.ts
vendored
|
@ -1117,6 +1117,7 @@ export interface Locale {
|
|||
"thisFlashRequiresTheFollowingPermissions": string;
|
||||
"doYouWantToAllowThisPlayToAccessYourAccount": string;
|
||||
"translateProfile": string;
|
||||
"enableAbsoluteTime": string;
|
||||
"_group": {
|
||||
"leader": string;
|
||||
"banish": string;
|
||||
|
|
|
@ -1114,6 +1114,7 @@ additionalPermissionsForFlash: "Play에 대한 추가 권한"
|
|||
thisFlashRequiresTheFollowingPermissions: "이 Play는 다음 권한을 요구해요"
|
||||
doYouWantToAllowThisPlayToAccessYourAccount: "이 Play가 계정에 접근하도록 허용할까요?"
|
||||
translateProfile: "프로필 번역하기"
|
||||
enableAbsoluteTime: "절대 시간 표기 사용"
|
||||
_group:
|
||||
leader: "그룹 주인"
|
||||
banish: "추방"
|
||||
|
|
|
@ -37,7 +37,8 @@
|
|||
<span v-if="note.channel" style="margin-right: 0.5em;"><i v-tooltip="note.channel.name" class="ti ti-device-tv"></i></span>
|
||||
<button ref="renoteTime" :class="$style.renoteTime" class="_button" @click="showRenoteMenu()">
|
||||
<i v-if="isMyRenote" class="ti ti-dots" :class="$style.renoteMenu"></i>
|
||||
<MkTime :time="note.createdAt"/>
|
||||
<MkTime v-if="defaultStore.state.enableAbsoluteTime" :time="note.createdAt" mode="absolute"/>
|
||||
<MkTime v-else-if="!defaultStore.state.enableAbsoluteTime" :time="note.createdAt" mode="relative"/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,8 @@
|
|||
<span v-if="note.localOnly" style="margin-right: 0.5em;"><i v-tooltip="i18n.ts._visibility['disableFederation']" class="ti ti-rocket-off"></i></span>
|
||||
<button ref="renoteTime" class="_button" :class="$style.renoteTime" @click="showRenoteMenu()">
|
||||
<i v-if="isMyRenote" class="ti ti-dots" style="margin-right: 4px;"></i>
|
||||
<MkTime :time="note.createdAt"/>
|
||||
<MkTime v-if="defaultStore.state.enableAbsoluteTime" :time="note.createdAt" mode="absolute"/>
|
||||
<MkTime v-else-if="!defaultStore.state.enableAbsoluteTime" :time="note.createdAt" mode="relative"/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
<span v-if="note.localOnly" style="margin-right: 0.5em;"><i v-tooltip="i18n.ts._visibility['disableFederation']" class="ti ti-rocket-off"></i></span>
|
||||
<span v-if="note.channel" style="margin-right: 0.5em;"><i v-tooltip="note.channel.name" class="ti ti-device-tv"></i></span>
|
||||
<MkA :class="$style.time" :to="notePage(note)">
|
||||
<MkTime :time="note.createdAt"/>
|
||||
<MkTime v-if="defaultStore.state.enableAbsoluteTime" :time="note.createdAt" mode="absolute"/>
|
||||
<MkTime v-else-if="!defaultStore.state.enableAbsoluteTime" :time="note.createdAt" mode="relative"/>
|
||||
</MkA>
|
||||
</div>
|
||||
<div :style="$style.info"><MkInstanceTicker v-if="showTicker" :instance="note.user.instance"/></div>
|
||||
|
|
|
@ -45,7 +45,8 @@
|
|||
<span v-else-if="notification.type === 'achievementEarned'">{{ i18n.ts._notification.achievementEarned }}</span>
|
||||
<MkA v-else-if="notification.user" v-user-preview="notification.user.id" :class="$style.headerName" :to="userPage(notification.user)"><MkUserName :user="notification.user"/></MkA>
|
||||
<span v-else>{{ notification.header }}</span>
|
||||
<MkTime v-if="withTime" :time="notification.createdAt" :class="$style.headerTime"/>
|
||||
<MkTime v-if="withTime && defaultStore.state.enableAbsoluteTime" :time="notification.createdAt" :class="$style.headerTime" mode="absolute"/>
|
||||
<MkTime v-else-if="withTime && !defaultStore.state.enableAbsoluteTime" :time="notification.createdAt" :class="$style.headerTime" mode="relative"/>
|
||||
</header>
|
||||
<div>
|
||||
<MkA v-if="notification.type === 'reaction'" :class="$style.text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note)">
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
<template #label>{{ i18n.ts.postFormVisibilityHotkey }} <span class="_beta">CherryPick</span></template>
|
||||
<template #caption>{{ i18n.ts.postFormVisibilityHotkeyDescription }}</template>
|
||||
</MkSwitch>
|
||||
<MkSwitch v-model="enableAbsoluteTime">{{ i18n.ts.enableAbsoluteTime }}</MkSwitch>
|
||||
</div>
|
||||
|
||||
<MkSelect v-model="instanceTicker">
|
||||
|
@ -332,6 +333,7 @@ const collapseDefault = computed(defaultStore.makeGetterSetter('collapseDefault'
|
|||
const requireRefreshBehavior = computed(defaultStore.makeGetterSetter('requireRefreshBehavior'));
|
||||
const hideAvatarsInNote = computed(defaultStore.makeGetterSetter('hideAvatarsInNote'));
|
||||
const showTranslateButtonInNote = computed(defaultStore.makeGetterSetter('showTranslateButtonInNote'));
|
||||
const enableAbsoluteTime = computed(defaultStore.makeGetterSetter('enableAbsoluteTime'));
|
||||
|
||||
watch(lang, () => {
|
||||
miLocalStorage.setItem('lang', lang.value as string);
|
||||
|
|
|
@ -383,6 +383,10 @@ export const defaultStore = markRaw(new Storage('base', {
|
|||
where: 'device',
|
||||
default: true,
|
||||
},
|
||||
enableAbsoluteTime: {
|
||||
where: 'device',
|
||||
default: false,
|
||||
},
|
||||
|
||||
// - Settings/CherryPick
|
||||
nicknameEnabled: {
|
||||
|
|
Loading…
Reference in a new issue