Compare commits

..

34 Commits

Author SHA1 Message Date
4f9aca0aa3 add reload button 2022-02-17 01:18:37 +09:00
6238ba965b wip add button 2022-01-30 19:42:54 +09:00
8489c3ca7b Merge pull request #22 from sim1222/v12.102.1
Merge develop V12.102.1
2022-01-29 05:34:12 +09:00
33871f3cb8 Merge branch 'master' into v12.102.1 2022-01-29 05:34:03 +09:00
56d8f7f257 Merge pull request #19 from sim1222/develop
Merge Develop v12.102.0
2022-01-27 00:53:29 +09:00
74c3e6d483 Merge branch 'misskey-dev-develop' into develop 2022-01-27 00:52:19 +09:00
ead62a538f fix confrict 2022-01-27 00:52:09 +09:00
72058b30c2 Merge branch 'misskey-dev:develop' into develop 2022-01-26 20:09:42 +09:00
22102639a8 Merge pull request #16 from sim1222/develop
Change Color
2022-01-13 03:11:14 +09:00
ee4289076f Change Color 2022-01-13 03:10:42 +09:00
be011d3985 Merge pull request #15 from sim1222/develop
change color
2022-01-09 21:43:44 +09:00
6ef86df368 change color 2022-01-09 21:43:12 +09:00
34e099984f Merge pull request #14 from sim1222/develop
Fix ja-NY Language
2022-01-04 19:50:23 +09:00
5a1c6be944 Fix ja-NY Language 2022-01-04 19:33:41 +09:00
25991cfdc1 Merge pull request #11 from sim1222/develop
Merge Develop 12.101.1
2021-12-29 18:15:50 +09:00
b1a526aeea fix conflict 2021-12-29 18:15:03 +09:00
f31ef70ce7 Merge pull request #9 from sim1222/develop
Merge develop 12.101.0
2021-12-29 15:12:02 +09:00
09a751b992 git push origin developMerge branch 'misskey-dev-develop' into develop 2021-12-29 15:08:42 +09:00
a41e4ed4fd fix conflict 2021-12-29 15:08:31 +09:00
b77f7f5041 Merge pull request #7 from sim1222/develop
change repo url
2021-12-28 16:16:19 +09:00
7adcf99865 change repo url 2021-12-28 16:15:51 +09:00
cc2d5480f3 Merge pull request #6 from sim1222/develop
wip
2021-12-28 03:16:18 +09:00
fdd129fb83 wip 2021-12-28 03:15:56 +09:00
8dd3fef0e2 Merge pull request #5 from sim1222/develop
fix wip
2021-12-28 03:04:25 +09:00
f1c66f09e1 fix wip 2021-12-28 03:03:58 +09:00
6f328f2ccf Merge pull request #4 from sim1222/develop
fix typo
2021-12-28 02:55:19 +09:00
70b3d598c6 fix typo 2021-12-28 02:54:53 +09:00
668c403ece Merge pull request #3 from sim1222/develop
fix NYA JP
2021-12-28 02:49:24 +09:00
c873f17080 fix NYA JP 2021-12-28 02:48:55 +09:00
3f6691bd5e Merge pull request #2 from sim1222/develop
vsddgvsgdsgsdsg
2021-12-28 02:27:13 +09:00
260ece9881 Update package.json 2021-12-28 02:26:10 +09:00
9a4c04fe79 Merge pull request #1 from sim1222/sim-dev-ja-nya
Sim dev ja nya
2021-12-28 02:25:13 +09:00
24896d4a36 Merge branch 'misskey-dev:develop' into sim-dev-ja-nya 2021-12-28 02:17:22 +09:00
8aea52e9b4 てぬきにゃ翻訳 2021-12-28 02:05:40 +09:00
6 changed files with 1862 additions and 36 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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": {

View File

@ -4,7 +4,7 @@
"start_url": "/",
"display": "standalone",
"background_color": "#313a42",
"theme_color": "#86b300",
"theme_color": "#a7dc4e",
"icons": [
{
"src": "/static-assets/icons/192.png",

View File

@ -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')

View File

@ -1,16 +1,26 @@
<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">
<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>
<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-if="!narrow && info.subtitle" class="subtitle">
{{ info.subtitle }}
</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>
@ -18,22 +28,51 @@
</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">
<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>
<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>
<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>
</template>
<script lang="ts">