Compare commits
34 Commits
12.102.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 |
@ -24,6 +24,7 @@ const languages = [
|
|||||||
'fr-FR',
|
'fr-FR',
|
||||||
'id-ID',
|
'id-ID',
|
||||||
'it-IT',
|
'it-IT',
|
||||||
|
'ja-NY',
|
||||||
'ja-JP',
|
'ja-JP',
|
||||||
'ja-KS',
|
'ja-KS',
|
||||||
'kab-KAB',
|
'kab-KAB',
|
||||||
@ -56,6 +57,7 @@ module.exports = Object.entries(locales)
|
|||||||
const [lang] = k.split('-');
|
const [lang] = k.split('-');
|
||||||
switch (k) {
|
switch (k) {
|
||||||
case 'ja-JP': return v;
|
case 'ja-JP': return v;
|
||||||
|
case 'ja-NY':
|
||||||
case 'ja-KS':
|
case 'ja-KS':
|
||||||
case 'en-US': return merge(locales['ja-JP'], v);
|
case 'en-US': return merge(locales['ja-JP'], v);
|
||||||
default: return merge(
|
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",
|
"name": "misskey",
|
||||||
"version": "12.102.1",
|
"version": "12.102.1-simkey",
|
||||||
"codename": "indigo",
|
"codename": "indigo",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/misskey-dev/misskey.git"
|
"url": "https://github.com/sim1222/misskey.git"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"background_color": "#313a42",
|
"background_color": "#313a42",
|
||||||
"theme_color": "#86b300",
|
"theme_color": "#a7dc4e",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/static-assets/icons/192.png",
|
"src": "/static-assets/icons/192.png",
|
||||||
|
@ -19,8 +19,8 @@ html
|
|||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(name='application-name' content='Misskey')
|
meta(name='application-name' content='Misskey')
|
||||||
meta(name='referrer' content='origin')
|
meta(name='referrer' content='origin')
|
||||||
meta(name='theme-color' content='#86b300')
|
meta(name='theme-color' content='#a7dc4e')
|
||||||
meta(name='theme-color-orig' content='#86b300')
|
meta(name='theme-color-orig' content='#a7dc4e')
|
||||||
meta(property='og:site_name' content= instanceName || 'Misskey')
|
meta(property='og:site_name' content= instanceName || 'Misskey')
|
||||||
meta(name='viewport' content='width=device-width, initial-scale=1')
|
meta(name='viewport' content='width=device-width, initial-scale=1')
|
||||||
link(rel='icon' href= icon || '/favicon.ico')
|
link(rel='icon' href= icon || '/favicon.ico')
|
||||||
|
@ -1,16 +1,26 @@
|
|||||||
<template>
|
<template>
|
||||||
<div ref="el" class="fdidabkb" :class="{ slim: narrow, thin: thin_ }" :style="{ background: bg }" @click="onClick">
|
<div
|
||||||
|
ref="el"
|
||||||
|
class="fdidabkb"
|
||||||
|
:class="{ slim: narrow, thin: thin_ }"
|
||||||
|
:style="{ background: bg }"
|
||||||
|
@click="onClick"
|
||||||
|
>
|
||||||
<template v-if="info">
|
<template v-if="info">
|
||||||
<div v-if="!hideTitle" class="titleContainer" @click="showTabsPopup">
|
<div v-if="!hideTitle" class="titleContainer" @click="showTabsPopup">
|
||||||
<MkAvatar v-if="info.avatar" class="avatar" :user="info.avatar" :disable-preview="true" :show-indicator="true"/>
|
<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>
|
<i v-else-if="info.icon" class="icon" :class="info.icon"></i>
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<MkUserName v-if="info.userName" :user="info.userName" :nowrap="true" 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-else-if="info.title" class="title">{{ info.title }}</div>
|
||||||
<div v-if="!narrow && info.subtitle" class="subtitle">
|
<div v-if="!narrow && info.subtitle" class="subtitle">{{ info.subtitle }}</div>
|
||||||
{{ info.subtitle }}
|
|
||||||
</div>
|
|
||||||
<div v-if="narrow && hasTabs" class="subtitle activeTab">
|
<div v-if="narrow && hasTabs" class="subtitle activeTab">
|
||||||
{{ info.tabs.find(tab => tab.active)?.title }}
|
{{ info.tabs.find(tab => tab.active)?.title }}
|
||||||
<i class="chevron fas fa-chevron-down"></i>
|
<i class="chevron fas fa-chevron-down"></i>
|
||||||
@ -18,20 +28,49 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="!narrow || hideTitle" class="tabs">
|
<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">
|
<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>
|
<i v-if="tab.icon" class="icon" :class="tab.icon"></i>
|
||||||
<span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span>
|
<span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="buttons right">
|
<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-if="info && info.actions && !narrow">
|
||||||
<template v-for="action in info.actions">
|
<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>
|
<MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler">
|
||||||
<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>
|
<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>
|
||||||
</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>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Reference in New Issue
Block a user