Compare commits
98 Commits
12.106.1-s
...
sim-dev-re
Author | SHA1 | Date | |
---|---|---|---|
4f9aca0aa3 | |||
6238ba965b | |||
8489c3ca7b | |||
33871f3cb8 | |||
56d8f7f257 | |||
74c3e6d483 | |||
ead62a538f | |||
72058b30c2 | |||
22102639a8 | |||
ee4289076f | |||
be011d3985 | |||
6ef86df368 | |||
34e099984f | |||
5a1c6be944 | |||
25991cfdc1 | |||
b1a526aeea | |||
f31ef70ce7 | |||
09a751b992 | |||
a41e4ed4fd | |||
b77f7f5041 | |||
7adcf99865 | |||
cc2d5480f3 | |||
fdd129fb83 | |||
8dd3fef0e2 | |||
f1c66f09e1 | |||
6f328f2ccf | |||
70b3d598c6 | |||
668c403ece | |||
c873f17080 | |||
3f6691bd5e | |||
260ece9881 | |||
9a4c04fe79 | |||
24896d4a36 | |||
8aea52e9b4 | |||
1b956af855 | |||
80c88e13ff | |||
ad9e6a4ec5 | |||
504f182448 | |||
fd5999378b | |||
8451436cb8 | |||
37628953c5 | |||
83a77f1064 | |||
99640a35a3 | |||
88cdbc2ad6 | |||
db10103d8e | |||
2795fe4579 | |||
54631026de | |||
80783199a9 | |||
6d557269c1 | |||
26b268588f | |||
a1af83c0ab | |||
d0d5068f72 | |||
8a1f3a4c0b | |||
338793d891 | |||
c82ce9233b | |||
4b48ba4e8c | |||
7115bd46ff | |||
e967d9ded3 | |||
f00ceedae4 | |||
df67836c1a | |||
9fd0e90850 | |||
42c4ea38cc | |||
df53968306 | |||
df530bb66d | |||
c52e30e8e0 | |||
5e6e1e237a | |||
943a1940e2 | |||
12913a16fd | |||
acb9244205 | |||
d04014f875 | |||
929e545514 | |||
942c802431 | |||
70d02cf1be | |||
f96c60c1a0 | |||
8accb78fa9 | |||
05203e2cf0 | |||
b6c9ab0c15 | |||
cdef5cd1ad | |||
ea7d4d323e | |||
17fff8c665 | |||
92977f303d | |||
8043409d38 | |||
37dc1c9a82 | |||
631091940b | |||
938fcb3e5e | |||
5e1d17dff2 | |||
449dc17df8 | |||
3e11011229 | |||
52d577c7dd | |||
18693fb380 | |||
f7e9725e59 | |||
9a4a534c92 | |||
b090ff9994 | |||
3d68a0988b | |||
d6c8b9b994 | |||
49e6c2ed75 | |||
e4bcdd7b4d | |||
7747ec5b6d |
@ -24,6 +24,7 @@ const languages = [
|
||||
'fr-FR',
|
||||
'id-ID',
|
||||
'it-IT',
|
||||
'ja-NY',
|
||||
'ja-JP',
|
||||
'ja-KS',
|
||||
'kab-KAB',
|
||||
@ -56,6 +57,7 @@ module.exports = Object.entries(locales)
|
||||
const [lang] = k.split('-');
|
||||
switch (k) {
|
||||
case 'ja-JP': return v;
|
||||
case 'ja-NY':
|
||||
case 'ja-KS':
|
||||
case 'en-US': return merge(locales['ja-JP'], v);
|
||||
default: return merge(
|
||||
|
1785
locales/ja-NY.yml
Normal file
1785
locales/ja-NY.yml
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "misskey",
|
||||
"version": "12.102.1",
|
||||
"version": "12.102.1-simkey",
|
||||
"codename": "indigo",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/misskey-dev/misskey.git"
|
||||
"url": "https://github.com/sim1222/misskey.git"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -4,7 +4,7 @@
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#313a42",
|
||||
"theme_color": "#86b300",
|
||||
"theme_color": "#a7dc4e",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/static-assets/icons/192.png",
|
||||
|
@ -19,8 +19,8 @@ html
|
||||
meta(charset='utf-8')
|
||||
meta(name='application-name' content='Misskey')
|
||||
meta(name='referrer' content='origin')
|
||||
meta(name='theme-color' content='#86b300')
|
||||
meta(name='theme-color-orig' content='#86b300')
|
||||
meta(name='theme-color' content='#a7dc4e')
|
||||
meta(name='theme-color-orig' content='#a7dc4e')
|
||||
meta(property='og:site_name' content= instanceName || 'Misskey')
|
||||
meta(name='viewport' content='width=device-width, initial-scale=1')
|
||||
link(rel='icon' href= icon || '/favicon.ico')
|
||||
|
@ -1,39 +1,78 @@
|
||||
<template>
|
||||
<div ref="el" class="fdidabkb" :class="{ slim: narrow, thin: thin_ }" :style="{ background: bg }" @click="onClick">
|
||||
<template v-if="info">
|
||||
<div v-if="!hideTitle" class="titleContainer" @click="showTabsPopup">
|
||||
<MkAvatar v-if="info.avatar" class="avatar" :user="info.avatar" :disable-preview="true" :show-indicator="true"/>
|
||||
<i v-else-if="info.icon" class="icon" :class="info.icon"></i>
|
||||
<div
|
||||
ref="el"
|
||||
class="fdidabkb"
|
||||
:class="{ slim: narrow, thin: thin_ }"
|
||||
:style="{ background: bg }"
|
||||
@click="onClick"
|
||||
>
|
||||
<template v-if="info">
|
||||
<div v-if="!hideTitle" class="titleContainer" @click="showTabsPopup">
|
||||
<MkAvatar
|
||||
v-if="info.avatar"
|
||||
class="avatar"
|
||||
:user="info.avatar"
|
||||
:disable-preview="true"
|
||||
:show-indicator="true"
|
||||
/>
|
||||
<i v-else-if="info.icon" class="icon" :class="info.icon"></i>
|
||||
|
||||
<div class="title">
|
||||
<MkUserName v-if="info.userName" :user="info.userName" :nowrap="true" class="title"/>
|
||||
<div v-else-if="info.title" class="title">{{ info.title }}</div>
|
||||
<div v-if="!narrow && info.subtitle" class="subtitle">
|
||||
{{ info.subtitle }}
|
||||
</div>
|
||||
<div v-if="narrow && hasTabs" class="subtitle activeTab">
|
||||
{{ info.tabs.find(tab => tab.active)?.title }}
|
||||
<i class="chevron fas fa-chevron-down"></i>
|
||||
<div class="title">
|
||||
<MkUserName v-if="info.userName" :user="info.userName" :nowrap="true" class="title" />
|
||||
<div v-else-if="info.title" class="title">{{ info.title }}</div>
|
||||
<div v-if="!narrow && info.subtitle" class="subtitle">{{ info.subtitle }}</div>
|
||||
<div v-if="narrow && hasTabs" class="subtitle activeTab">
|
||||
{{ info.tabs.find(tab => tab.active)?.title }}
|
||||
<i class="chevron fas fa-chevron-down"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="!narrow || hideTitle" class="tabs">
|
||||
<button v-for="tab in info.tabs" v-tooltip="tab.title" class="tab _button" :class="{ active: tab.active }" @click="tab.onClick">
|
||||
<i v-if="tab.icon" class="icon" :class="tab.icon"></i>
|
||||
<span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span>
|
||||
<div v-if="!narrow || hideTitle" class="tabs">
|
||||
<button
|
||||
v-for="tab in info.tabs"
|
||||
v-tooltip="tab.title"
|
||||
class="tab _button"
|
||||
:class="{ active: tab.active }"
|
||||
@click="tab.onClick"
|
||||
>
|
||||
<i v-if="tab.icon" class="icon" :class="tab.icon"></i>
|
||||
<span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span>
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
<div class="buttons right">
|
||||
<button class="_button button" onclick="location.reload();">
|
||||
<i class="fa-solid fa-arrow-rotate-right"></i>
|
||||
</button>
|
||||
<template v-if="info && info.actions && !narrow">
|
||||
<template v-for="action in info.actions">
|
||||
<MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler">
|
||||
<i :class="action.icon" style="margin-right: 6px;"></i>
|
||||
{{ action.text }}
|
||||
</MkButton>
|
||||
<button
|
||||
v-else
|
||||
v-tooltip="action.text"
|
||||
class="_button button"
|
||||
:class="{ highlighted: action.highlighted }"
|
||||
@click.stop="action.handler"
|
||||
@touchstart="preventDrag"
|
||||
>
|
||||
<i :class="action.icon"></i>
|
||||
</button>
|
||||
</template>
|
||||
</template>
|
||||
<button
|
||||
v-if="shouldShowMenu"
|
||||
v-tooltip="$ts.menu"
|
||||
class="_button button"
|
||||
@click.stop="showMenu"
|
||||
@touchstart="preventDrag"
|
||||
>
|
||||
<i class="fas fa-ellipsis-h"></i>
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
<div class="buttons right">
|
||||
<template v-if="info && info.actions && !narrow">
|
||||
<template v-for="action in info.actions">
|
||||
<MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler"><i :class="action.icon" style="margin-right: 6px;"></i>{{ action.text }}</MkButton>
|
||||
<button v-else v-tooltip="action.text" class="_button button" :class="{ highlighted: action.highlighted }" @click.stop="action.handler" @touchstart="preventDrag"><i :class="action.icon"></i></button>
|
||||
</template>
|
||||
</template>
|
||||
<button v-if="shouldShowMenu" v-tooltip="$ts.menu" class="_button button" @click.stop="showMenu" @touchstart="preventDrag"><i class="fas fa-ellipsis-h"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@ -150,7 +189,7 @@ export default defineComponent({
|
||||
onUnmounted(() => {
|
||||
globalEvents.off('themeChanged', calcBg);
|
||||
});
|
||||
|
||||
|
||||
if (el.value.parentElement) {
|
||||
narrow.value = el.value.parentElement.offsetWidth < 500;
|
||||
const ro = new ResizeObserver((entries, observer) => {
|
||||
@ -227,7 +266,7 @@ export default defineComponent({
|
||||
> .buttons {
|
||||
--margin: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: center;
|
||||
height: var(--height);
|
||||
margin: 0 var(--margin);
|
||||
|
||||
|
Reference in New Issue
Block a user