Merge branch 'develop' into sw-notification-action
This commit is contained in:
commit
212eec2042
|
@ -22,7 +22,7 @@ RUN apk add --no-cache \
|
||||||
vips-dev \
|
vips-dev \
|
||||||
vips
|
vips
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock .yarnrc ./
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
COPY . ./
|
COPY . ./
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
|
@ -429,6 +429,7 @@ latestVersion: "آخر نسخة مستقرة"
|
||||||
usageAmount: "الإستخدام"
|
usageAmount: "الإستخدام"
|
||||||
capacity: "السعة"
|
capacity: "السعة"
|
||||||
inUse: "مستخدم"
|
inUse: "مستخدم"
|
||||||
|
info: "عن"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "يتابعك"
|
title: "يتابعك"
|
||||||
|
|
|
@ -1,2 +1,375 @@
|
||||||
---
|
---
|
||||||
_lang_: "Čeština"
|
_lang_: "Čeština"
|
||||||
|
introMisskey: "Vítejte! Misskey je otevřený a decentralizovaný microblogový servis.\n\"Poznámkami\" můžete sdílet co se zrovna děje se všemi ve Vašem okolí. 📡\nPomocí \"reakcí\" můžete sdílet své názory a pocity na ostatní poznámky. 👍\nPojďte objevovat nový svět! 🚀"
|
||||||
|
monthAndDay: "{day}. {month}."
|
||||||
|
search: "Vyhledávání"
|
||||||
|
notifications: "Oznámení"
|
||||||
|
username: "Uživatelské jméno"
|
||||||
|
password: "Heslo"
|
||||||
|
fetchingAsApObject: "Načítám data z Fediversu..."
|
||||||
|
ok: "Potvrdit"
|
||||||
|
gotIt: "Rozumím!"
|
||||||
|
cancel: "Zrušit"
|
||||||
|
enterUsername: "Zadej uživatelské jméno"
|
||||||
|
renotedBy: "{user} přeposla/a"
|
||||||
|
noNotes: "Žádné poznámky"
|
||||||
|
noNotifications: "Žádná oznámení"
|
||||||
|
instance: "Instance"
|
||||||
|
settings: "Nastavení"
|
||||||
|
basicSettings: "Obecná nastavení"
|
||||||
|
otherSettings: "Rozšířená nastavení"
|
||||||
|
openInWindow: "Otevřít v novém okně"
|
||||||
|
profile: "Váš profil"
|
||||||
|
timeline: "Časová osa"
|
||||||
|
noAccountDescription: "Tento uživatel zatím nenapsal svou biografii."
|
||||||
|
login: "Přihlásit se"
|
||||||
|
loggingIn: "Probíhá přihlašování"
|
||||||
|
logout: "Odhlásit"
|
||||||
|
signup: "Registrace"
|
||||||
|
uploading: "Nahrávám"
|
||||||
|
save: "Uložit"
|
||||||
|
users: "Uživatelé"
|
||||||
|
addUser: "Přidat uživatele"
|
||||||
|
favorite: "Oblíbené"
|
||||||
|
favorites: "Oblíbené"
|
||||||
|
unfavorite: "Odebrat z oblízených"
|
||||||
|
favorited: "Přidáno do oblíbených"
|
||||||
|
alreadyFavorited: "Už je mezi oblíbenými"
|
||||||
|
cantFavorite: "Nepodařilo se přidat mezi oblíbené."
|
||||||
|
pin: "Připnout"
|
||||||
|
unpin: "Odepnout"
|
||||||
|
copyContent: "Zkopírovat obsah"
|
||||||
|
copyLink: "Kopírovat odkaz"
|
||||||
|
delete: "Smazat"
|
||||||
|
deleteAndEdit: "Smazat a upravit"
|
||||||
|
deleteAndEditConfirm: "Jste si jistí že chcete smazat tuto poznámku a editovat ji? Ztratíte tím všechny reakce, sdílení a odpovědi na ni."
|
||||||
|
addToList: "Přidat do seznamu"
|
||||||
|
sendMessage: "Odeslat zprávu"
|
||||||
|
copyUsername: "Kopírovat uživatelské jméno"
|
||||||
|
searchUser: "Vyhledat uživatele"
|
||||||
|
reply: "Odpovědět"
|
||||||
|
loadMore: "Zobrazit více"
|
||||||
|
showMore: "Zobrazit více"
|
||||||
|
mention: "Zmínění"
|
||||||
|
mentions: "Zmínění"
|
||||||
|
importAndExport: "Import a export"
|
||||||
|
import: "Importovat"
|
||||||
|
export: "Exportovat"
|
||||||
|
files: "Soubor(ů)"
|
||||||
|
download: "Stáhnout"
|
||||||
|
unfollowConfirm: "Jste si jisti že už nechcete sledovat {name}?"
|
||||||
|
importRequested: "Požádali jste o export. To může chvilku trvat."
|
||||||
|
lists: "Seznamy"
|
||||||
|
noLists: "Nemáte žádné seznamy"
|
||||||
|
note: "Poznámka"
|
||||||
|
notes: "Poznámky"
|
||||||
|
following: "Sledovaní"
|
||||||
|
followers: "Sledující"
|
||||||
|
followsYou: "Sledují vás"
|
||||||
|
createList: "Vytvořit seznam"
|
||||||
|
manageLists: "Spravovat seznam"
|
||||||
|
error: "Chyba"
|
||||||
|
somethingHappened: "Jejda. Něco se nepovedlo."
|
||||||
|
retry: "Opakovat"
|
||||||
|
pageLoadError: "Nepodařilo se načíst stránku"
|
||||||
|
follow: "Sledovaní"
|
||||||
|
unfollow: "Přestat sledovat"
|
||||||
|
renote: "Přeposlat"
|
||||||
|
cantReRenote: "Odpověď nemůže být odstraněna."
|
||||||
|
quote: "Citovat"
|
||||||
|
pinned: "Připnout"
|
||||||
|
you: "Vy"
|
||||||
|
clickToShow: "Klikněte pro zobrazení"
|
||||||
|
sensitive: "NSFW"
|
||||||
|
add: "Přidat"
|
||||||
|
reaction: "Reakce"
|
||||||
|
reactionSettingDescription: "Vyberte Vaší oblíbenou reakci, kterou chcete připnout ve výběru."
|
||||||
|
reactionSettingDescription2: "Přetažením změníte pořadí, kliknutím smažete, zmáčkněte \"+\" k přidání"
|
||||||
|
rememberNoteVisibility: "Zapamatovat nastavení zobrazení poznámky"
|
||||||
|
attachCancel: "Odstranit přílohu"
|
||||||
|
markAsSensitive: "Označit jako NSFW"
|
||||||
|
unmarkAsSensitive: "Odznačit jako NSFW"
|
||||||
|
enterFileName: "Zadejte název souboru"
|
||||||
|
mute: "Ztlumit"
|
||||||
|
unmute: "Odmlčet"
|
||||||
|
block: "Zablokovat"
|
||||||
|
unblock: "Odblokovat"
|
||||||
|
suspend: "Zmrazit"
|
||||||
|
unsuspend: "Odmrazit"
|
||||||
|
blockConfirm: "Jste si jistí že chcete zablokovat tento účet?"
|
||||||
|
unblockConfirm: "Jste si jistí že chcete odblokovat tento účet?"
|
||||||
|
suspendConfirm: "Jste si jistí že chcete suspendovat tenhle účet?"
|
||||||
|
unsuspendConfirm: "Jste si jistí že chcete obnovit tenhle účet?"
|
||||||
|
selectList: "Vybrat seznam"
|
||||||
|
selectAntenna: "Vyberte Anténu"
|
||||||
|
selectWidget: "Zvolte widget"
|
||||||
|
editWidgets: "Upravit widget"
|
||||||
|
editWidgetsExit: "Hotovo"
|
||||||
|
customEmojis: "Vlastní emoji"
|
||||||
|
emoji: "Emoji"
|
||||||
|
emojiName: "Jméno emoji"
|
||||||
|
emojiUrl: "URL obrázku"
|
||||||
|
addEmoji: "Přidat emoji"
|
||||||
|
settingGuide: "Doporučené nastavení"
|
||||||
|
flagAsBot: "Tento účet je bot"
|
||||||
|
flagAsBotDescription: "Pokud je tento účet kontrolován programem zaškrtněte tuto možnost. To označí tento účet jako bot pro ostatní vývojáře a zabrání tak nekonečným interakcím s ostatními boty a upraví Misskey systém aby se choval k tomuhle účtu jako bot."
|
||||||
|
flagAsCat: "Tenhle účet je kočka"
|
||||||
|
flagAsCatDescription: "Vyberte tuto možnost aby tento účet byl označen jako kočka."
|
||||||
|
autoAcceptFollowed: "Automaticky akceptovat následování od účtů které sledujete"
|
||||||
|
addAcount: "Přidat účet"
|
||||||
|
loginFailed: "Přihlášení se nezdařilo."
|
||||||
|
general: "Obecně"
|
||||||
|
wallpaper: "Obrázek na pozadí"
|
||||||
|
setWallpaper: "Nastavení obrázku na pozadí"
|
||||||
|
removeWallpaper: "Odstranit pozadí"
|
||||||
|
selectUser: "Vyberte uživatele"
|
||||||
|
recipient: "Pro"
|
||||||
|
annotation: "Komentáře"
|
||||||
|
instances: "Instance"
|
||||||
|
registeredAt: "Registrován"
|
||||||
|
latestRequestSentAt: "Poslední požadavek poslán"
|
||||||
|
latestRequestReceivedAt: "Poslední požadavek přijat"
|
||||||
|
latestStatus: "Poslední status"
|
||||||
|
storageUsage: "Využití úložiště"
|
||||||
|
charts: "Grafy"
|
||||||
|
perHour: "za hodinu"
|
||||||
|
perDay: "za den"
|
||||||
|
blockThisInstance: "Blokovat tuto instanci"
|
||||||
|
operations: "Operace"
|
||||||
|
software: "Software"
|
||||||
|
version: "Verze"
|
||||||
|
metadata: "Metadata"
|
||||||
|
jobQueue: "Fronta úloh"
|
||||||
|
cpuAndMemory: "CPU a paměť"
|
||||||
|
network: "Síť"
|
||||||
|
disk: "Disk"
|
||||||
|
instanceInfo: "Informace o instanci"
|
||||||
|
statistics: "Statistiky"
|
||||||
|
clearQueue: "Vyčistit frontu"
|
||||||
|
clearQueueConfirmTitle: "Jste si jisti že zrušit všechny úlohy ve frontě?"
|
||||||
|
clearCachedFiles: "Vyprázdnit mezipaměť"
|
||||||
|
blockedInstances: "Blokované instance"
|
||||||
|
pinLimitExceeded: "Nemůžete připnout další poznámky."
|
||||||
|
intro: "Instalace Misskey byla dokončena! Prosím vytvořte admina."
|
||||||
|
done: "Hotovo"
|
||||||
|
processing: "Zpracovávám"
|
||||||
|
preview: "Náhled"
|
||||||
|
default: "Výchozí"
|
||||||
|
blocked: "Blokováno"
|
||||||
|
suspended: "Suspendováno"
|
||||||
|
all: "Vše"
|
||||||
|
subscribing: "Odebíráte"
|
||||||
|
publishing: "Publikuji"
|
||||||
|
notResponding: "Neodpovídá"
|
||||||
|
instanceFollowers: "Následovníci na instanci"
|
||||||
|
instanceUsers: "Uživatelé této instance"
|
||||||
|
changePassword: "Změnit heslo"
|
||||||
|
security: "Zabezpečení"
|
||||||
|
currentPassword: "Současné heslo"
|
||||||
|
newPassword: "Nové heslo"
|
||||||
|
newPasswordRetype: "Nové heslo (znovu)"
|
||||||
|
attachFile: "Přiložit soubor"
|
||||||
|
more: "Více!"
|
||||||
|
usernameOrUserId: "Uživatelské jméno nebo uživatelské id"
|
||||||
|
noSuchUser: "Uživatel nebyl nalezen"
|
||||||
|
announcements: "Oznámení"
|
||||||
|
imageUrl: "URL obrázku"
|
||||||
|
remove: "Smazat"
|
||||||
|
removed: "Smazáno"
|
||||||
|
removeAreYouSure: "Jste si jistí že chcete smazat \"{x}\"?"
|
||||||
|
deleteAreYouSure: "Jste si jistí že chcete smazat \"{x}\"?"
|
||||||
|
resetAreYouSure: "Opravdu resetovat?"
|
||||||
|
saved: "Uloženo"
|
||||||
|
messaging: "Zprávy"
|
||||||
|
upload: "Nahrát soubory"
|
||||||
|
fromDrive: "Z disku"
|
||||||
|
fromUrl: "Z URL"
|
||||||
|
uploadFromUrl: "Nahrát z URL adresy"
|
||||||
|
uploadFromUrlDescription: "URL adresa souboru, který chcete nahrát"
|
||||||
|
uploadFromUrlMayTakeTime: "Může trvat nějakou dobu, dokud nebude dokončeno nahrávání."
|
||||||
|
explore: "Objevovat"
|
||||||
|
games: "Misskey hry"
|
||||||
|
messageRead: "Přečtené"
|
||||||
|
noMoreHistory: "To je vše"
|
||||||
|
startMessaging: "Zahájit chat"
|
||||||
|
nUsersRead: "přečteno {n} uživateli"
|
||||||
|
agreeTo: "Souhlasím s {0}"
|
||||||
|
tos: "Podmínky užívání"
|
||||||
|
start: "Začít"
|
||||||
|
home: "Domů"
|
||||||
|
remoteUserCaution: "Tyto informace nemusí být aktuální jelikož uživatel je ze vzdálené instance."
|
||||||
|
activity: "Aktivita"
|
||||||
|
images: "Obrázky"
|
||||||
|
birthday: "Datum narození"
|
||||||
|
registeredDate: "Datum registrace"
|
||||||
|
location: "Lokace"
|
||||||
|
lightThemes: "Světlý vzhled"
|
||||||
|
darkThemes: "Tmavý vzhled"
|
||||||
|
syncDeviceDarkMode: "Synchronizovat tmavý vzhled s nastavením Vašeho systému"
|
||||||
|
drive: "Úložiště"
|
||||||
|
fileName: "Název souboru"
|
||||||
|
selectFile: "Vybrat soubor"
|
||||||
|
selectFiles: "Vybrat soubory"
|
||||||
|
selectFolder: "Vyberte složku"
|
||||||
|
selectFolders: "Vyberte složky"
|
||||||
|
renameFile: "Přejmenovat soubor"
|
||||||
|
folderName: "Název složky"
|
||||||
|
createFolder: "Vytvořit složku"
|
||||||
|
renameFolder: "Přejmenovat složku"
|
||||||
|
deleteFolder: "Odstranit složku"
|
||||||
|
copyUrl: "Kopírovat URL"
|
||||||
|
rename: "Přejmenovat"
|
||||||
|
avatar: "Avatar"
|
||||||
|
banner: "Baner"
|
||||||
|
nsfw: "NSFW"
|
||||||
|
disconnectedFromServer: "Spojení bylo přerušeno"
|
||||||
|
reload: "Aktualizovat"
|
||||||
|
watch: "Sledovat"
|
||||||
|
unwatch: "Přestat sledovat"
|
||||||
|
accept: "Souhlasím"
|
||||||
|
reject: "Odmítnout"
|
||||||
|
normal: "Normální"
|
||||||
|
instanceName: "Název instance"
|
||||||
|
instanceDescription: "Popis instance"
|
||||||
|
maintainerName: "Správce"
|
||||||
|
maintainerEmail: "E-mailová adresa správce"
|
||||||
|
tosUrl: "URL pro smluvní podmínky"
|
||||||
|
thisYear: "Tento rok"
|
||||||
|
thisMonth: "Tento měsíc"
|
||||||
|
today: "Dnes"
|
||||||
|
dayX: "{day}"
|
||||||
|
monthX: "{month}"
|
||||||
|
yearX: "{year}"
|
||||||
|
pages: "Stránky"
|
||||||
|
integration: "Integrace"
|
||||||
|
connectSerice: "Připojit"
|
||||||
|
disconnectSerice: "Odpojit"
|
||||||
|
enableLocalTimeline: "Povolit lokální čas"
|
||||||
|
enableGlobalTimeline: "Povolit globální čas"
|
||||||
|
registration: "Registrace"
|
||||||
|
enableRegistration: "Povolit registraci novým uživatelům"
|
||||||
|
invite: "Pozvat"
|
||||||
|
inMb: "V megabajtech"
|
||||||
|
iconUrl: "Favicon URL"
|
||||||
|
bannerUrl: "Baner URL"
|
||||||
|
basicInfo: "Základní informace"
|
||||||
|
hcaptcha: "hCaptcha"
|
||||||
|
userList: "Seznamy"
|
||||||
|
about: "Informace"
|
||||||
|
aboutMisskey: "O Misskey"
|
||||||
|
administrator: "Administrátor"
|
||||||
|
token: "Token"
|
||||||
|
twoStepAuthentication: "Dvoufaktorová autentikace"
|
||||||
|
moderator: "Moderátor"
|
||||||
|
nUsersMentioned: "{n} uživatelů zmínilo"
|
||||||
|
securityKey: "Bezpečnostní klíč"
|
||||||
|
securityKeyName: "Název klíče"
|
||||||
|
registerSecurityKey: "Registrovat bezpečnostní klíč"
|
||||||
|
lastUsed: "Naposledy použito"
|
||||||
|
unregister: "Odstranit"
|
||||||
|
resetPassword: "Resetovat heslo"
|
||||||
|
newPasswordIs: "Nové heslo je \"{password}\""
|
||||||
|
reduceUiAnimation: "Snížit UI animace"
|
||||||
|
share: "Sdílet"
|
||||||
|
notFound: "Nenalezeno"
|
||||||
|
notFoundDescription: "Nebyla nalezená žádná stránka korespondující se zadanou URL."
|
||||||
|
uploadFolder: "Výchozí lokace pro upload"
|
||||||
|
cacheClear: "Vymazat cache"
|
||||||
|
markAsReadAllNotifications: "Označit všechna oznámení za přečtená"
|
||||||
|
markAsReadAllUnreadNotes: "Označit všechny příspěvky za přečtené"
|
||||||
|
markAsReadAllTalkMessages: "Označit všechny zprávy za přečtené"
|
||||||
|
help: "Nápověda"
|
||||||
|
inputMessageHere: "Sem zadejte zprávu"
|
||||||
|
close: "Zavřít"
|
||||||
|
group: "Skupina"
|
||||||
|
groups: "Skupiny"
|
||||||
|
createGroup: "Vytvořit skupinu"
|
||||||
|
ownedGroups: "Vlastněné skupiny"
|
||||||
|
joinedGroups: "Členství ve skupinách"
|
||||||
|
invites: "Pozvat"
|
||||||
|
groupName: "Název skupiny"
|
||||||
|
members: "Členové"
|
||||||
|
transfer: "Převod"
|
||||||
|
title: "Titulek"
|
||||||
|
text: "Text"
|
||||||
|
enable: "Povolit"
|
||||||
|
next: "Další"
|
||||||
|
retype: "Zadejte znovu"
|
||||||
|
noteOf: "{user} poznámky"
|
||||||
|
inviteToGroup: "Pozvat do skupiny"
|
||||||
|
invitations: "Pozvat"
|
||||||
|
smtpUser: "Uživatelské jméno"
|
||||||
|
smtpPass: "Heslo"
|
||||||
|
clearCache: "Vyprázdnit mezipaměť"
|
||||||
|
info: "Informace"
|
||||||
|
_mfm:
|
||||||
|
mention: "Zmínění"
|
||||||
|
quote: "Citovat"
|
||||||
|
emoji: "Vlastní emoji"
|
||||||
|
search: "Vyhledávání"
|
||||||
|
_sidebar:
|
||||||
|
icon: "Avatar"
|
||||||
|
_theme:
|
||||||
|
keys:
|
||||||
|
mention: "Zmínění"
|
||||||
|
renote: "Přeposlat"
|
||||||
|
_sfx:
|
||||||
|
note: "Poznámky"
|
||||||
|
notification: "Oznámení"
|
||||||
|
chat: "Zprávy"
|
||||||
|
_widgets:
|
||||||
|
notifications: "Oznámení"
|
||||||
|
timeline: "Časová osa"
|
||||||
|
activity: "Aktivita"
|
||||||
|
jobQueue: "Fronta úloh"
|
||||||
|
_cw:
|
||||||
|
show: "Zobrazit více"
|
||||||
|
_visibility:
|
||||||
|
home: "Domů"
|
||||||
|
followers: "Sledující"
|
||||||
|
_profile:
|
||||||
|
username: "Uživatelské jméno"
|
||||||
|
_exportOrImport:
|
||||||
|
followingList: "Sledovaní"
|
||||||
|
muteList: "Ztlumit"
|
||||||
|
blockingList: "Zablokovat"
|
||||||
|
userLists: "Seznamy"
|
||||||
|
_timelines:
|
||||||
|
home: "Domů"
|
||||||
|
_rooms:
|
||||||
|
_roomType:
|
||||||
|
default: "Výchozí"
|
||||||
|
_pages:
|
||||||
|
blocks:
|
||||||
|
image: "Obrázky"
|
||||||
|
script:
|
||||||
|
categories:
|
||||||
|
list: "Seznamy"
|
||||||
|
blocks:
|
||||||
|
_join:
|
||||||
|
arg1: "Seznamy"
|
||||||
|
_randomPick:
|
||||||
|
arg1: "Seznamy"
|
||||||
|
_dailyRandomPick:
|
||||||
|
arg1: "Seznamy"
|
||||||
|
_seedRandomPick:
|
||||||
|
arg2: "Seznamy"
|
||||||
|
_pick:
|
||||||
|
arg1: "Seznamy"
|
||||||
|
_listLen:
|
||||||
|
arg1: "Seznamy"
|
||||||
|
types:
|
||||||
|
array: "Seznamy"
|
||||||
|
_notification:
|
||||||
|
_types:
|
||||||
|
follow: "Sledovaní"
|
||||||
|
mention: "Zmínění"
|
||||||
|
renote: "Přeposlat"
|
||||||
|
quote: "Citovat"
|
||||||
|
reaction: "Reakce"
|
||||||
|
_deck:
|
||||||
|
_columns:
|
||||||
|
notifications: "Oznámení"
|
||||||
|
tl: "Časová osa"
|
||||||
|
list: "Seznamy"
|
||||||
|
mentions: "Zmínění"
|
||||||
|
|
|
@ -687,6 +687,7 @@ textColor: "Text"
|
||||||
saveAs: "Speichern als…"
|
saveAs: "Speichern als…"
|
||||||
advanced: "Fortgeschritten"
|
advanced: "Fortgeschritten"
|
||||||
value: "Wert"
|
value: "Wert"
|
||||||
|
createdAt: "Erstellt am"
|
||||||
updatedAt: "Zuletzt geändert am"
|
updatedAt: "Zuletzt geändert am"
|
||||||
saveConfirm: "Änderungen speichern?"
|
saveConfirm: "Änderungen speichern?"
|
||||||
deleteConfirm: "Wirklich löschen?"
|
deleteConfirm: "Wirklich löschen?"
|
||||||
|
@ -710,6 +711,23 @@ typingUsers: "{users} ist/sind am schreiben..."
|
||||||
jumpToSpecifiedDate: "Zu bestimmtem Datum springen"
|
jumpToSpecifiedDate: "Zu bestimmtem Datum springen"
|
||||||
showingPastTimeline: "Momentan wird eine alte Chronik angezeigt"
|
showingPastTimeline: "Momentan wird eine alte Chronik angezeigt"
|
||||||
clear: "Zurückkehren"
|
clear: "Zurückkehren"
|
||||||
|
markAllAsRead: "Alle als gelesen markieren"
|
||||||
|
goBack: "Zurück"
|
||||||
|
unlikeConfirm: "\"Gefällt mir\" wirklich entfernen?"
|
||||||
|
fullView: "Vollansicht"
|
||||||
|
quitFullView: "Vollansicht verlassen"
|
||||||
|
addDescription: "Beschreibung hinzufügen"
|
||||||
|
userPagePinTip: "Um Notizen hier erscheinen zu lassen, drücke \"Anpinnen\" im Menü individueller Notizen"
|
||||||
|
notSpecifiedMentionWarning: "Diese Notiz enthält Erwähnungen von Nutzern, die nicht als Empfänger ausgewählt sind"
|
||||||
|
info: "Über"
|
||||||
|
userInfo: "Benutzerinformation"
|
||||||
|
unknown: "Unbekannt"
|
||||||
|
onlineStatus: "Online-Status"
|
||||||
|
hideOnlineStatus: "Online-Status verbergen"
|
||||||
|
hideOnlineStatusDescription: "Das Verbergen deines Online-Statuses reduziert die Nützlichkeit von Funktionen wie der Suche."
|
||||||
|
online: "Online"
|
||||||
|
active: "Aktiv"
|
||||||
|
offline: "Offline"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "Du hast einen neuen Follower"
|
title: "Du hast einen neuen Follower"
|
||||||
|
@ -865,6 +883,7 @@ _theme:
|
||||||
install: "Thema installieren"
|
install: "Thema installieren"
|
||||||
manage: "Themaverwaltung"
|
manage: "Themaverwaltung"
|
||||||
code: "Themen-Code"
|
code: "Themen-Code"
|
||||||
|
description: "Beschreibung"
|
||||||
installed: "{name} wurde installiert"
|
installed: "{name} wurde installiert"
|
||||||
installedThemes: "Installierte Themen"
|
installedThemes: "Installierte Themen"
|
||||||
builtinThemes: "Eingebaute Themen"
|
builtinThemes: "Eingebaute Themen"
|
||||||
|
|
|
@ -687,6 +687,7 @@ textColor: "Text"
|
||||||
saveAs: "Save as..."
|
saveAs: "Save as..."
|
||||||
advanced: "Advanced"
|
advanced: "Advanced"
|
||||||
value: "Value"
|
value: "Value"
|
||||||
|
createdAt: "Created on"
|
||||||
updatedAt: "Updated at"
|
updatedAt: "Updated at"
|
||||||
saveConfirm: "Save changes?"
|
saveConfirm: "Save changes?"
|
||||||
deleteConfirm: "Really delete?"
|
deleteConfirm: "Really delete?"
|
||||||
|
@ -710,6 +711,23 @@ typingUsers: "{users} is/are typing..."
|
||||||
jumpToSpecifiedDate: "Jump to specific date"
|
jumpToSpecifiedDate: "Jump to specific date"
|
||||||
showingPastTimeline: "Currently displaying an old timeline"
|
showingPastTimeline: "Currently displaying an old timeline"
|
||||||
clear: "Return"
|
clear: "Return"
|
||||||
|
markAllAsRead: "Mark all as read"
|
||||||
|
goBack: "Back"
|
||||||
|
unlikeConfirm: "Really remove your like?"
|
||||||
|
fullView: "Full view"
|
||||||
|
quitFullView: "Exit full view"
|
||||||
|
addDescription: "Add description"
|
||||||
|
userPagePinTip: "You can make notes be displayed here by selecting \"Pin to profile\" from the menu of individual notes"
|
||||||
|
notSpecifiedMentionWarning: "This note contains mentions of users not included as recipient"
|
||||||
|
info: "About"
|
||||||
|
userInfo: "User information"
|
||||||
|
unknown: "Unknown"
|
||||||
|
onlineStatus: "Online status"
|
||||||
|
hideOnlineStatus: "Hide online status"
|
||||||
|
hideOnlineStatusDescription: "Hiding your online status reduces the convenience of some functions such as search"
|
||||||
|
online: "Online"
|
||||||
|
active: "Active"
|
||||||
|
offline: "Offline"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "You've got a new follower"
|
title: "You've got a new follower"
|
||||||
|
@ -865,6 +883,7 @@ _theme:
|
||||||
install: "Install theme"
|
install: "Install theme"
|
||||||
manage: "Themes manager"
|
manage: "Themes manager"
|
||||||
code: "Theme code"
|
code: "Theme code"
|
||||||
|
description: "Description"
|
||||||
installed: "{name} has been installed"
|
installed: "{name} has been installed"
|
||||||
installedThemes: "Installed themes"
|
installedThemes: "Installed themes"
|
||||||
builtinThemes: "Built-in themes"
|
builtinThemes: "Built-in themes"
|
||||||
|
|
|
@ -652,6 +652,8 @@ backgroundColor: "Fondo"
|
||||||
accentColor: "Acento"
|
accentColor: "Acento"
|
||||||
textColor: "Texto"
|
textColor: "Texto"
|
||||||
value: "Valores"
|
value: "Valores"
|
||||||
|
goBack: "Deseleccionar"
|
||||||
|
info: "Información"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "te ha seguido"
|
title: "te ha seguido"
|
||||||
|
@ -745,6 +747,7 @@ _theme:
|
||||||
install: "Instalar tema"
|
install: "Instalar tema"
|
||||||
manage: "Gestor de temas"
|
manage: "Gestor de temas"
|
||||||
code: "Código del tema"
|
code: "Código del tema"
|
||||||
|
description: "Descripción"
|
||||||
installed: "{name} ha sido instalado"
|
installed: "{name} ha sido instalado"
|
||||||
alreadyInstalled: "Este tema ya está instalado"
|
alreadyInstalled: "Este tema ya está instalado"
|
||||||
invalid: "El formato del tema no es válido"
|
invalid: "El formato del tema no es válido"
|
||||||
|
|
|
@ -686,6 +686,7 @@ textColor: "Texte"
|
||||||
saveAs: "Enregistrer sous ..."
|
saveAs: "Enregistrer sous ..."
|
||||||
advanced: "Avancé"
|
advanced: "Avancé"
|
||||||
value: "Valeur"
|
value: "Valeur"
|
||||||
|
createdAt: "Date de création"
|
||||||
updatedAt: "Mis à jour le"
|
updatedAt: "Mis à jour le"
|
||||||
saveConfirm: "Voulez-vous sauvegarder les modifications?"
|
saveConfirm: "Voulez-vous sauvegarder les modifications?"
|
||||||
deleteConfirm: "Confirmez-vous la suppression?"
|
deleteConfirm: "Confirmez-vous la suppression?"
|
||||||
|
@ -709,6 +710,22 @@ typingUsers: "{users} est en train d'écrire"
|
||||||
jumpToSpecifiedDate: "Se rendre à la date"
|
jumpToSpecifiedDate: "Se rendre à la date"
|
||||||
showingPastTimeline: "Un fil ancien est affiché"
|
showingPastTimeline: "Un fil ancien est affiché"
|
||||||
clear: "Effacer"
|
clear: "Effacer"
|
||||||
|
markAllAsRead: "Tout marquer comme lu"
|
||||||
|
goBack: "Retour"
|
||||||
|
unlikeConfirm: "Êtes-vous sûr·e de ne plus vouloir aimer cette publication ?"
|
||||||
|
fullView: "Plein écran"
|
||||||
|
quitFullView: "Quitter le plein écran"
|
||||||
|
addDescription: "Ajouter une description"
|
||||||
|
userPagePinTip: "Vous pouvez afficher des notes ici en sélectionnant l'option « Épingler au profil » dans le menu de chaque note."
|
||||||
|
notSpecifiedMentionWarning: "Vous avez mentionné des utilisateur·rice·s qui ne font pas partie de la liste des destinataires"
|
||||||
|
info: "Informations"
|
||||||
|
userInfo: "Informations sur l'utilisateur"
|
||||||
|
unknown: "Inconnu"
|
||||||
|
onlineStatus: "Statut"
|
||||||
|
hideOnlineStatus: "Toujours apparaître hors ligne"
|
||||||
|
hideOnlineStatusDescription: "Forcer votre statut à toujours apparaître hors ligne peut diminuer les performances de certaines fonctionnalités, telles que la Recherche."
|
||||||
|
online: "En ligne"
|
||||||
|
offline: "Hors ligne"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "Vous suit"
|
title: "Vous suit"
|
||||||
|
@ -842,6 +859,7 @@ _theme:
|
||||||
install: "Installer un thème"
|
install: "Installer un thème"
|
||||||
manage: "Gestion des thèmes"
|
manage: "Gestion des thèmes"
|
||||||
code: "Code du thème"
|
code: "Code du thème"
|
||||||
|
description: "Description"
|
||||||
installed: "{name} a été installé"
|
installed: "{name} a été installé"
|
||||||
installedThemes: "Thèmes installés"
|
installedThemes: "Thèmes installés"
|
||||||
builtinThemes: "Thèmes intégrés"
|
builtinThemes: "Thèmes intégrés"
|
||||||
|
@ -936,7 +954,7 @@ _tutorial:
|
||||||
step3_3: "Remplissez le cadran et cliquez sur le bouton en haut à droite pour envoyer."
|
step3_3: "Remplissez le cadran et cliquez sur le bouton en haut à droite pour envoyer."
|
||||||
step3_4: "Vous n’avez rien à dire ? Essayez d’écrire « J’ai commencé à utiliser Misskey »."
|
step3_4: "Vous n’avez rien à dire ? Essayez d’écrire « J’ai commencé à utiliser Misskey »."
|
||||||
step4_1: "Avez-vous publié votre première note ?"
|
step4_1: "Avez-vous publié votre première note ?"
|
||||||
step4_2: "Youpi ! Celle-ci est maintenant affiché sur votre fil d’actualité."
|
step4_2: "Youpi ! Celle-ci est maintenant affichée sur votre fil d’actualité."
|
||||||
step5_1: "Maintenant, essayons de nous abonner à d’autres personnes afin de rendre votre fil plus vivant."
|
step5_1: "Maintenant, essayons de nous abonner à d’autres personnes afin de rendre votre fil plus vivant."
|
||||||
step5_2: "La page {featured} affiche les notes en tendance sur la présente instance et {explore} vous permet de trouver des utilisateur·rice·s en tendance. Essayez de vous abonner aux gens que vous aimez !"
|
step5_2: "La page {featured} affiche les notes en tendance sur la présente instance et {explore} vous permet de trouver des utilisateur·rice·s en tendance. Essayez de vous abonner aux gens que vous aimez !"
|
||||||
step5_3: "Pour pouvoir suivre d’autres utilisateur·rice, cliquez sur leur avatar afin d’afficher la page du profil utilisateur ensuite appuyez sur le bouton « S’abonner »."
|
step5_3: "Pour pouvoir suivre d’autres utilisateur·rice, cliquez sur leur avatar afin d’afficher la page du profil utilisateur ensuite appuyez sur le bouton « S’abonner »."
|
||||||
|
@ -946,7 +964,7 @@ _tutorial:
|
||||||
step6_3: "Pour ajouter une réaction à une note, cliquez sur le signe « + » de celle-ci et sélectionnez l’émoji souhaité."
|
step6_3: "Pour ajouter une réaction à une note, cliquez sur le signe « + » de celle-ci et sélectionnez l’émoji souhaité."
|
||||||
step7_1: "Félicitations ! Vous avez atteint la fin du tutoriel de base pour l’utilisation de Misskey."
|
step7_1: "Félicitations ! Vous avez atteint la fin du tutoriel de base pour l’utilisation de Misskey."
|
||||||
step7_2: "Si vous désirez en savoir plus sur Misskey, jetez un œil sur la section {help}."
|
step7_2: "Si vous désirez en savoir plus sur Misskey, jetez un œil sur la section {help}."
|
||||||
step7_3: "Bon courage et amusez-vous bien sur Misskey 🚀"
|
step7_3: "Bon courage et amusez-vous bien sur Misskey ! 🚀"
|
||||||
_2fa:
|
_2fa:
|
||||||
alreadyRegistered: "Cette étape à déjà été complétée"
|
alreadyRegistered: "Cette étape à déjà été complétée"
|
||||||
registerDevice: "Ajouter un nouvel appareil"
|
registerDevice: "Ajouter un nouvel appareil"
|
||||||
|
|
|
@ -615,6 +615,7 @@ inChannelSearch: "Cerca in canale"
|
||||||
useReactionPickerForContextMenu: "Cliccare sul tasto destro per aprire il pannello di reazioni"
|
useReactionPickerForContextMenu: "Cliccare sul tasto destro per aprire il pannello di reazioni"
|
||||||
typingUsers: "{users} sta(nno) scrivendo"
|
typingUsers: "{users} sta(nno) scrivendo"
|
||||||
showingPastTimeline: "Stai visualizzando una vecchia timeline"
|
showingPastTimeline: "Stai visualizzando una vecchia timeline"
|
||||||
|
info: "Informazioni"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "Ha iniziato a seguirti"
|
title: "Ha iniziato a seguirti"
|
||||||
|
@ -676,6 +677,7 @@ _theme:
|
||||||
install: "Installa un tema"
|
install: "Installa un tema"
|
||||||
manage: "Gerisci temi"
|
manage: "Gerisci temi"
|
||||||
code: "Codice tema"
|
code: "Codice tema"
|
||||||
|
description: "Descrizione"
|
||||||
installed: "{name} è installato"
|
installed: "{name} è installato"
|
||||||
installedThemes: "Temi installati"
|
installedThemes: "Temi installati"
|
||||||
builtinThemes: "Temi integrati"
|
builtinThemes: "Temi integrati"
|
||||||
|
|
|
@ -722,6 +722,12 @@ notSpecifiedMentionWarning: "宛先に含まれていないメンションがあ
|
||||||
info: "情報"
|
info: "情報"
|
||||||
userInfo: "ユーザー情報"
|
userInfo: "ユーザー情報"
|
||||||
unknown: "不明"
|
unknown: "不明"
|
||||||
|
onlineStatus: "オンライン状態"
|
||||||
|
hideOnlineStatus: "オンライン状態を隠す"
|
||||||
|
hideOnlineStatusDescription: "オンライン状態を隠すと、検索などの一部機能において利便性が低下することがあります。"
|
||||||
|
online: "オンライン"
|
||||||
|
active: "アクティブ"
|
||||||
|
offline: "オフライン"
|
||||||
|
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
_lang_: "日本語 (関西弁)"
|
_lang_: "日本語 (関西弁)"
|
||||||
|
headlineMisskey: "ノートでつながるネットワーク"
|
||||||
introMisskey: "ようお越し!Misskeyは、オープンソースの分散型マイクロブログサービスやねん。\n「ノート」を作って、いま起こっとることを共有したり、あんたについて皆に発信しよう📡\n「リアクション」機能で、皆のノートに素早く反応を追加したりもできるで✌\nほな新しい世界を探検しよか🚀"
|
introMisskey: "ようお越し!Misskeyは、オープンソースの分散型マイクロブログサービスやねん。\n「ノート」を作って、いま起こっとることを共有したり、あんたについて皆に発信しよう📡\n「リアクション」機能で、皆のノートに素早く反応を追加したりもできるで✌\nほな新しい世界を探検しよか🚀"
|
||||||
monthAndDay: "{month}月 {day}日"
|
monthAndDay: "{month}月 {day}日"
|
||||||
search: "探す"
|
search: "探す"
|
||||||
|
@ -54,7 +55,7 @@ youGotNewFollower: "フォローされたで"
|
||||||
receiveFollowRequest: "フォローリクエストされたで"
|
receiveFollowRequest: "フォローリクエストされたで"
|
||||||
followRequestAccepted: "フォローが承認されたで"
|
followRequestAccepted: "フォローが承認されたで"
|
||||||
mention: "メンション"
|
mention: "メンション"
|
||||||
mentions: "あんた宛て"
|
mentions: "うち宛て"
|
||||||
directNotes: "ダイレクト投稿"
|
directNotes: "ダイレクト投稿"
|
||||||
importAndExport: "インポートとエクスポート"
|
importAndExport: "インポートとエクスポート"
|
||||||
import: "インポート"
|
import: "インポート"
|
||||||
|
@ -433,6 +434,7 @@ passwordMatched: "よし!一致や!"
|
||||||
passwordNotMatched: "一致しとらんで?"
|
passwordNotMatched: "一致しとらんで?"
|
||||||
signinWith: "{x}でログイン"
|
signinWith: "{x}でログイン"
|
||||||
or: "それか"
|
or: "それか"
|
||||||
|
language: "言語"
|
||||||
uiLanguage: "UIの表示言語"
|
uiLanguage: "UIの表示言語"
|
||||||
groupInvited: "グループに招待されとるで"
|
groupInvited: "グループに招待されとるで"
|
||||||
aboutX: "{x}について"
|
aboutX: "{x}について"
|
||||||
|
@ -454,40 +456,352 @@ openImageInNewTab: "画像を新しいタブで開く"
|
||||||
dashboard: "ダッシュボード"
|
dashboard: "ダッシュボード"
|
||||||
local: "ローカル"
|
local: "ローカル"
|
||||||
remote: "リモート"
|
remote: "リモート"
|
||||||
|
total: "合計"
|
||||||
|
weekOverWeekChanges: "前週比"
|
||||||
|
dayOverDayChanges: "前日比"
|
||||||
|
appearance: "見た目"
|
||||||
|
clientSettings: "クライアントの設定"
|
||||||
|
accountSettings: "アカウントの設定"
|
||||||
|
promotion: "宣伝"
|
||||||
|
promote: "宣伝"
|
||||||
|
numberOfDays: "日数"
|
||||||
|
hideThisNote: "このノートは表示せんでいい"
|
||||||
|
showFeaturedNotesInTimeline: "タイムラインにおすすめのノートを表示してや"
|
||||||
|
objectStorage: "オブジェクトストレージ"
|
||||||
|
useObjectStorage: "オブジェクトストレージを使う"
|
||||||
|
objectStorageBaseUrl: "Base URL"
|
||||||
|
objectStorageBaseUrlDesc: "参照に使うにURLやで。CDNやProxyを使用してるんならそのURL、S3: 'https://<bucket>.s3.amazonaws.com'、GCSとかなら: 'https://storage.googleapis.com/<bucket>'。"
|
||||||
|
objectStorageBucket: "Bucket"
|
||||||
|
objectStoragePrefix: "Prefix"
|
||||||
|
objectStorageEndpoint: "Endpoint"
|
||||||
|
objectStorageRegion: "Region"
|
||||||
|
objectStorageUseSSL: "SSLを使う"
|
||||||
|
objectStorageUseProxy: "Proxyを使う"
|
||||||
|
objectStorageUseProxyDesc: "API接続にproxy使わんのやったら切ってくれへん?"
|
||||||
|
objectStorageSetPublicRead: "アップロードした時に'public-read'を設定してや"
|
||||||
|
serverLogs: "サーバーログ"
|
||||||
|
deleteAll: "全て削除してや"
|
||||||
|
showFixedPostForm: "タイムラインの上の方で投稿できるようにやってくれへん?"
|
||||||
|
newNoteRecived: "新しいノートがあるで"
|
||||||
|
sounds: "サウンド"
|
||||||
|
listen: "聴く"
|
||||||
|
none: "なし"
|
||||||
|
showInPage: "ページで表示"
|
||||||
|
popout: "ポップアウト"
|
||||||
|
volume: "音量"
|
||||||
|
masterVolume: "全体の音量"
|
||||||
|
details: "もっと"
|
||||||
|
chooseEmoji: "絵文字を選ぶ"
|
||||||
|
unableToProcess: "なんか作業が止まってしまったようやね"
|
||||||
|
recentUsed: "最近使ったやつ"
|
||||||
|
install: "インストール"
|
||||||
|
uninstall: "アンインストール"
|
||||||
|
installedApps: "インストールされとるアプリ"
|
||||||
|
nothing: "あらへん"
|
||||||
|
installedDate: "インストールした日時"
|
||||||
|
lastUsedDate: "最後に使った日時"
|
||||||
|
state: "状態"
|
||||||
|
sort: "仕分ける"
|
||||||
|
ascendingOrder: "小さい順"
|
||||||
|
descendingOrder: "大きい順"
|
||||||
|
scratchpad: "スクラッチパッド"
|
||||||
scratchpadDescription: "スクラッチパッドではAiScriptを色々試すことができるんや。Misskeyに対して色々できるコードを書いて動かしてみたり、結果を見たりできるで。"
|
scratchpadDescription: "スクラッチパッドではAiScriptを色々試すことができるんや。Misskeyに対して色々できるコードを書いて動かしてみたり、結果を見たりできるで。"
|
||||||
|
output: "出力"
|
||||||
|
script: "スクリプト"
|
||||||
|
disablePagesScript: "Pagesのスクリプトを無効にしてや"
|
||||||
|
updateRemoteUser: "リモートユーザー情報の更新してくれん?"
|
||||||
|
deleteAllFiles: "すべてのファイルを削除"
|
||||||
|
deleteAllFilesConfirm: "ホンマにすべてのファイルを削除するん?消したもんはもう戻ってこんのやで?"
|
||||||
|
removeAllFollowing: "フォローを全解除"
|
||||||
|
removeAllFollowingDescription: "{host}からのフォローをすべて解除するで。そのインスタンスが消えて無くなった時とかには便利な機能やで。"
|
||||||
|
userSuspended: "このユーザーは...凍結されとる。"
|
||||||
|
userSilenced: "このユーザーは...サイレンスされとる。"
|
||||||
|
sidebar: "サイドバー"
|
||||||
|
divider: "分割線"
|
||||||
|
rooms: "ルーム"
|
||||||
|
relays: "リレー"
|
||||||
|
addRelay: "リレーの追加"
|
||||||
|
inboxUrl: "inboxのURL"
|
||||||
|
addedRelays: "追加済みのリレー"
|
||||||
|
poll: "アンケート"
|
||||||
|
enablePlayer: "プレイヤーを開く"
|
||||||
|
disablePlayer: "プレイヤーを閉じる"
|
||||||
|
expandTweet: "ツイートを展開する"
|
||||||
|
themeEditor: "テーマエディター"
|
||||||
|
description: "説明"
|
||||||
|
author: "作者"
|
||||||
leaveConfirm: "未保存の変更があるで!ほかしてええか?"
|
leaveConfirm: "未保存の変更があるで!ほかしてええか?"
|
||||||
|
manage: "管理"
|
||||||
|
plugins: "プラグイン"
|
||||||
|
deck: "デッキ"
|
||||||
|
undeck: "デッキ解除"
|
||||||
|
width: "幅"
|
||||||
|
height: "高さ"
|
||||||
|
large: "大"
|
||||||
|
medium: "中"
|
||||||
|
small: "小"
|
||||||
|
edit: "編集"
|
||||||
|
emailConfig: "メールサーバー設定"
|
||||||
|
enableEmail: "メール配信を受け取る"
|
||||||
emailConfigInfo: "メールアドレスの確認とかパスワードリセットの時に使うで"
|
emailConfigInfo: "メールアドレスの確認とかパスワードリセットの時に使うで"
|
||||||
|
email: "メール"
|
||||||
|
emailAddress: "メールアドレス"
|
||||||
|
smtpConfig: "SMTP サーバーの設定"
|
||||||
smtpHost: "ホスト"
|
smtpHost: "ホスト"
|
||||||
|
smtpPort: "ポート"
|
||||||
smtpUser: "ユーザー名"
|
smtpUser: "ユーザー名"
|
||||||
smtpPass: "パスワード"
|
smtpPass: "パスワード"
|
||||||
|
emptyToDisableSmtpAuth: "ユーザー名とパスワードになんも入れんかったら、SMTP認証を無効化するで"
|
||||||
|
smtpSecure: "SMTP 接続に暗黙的なSSL/TLSを使用する"
|
||||||
|
testEmail: "配信テスト"
|
||||||
|
wordMute: "ワードミュート"
|
||||||
|
userSaysSomething: "{name}が何か言ったようやで"
|
||||||
|
makeActive: "アクティブにしてや"
|
||||||
|
display: "表示"
|
||||||
|
copy: "コピー"
|
||||||
|
metrics: "メトリクス"
|
||||||
|
overview: "概要"
|
||||||
|
logs: "ログ"
|
||||||
|
delayed: "遅延"
|
||||||
|
database: "データベース"
|
||||||
|
channel: "チャンネル"
|
||||||
|
create: "作成"
|
||||||
|
notificationSetting: "通知設定"
|
||||||
notificationSettingDesc: "表示する通知の種類えらんでや。"
|
notificationSettingDesc: "表示する通知の種類えらんでや。"
|
||||||
|
useGlobalSetting: "グローバル設定を使ってや"
|
||||||
|
other: "その他"
|
||||||
|
regenerateLoginToken: "ログイントークンを再生成"
|
||||||
|
behavior: "動作"
|
||||||
|
sample: "サンプル"
|
||||||
|
abuseReports: "通報"
|
||||||
|
reportAbuse: "通報"
|
||||||
|
reportAbuseOf: "{name}を通報する"
|
||||||
|
send: "送信"
|
||||||
|
abuseMarkAsResolved: "対応したで"
|
||||||
|
openInNewTab: "新しいタブで開く"
|
||||||
|
openInSideView: "サイドビューで開く"
|
||||||
|
defaultNavigationBehaviour: "デフォルトのナビゲーション"
|
||||||
|
editTheseSettingsMayBreakAccount: "このへんの設定をようわからんままイジるとアカウントが壊れて使えんくなるかも知れへんで?"
|
||||||
|
instanceTicker: "ノートのインスタンス情報"
|
||||||
|
waitingFor: "{x}を待っとるで"
|
||||||
|
random: "ランダム"
|
||||||
|
system: "システム"
|
||||||
|
switchUi: "UI切り替え"
|
||||||
|
desktop: "デスクトップ"
|
||||||
|
clip: "クリップ"
|
||||||
|
receivedReactionsCount: "リアクションされた数"
|
||||||
|
pollVotesCount: "アンケートに投票した数"
|
||||||
|
pollVotedCount: "アンケートに投票された数"
|
||||||
|
yes: "はい"
|
||||||
|
no: "いいえ"
|
||||||
|
driveFilesCount: "ドライブのファイル数"
|
||||||
emailVerified: "メールアドレスは確認されたで"
|
emailVerified: "メールアドレスは確認されたで"
|
||||||
pageLikesCount: "Pageにええやんと思った数"
|
pageLikesCount: "Pageにええやんと思った数"
|
||||||
pageLikedCount: "Pageにええやんと思ってくれた数"
|
pageLikedCount: "Pageにええやんと思ってくれた数"
|
||||||
|
clips: "クリップ"
|
||||||
|
duplicate: "複製"
|
||||||
|
left: "左"
|
||||||
|
center: "中央"
|
||||||
|
wide: "広い"
|
||||||
|
narrow: "狭い"
|
||||||
reloadToApplySetting: "設定はページリロード後に反映されるで。今リロードしとくか?"
|
reloadToApplySetting: "設定はページリロード後に反映されるで。今リロードしとくか?"
|
||||||
|
showTitlebar: "タイトルバーを見せる"
|
||||||
clearCache: "キャッシュをほかす"
|
clearCache: "キャッシュをほかす"
|
||||||
onlineUsersCount: "{n}人が起きとるで"
|
onlineUsersCount: "{n}人が起きとるで"
|
||||||
|
nUsers: "{n}ユーザー"
|
||||||
|
nNotes: "{n}ノート"
|
||||||
|
sendErrorReports: "エラーリポートを送る"
|
||||||
sendErrorReportsDescription: "オンにしたら、なんか変なことが起きたときにエラーの詳細がMisskeyに共有されて、ソフトウェアの品質向上に役立てられるんや。エラー情報には、OSのバージョン、ブラウザの種類、行動履歴などが含まれるで。"
|
sendErrorReportsDescription: "オンにしたら、なんか変なことが起きたときにエラーの詳細がMisskeyに共有されて、ソフトウェアの品質向上に役立てられるんや。エラー情報には、OSのバージョン、ブラウザの種類、行動履歴などが含まれるで。"
|
||||||
|
myTheme: "マイテーマ"
|
||||||
|
backgroundColor: "背景"
|
||||||
|
accentColor: "アクセント"
|
||||||
|
textColor: "文字"
|
||||||
|
saveAs: "名前を付けて保存"
|
||||||
|
advanced: "高度"
|
||||||
|
value: "値"
|
||||||
|
updatedAt: "更新日時"
|
||||||
|
saveConfirm: "保存するで?"
|
||||||
|
deleteConfirm: "ホンマに削除するで?"
|
||||||
|
registry: "レジストリ"
|
||||||
|
closeAccount: "アカウントを閉鎖する"
|
||||||
|
currentVersion: "現在のバージョン"
|
||||||
|
latestVersion: "最新のバージョン"
|
||||||
youAreRunningUpToDateClient: "今使ってるクライアントが最新やで!"
|
youAreRunningUpToDateClient: "今使ってるクライアントが最新やで!"
|
||||||
newVersionOfClientAvailable: "新しいバージョンのクライアントが使えるで。"
|
newVersionOfClientAvailable: "新しいバージョンのクライアントが使えるで。"
|
||||||
|
usageAmount: "使用量"
|
||||||
|
capacity: "容量"
|
||||||
|
inUse: "使用中"
|
||||||
|
editCode: "コードを編集"
|
||||||
|
apply: "適用"
|
||||||
|
receiveAnnouncementFromInstance: "インスタンスからのお知らせを受け取る"
|
||||||
|
emailNotification: "メール通知"
|
||||||
|
inChannelSearch: "チャンネル内検索"
|
||||||
|
useReactionPickerForContextMenu: "右クリックでリアクションピッカーを開くようにする"
|
||||||
|
typingUsers: "{users}が今書きよるで"
|
||||||
|
jumpToSpecifiedDate: "特定の日付にジャンプ"
|
||||||
|
showingPastTimeline: "過去のタイムラインを表示してるで"
|
||||||
|
clear: "クリア"
|
||||||
|
goBack: "戻る"
|
||||||
|
info: "情報"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "フォローされたで"
|
title: "フォローされたで"
|
||||||
|
_receiveFollowRequest:
|
||||||
|
title: "フォローリクエストを受け取ったで"
|
||||||
|
_plugin:
|
||||||
|
install: "プラグインのインストール"
|
||||||
|
installWarn: "信頼できへんプラグインはインストールせんとってな"
|
||||||
|
manage: "プラグインの管理"
|
||||||
|
_registry:
|
||||||
|
scope: "スコープ"
|
||||||
|
key: "キー"
|
||||||
|
keys: "キー"
|
||||||
|
domain: "ドメイン"
|
||||||
|
createKey: "キーを作る"
|
||||||
|
_aboutMisskey:
|
||||||
|
about: "Misskeyはsyuiloが2014年からずっと作ってはる、オープンソースなソフトウェアや。"
|
||||||
|
contributors: "主な貢献者"
|
||||||
|
allContributors: "全ての貢献者"
|
||||||
|
source: "ソースコード"
|
||||||
|
translation: "Misskeyを翻訳"
|
||||||
|
donate: "Misskeyに寄付"
|
||||||
|
morePatrons: "他にもぎょうさんの人からサポートしてもろてんねん。ほんまおおきに🥰"
|
||||||
|
patrons: "支援者"
|
||||||
_mfm:
|
_mfm:
|
||||||
|
cheatSheet: "MFMチートシート"
|
||||||
mention: "メンション"
|
mention: "メンション"
|
||||||
|
hashtag: "ハッシュタグ"
|
||||||
|
url: "URL"
|
||||||
|
link: "リンク"
|
||||||
|
bold: "太字"
|
||||||
|
center: "中央寄せ"
|
||||||
|
inlineCode: "コード(インライン)"
|
||||||
|
blockCode: "コード(ブロック)"
|
||||||
|
inlineMath: "数式(インライン)"
|
||||||
quote: "引用"
|
quote: "引用"
|
||||||
emoji: "カスタム絵文字"
|
emoji: "カスタム絵文字"
|
||||||
search: "探す"
|
search: "探す"
|
||||||
|
shake: "アニメーション(ぶるぶる)"
|
||||||
|
twitch: "アニメーション(ブレ)"
|
||||||
|
spin: "アニメーション(回転)"
|
||||||
|
blur: "ぼかし"
|
||||||
|
font: "フォント"
|
||||||
|
_reversi:
|
||||||
|
reversi: "リバーシ"
|
||||||
|
gameSettings: "対局の設定"
|
||||||
|
chooseBoard: "ボードを選択"
|
||||||
|
blackOrWhite: "先行/後攻"
|
||||||
|
blackIs: "{name}が黒(先行)"
|
||||||
|
rules: "ルール"
|
||||||
|
botSettings: "Botのオプション"
|
||||||
|
pastTurnOf: "{name}のターン"
|
||||||
|
surrender: "投了"
|
||||||
|
surrendered: "投了により"
|
||||||
|
drawn: "引き分け"
|
||||||
|
won: "{name}の勝ち"
|
||||||
|
black: "黒"
|
||||||
|
white: "白"
|
||||||
|
total: "合計"
|
||||||
|
turnCount: "{count}ターン目"
|
||||||
|
myGames: "自分の対局"
|
||||||
|
allGames: "みんなの対局"
|
||||||
|
ended: "終了"
|
||||||
|
playing: "対局中"
|
||||||
|
isLlotheo: "石の少ない方が勝ち(ロセオ)"
|
||||||
|
loopedMap: "ループマップ"
|
||||||
|
_instanceTicker:
|
||||||
|
none: "表示せん"
|
||||||
|
remote: "リモートユーザーに表示"
|
||||||
|
always: "常に表示"
|
||||||
|
_serverDisconnectedBehavior:
|
||||||
|
reload: "自動でリロード"
|
||||||
|
dialog: "ダイアログで警告"
|
||||||
_channel:
|
_channel:
|
||||||
|
create: "チャンネルを作る"
|
||||||
|
edit: "チャンネルを編集"
|
||||||
|
setBanner: "バナーを設定"
|
||||||
|
removeBanner: "バナーを削除"
|
||||||
|
featured: "トレンド"
|
||||||
notesCount: "{n}こ投稿があるで"
|
notesCount: "{n}こ投稿があるで"
|
||||||
_sidebar:
|
_sidebar:
|
||||||
|
full: "フル"
|
||||||
icon: "アイコン"
|
icon: "アイコン"
|
||||||
|
hide: "隠す"
|
||||||
|
_wordMute:
|
||||||
|
soft: "ソフト"
|
||||||
|
hard: "ハード"
|
||||||
_theme:
|
_theme:
|
||||||
|
explore: "テーマを探す"
|
||||||
|
install: "テーマのインストール"
|
||||||
|
manage: "テーマの管理"
|
||||||
|
code: "テーマコード"
|
||||||
|
description: "説明"
|
||||||
|
installed: "{name}をインストールしたで。"
|
||||||
|
installedThemes: "インストールされとるテーマ"
|
||||||
|
builtinThemes: "標準のテーマ"
|
||||||
|
alreadyInstalled: "そのテーマはもうインストールされとるで?"
|
||||||
|
make: "テーマを作る"
|
||||||
|
base: "ベース"
|
||||||
|
addConstant: "定数を追加"
|
||||||
|
defaultValue: "デフォルト値"
|
||||||
|
color: "色"
|
||||||
|
refProp: "プロパティを参照"
|
||||||
|
refConst: "定数を参照"
|
||||||
|
key: "キー"
|
||||||
|
func: "関数"
|
||||||
|
funcKind: "関数の種類"
|
||||||
|
argument: "引数"
|
||||||
|
basedProp: "元にするプロパティの名前"
|
||||||
|
alpha: "不透明度"
|
||||||
|
darken: "暗さ"
|
||||||
|
lighten: "明るさ"
|
||||||
keys:
|
keys:
|
||||||
|
accent: "アクセント"
|
||||||
|
bg: "背景"
|
||||||
|
fg: "文字"
|
||||||
|
focus: "フォーカス"
|
||||||
|
indicator: "インジケーター"
|
||||||
|
panel: "パネル"
|
||||||
|
shadow: "影"
|
||||||
|
header: "ヘッダー"
|
||||||
|
navBg: "サイドバーの背景"
|
||||||
|
navFg: "サイドバーの文字"
|
||||||
|
navHoverFg: "サイドバー文字(ホバー)"
|
||||||
|
navActive: "サイドバー文字(アクティブ)"
|
||||||
|
navIndicator: "サイドバーのインジケーター"
|
||||||
|
link: "リンク"
|
||||||
|
hashtag: "ハッシュタグ"
|
||||||
mention: "メンション"
|
mention: "メンション"
|
||||||
|
mentionMe: "うち宛てのメンション"
|
||||||
renote: "Renote"
|
renote: "Renote"
|
||||||
|
modalBg: "モーダルの背景"
|
||||||
|
divider: "分割線"
|
||||||
|
scrollbarHandle: "スクロールバーの取っ手"
|
||||||
|
scrollbarHandleHover: "スクロールバーの取っ手(ホバー)"
|
||||||
|
dateLabelFg: "日付ラベルの文字"
|
||||||
|
infoBg: "情報の背景"
|
||||||
|
infoFg: "情報の文字"
|
||||||
|
infoWarnBg: "警告の背景"
|
||||||
|
infoWarnFg: "警告の文字"
|
||||||
|
cwBg: "CW ボタンの背景"
|
||||||
|
cwFg: "CW ボタンの文字"
|
||||||
|
cwHoverBg: "CW ボタンの背景 (ホバー)"
|
||||||
|
toastBg: "通知トーストの背景"
|
||||||
|
toastFg: "通知トーストの文字"
|
||||||
|
buttonBg: "ボタンの背景"
|
||||||
|
buttonHoverBg: "ボタンの背景 (ホバー)"
|
||||||
|
inputBorder: "入力ボックスの縁取り"
|
||||||
|
listItemHoverBg: "リスト項目の背景 (ホバー)"
|
||||||
|
driveFolderBg: "ドライブフォルダーの背景"
|
||||||
|
wallpaperOverlay: "壁紙のオーバーレイ"
|
||||||
|
badge: "バッジ"
|
||||||
|
messageBg: "チャットの背景"
|
||||||
|
accentDarken: "アクセント (暗め)"
|
||||||
|
accentLighten: "アクセント (明るめ)"
|
||||||
|
fgHighlighted: "強調されとる文字"
|
||||||
_sfx:
|
_sfx:
|
||||||
note: "ノート"
|
note: "ノート"
|
||||||
|
noteMy: "ノート(自分)"
|
||||||
notification: "通知"
|
notification: "通知"
|
||||||
chat: "チャット"
|
chat: "チャット"
|
||||||
_ago:
|
_ago:
|
||||||
|
@ -511,24 +825,63 @@ _tutorial:
|
||||||
_2fa:
|
_2fa:
|
||||||
alreadyRegistered: "もう設定終わっとるわ。"
|
alreadyRegistered: "もう設定終わっとるわ。"
|
||||||
_permissions:
|
_permissions:
|
||||||
|
"read:reactions": "リアクションを見る"
|
||||||
|
"write:votes": "投票する"
|
||||||
|
"read:pages": "ページを見る"
|
||||||
"read:page-likes": "ページのええやんを見る"
|
"read:page-likes": "ページのええやんを見る"
|
||||||
"write:page-likes": "ページのええやんを操作する"
|
"write:page-likes": "ページのええやんを操作する"
|
||||||
|
"read:user-groups": "ユーザーグループを見る"
|
||||||
|
"read:channels": "チャンネルを見る"
|
||||||
_auth:
|
_auth:
|
||||||
permissionAsk: "このアプリは次の権限を要求しとるで"
|
permissionAsk: "このアプリは次の権限を要求しとるで"
|
||||||
_antennaSources:
|
_antennaSources:
|
||||||
all: "みなのノート"
|
all: "みなのノート"
|
||||||
homeTimeline: "フォローしとるユーザーのノート"
|
homeTimeline: "フォローしとるユーザーのノート"
|
||||||
|
_weekday:
|
||||||
|
sunday: "日曜日"
|
||||||
|
monday: "月曜日"
|
||||||
|
tuesday: "火曜日"
|
||||||
|
wednesday: "水曜日"
|
||||||
|
thursday: "木曜日"
|
||||||
|
friday: "金曜日"
|
||||||
|
saturday: "土曜日"
|
||||||
_widgets:
|
_widgets:
|
||||||
|
memo: "付箋"
|
||||||
notifications: "通知"
|
notifications: "通知"
|
||||||
timeline: "タイムライン"
|
timeline: "タイムライン"
|
||||||
|
calendar: "カレンダー"
|
||||||
|
trends: "トレンド"
|
||||||
|
clock: "時計"
|
||||||
|
rss: "RSSリーダー"
|
||||||
activity: "アクティビティ"
|
activity: "アクティビティ"
|
||||||
|
photos: "フォト"
|
||||||
|
digitalClock: "デジタル時計"
|
||||||
federation: "連合"
|
federation: "連合"
|
||||||
|
postForm: "投稿フォーム"
|
||||||
|
slideshow: "スライドショー"
|
||||||
|
button: "ボタン"
|
||||||
|
onlineUsers: "オンラインユーザー"
|
||||||
jobQueue: "ジョブキュー"
|
jobQueue: "ジョブキュー"
|
||||||
|
serverMetric: "サーバーメトリクス"
|
||||||
|
aiscript: "AiScriptコンソール"
|
||||||
_cw:
|
_cw:
|
||||||
|
hide: "隠す"
|
||||||
show: "続き見して!"
|
show: "続き見して!"
|
||||||
|
chars: "{count}文字"
|
||||||
|
files: "{count}ファイル"
|
||||||
_poll:
|
_poll:
|
||||||
|
choiceN: "選択肢{n}"
|
||||||
noMore: "これ以上追加でけへん"
|
noMore: "これ以上追加でけへん"
|
||||||
|
canMultipleVote: "複数回答可"
|
||||||
|
expiration: "期限"
|
||||||
|
infinite: "無期限"
|
||||||
|
at: "日時指定"
|
||||||
|
after: "経過指定"
|
||||||
|
deadlineDate: "期日"
|
||||||
deadlineTime: "時間"
|
deadlineTime: "時間"
|
||||||
|
duration: "期間"
|
||||||
|
votesCount: "{n}票"
|
||||||
|
vote: "投票する"
|
||||||
_visibility:
|
_visibility:
|
||||||
publicDescription: "みなのユーザーに公開"
|
publicDescription: "みなのユーザーに公開"
|
||||||
home: "ホーム"
|
home: "ホーム"
|
||||||
|
@ -542,44 +895,372 @@ _exportOrImport:
|
||||||
muteList: "ミュート"
|
muteList: "ミュート"
|
||||||
blockingList: "ブロック"
|
blockingList: "ブロック"
|
||||||
userLists: "リスト"
|
userLists: "リスト"
|
||||||
|
_charts:
|
||||||
|
usersTotal: "ユーザーの合計"
|
||||||
|
activeUsers: "アクティブユーザー数"
|
||||||
|
notesIncDec: "ノートの増減"
|
||||||
|
localNotesIncDec: "ローカルのノートの増減"
|
||||||
|
remoteNotesIncDec: "リモートのノートの増減"
|
||||||
|
notesTotal: "ノートの合計"
|
||||||
|
filesIncDec: "ファイルの増減"
|
||||||
|
filesTotal: "ファイルの合計"
|
||||||
|
storageUsageIncDec: "ストレージ使用量の増減"
|
||||||
|
storageUsageTotal: "ストレージ使用量の合計"
|
||||||
|
_instanceCharts:
|
||||||
|
requests: "リクエスト"
|
||||||
|
users: "ユーザーの増減"
|
||||||
|
usersTotal: "ユーザーの累積"
|
||||||
|
notes: "ノートの増減"
|
||||||
|
notesTotal: "ノートの累積"
|
||||||
|
ff: "フォロー/フォロワーの増減"
|
||||||
|
ffTotal: "フォロー/フォロワーの累積"
|
||||||
|
cacheSize: "キャッシュサイズの増減"
|
||||||
|
cacheSizeTotal: "キャッシュサイズの累積"
|
||||||
|
files: "ファイル数の増減"
|
||||||
|
filesTotal: "ファイル数の累積"
|
||||||
_timelines:
|
_timelines:
|
||||||
home: "ホーム"
|
home: "ホーム"
|
||||||
|
local: "ローカル"
|
||||||
|
social: "ソーシャル"
|
||||||
|
global: "グローバル"
|
||||||
_rooms:
|
_rooms:
|
||||||
|
roomOf: "{user}のルーム"
|
||||||
|
addFurniture: "家具を置く"
|
||||||
|
translate: "移動"
|
||||||
|
rotate: "回転"
|
||||||
|
exit: "戻る"
|
||||||
|
remove: "しまう"
|
||||||
|
clear: "片付け"
|
||||||
|
clearConfirm: "家具ぜんぶしまうけど、ホンマにええん?"
|
||||||
leaveConfirm: "未保存の変更があるけど、移動してええか?"
|
leaveConfirm: "未保存の変更があるけど、移動してええか?"
|
||||||
|
chooseImage: "画像を選ぶ"
|
||||||
|
roomType: "部屋のタイプ"
|
||||||
|
carpetColor: "床の色"
|
||||||
_roomType:
|
_roomType:
|
||||||
default: "デフォルト"
|
default: "デフォルト"
|
||||||
|
washitsu: "和室"
|
||||||
_furnitures:
|
_furnitures:
|
||||||
|
milk: "牛乳パック"
|
||||||
|
bed: "ベッド"
|
||||||
|
low-table: "ローテーブル"
|
||||||
|
desk: "デスク"
|
||||||
|
chair: "チェア"
|
||||||
|
chair2: "チェア2"
|
||||||
|
fan: "換気扇"
|
||||||
|
pc: "パソコン"
|
||||||
|
plant: "観葉植物"
|
||||||
|
plant2: "観葉植物2"
|
||||||
|
eraser: "消しゴム"
|
||||||
|
pencil: "鉛筆"
|
||||||
|
pudding: "プリン"
|
||||||
|
cardboard-box: "段ボール箱"
|
||||||
|
cardboard-box2: "段ボール箱2"
|
||||||
|
cardboard-box3: "段ボール箱3"
|
||||||
|
book: "本"
|
||||||
|
book2: "本2"
|
||||||
|
piano: "ピアノ"
|
||||||
|
facial-tissue: "ティッシュボックス"
|
||||||
|
server: "サーバー"
|
||||||
|
moon: "月"
|
||||||
|
corkboard: "コルクボード"
|
||||||
|
mousepad: "マウスパッド"
|
||||||
monitor: "モニター"
|
monitor: "モニター"
|
||||||
|
keyboard: "キーボード"
|
||||||
|
carpet-stripe: "カーペット(縞)"
|
||||||
|
mat: "マット"
|
||||||
|
color-box: "カラーボックス"
|
||||||
|
wall-clock: "壁掛け時計"
|
||||||
|
photoframe: "額縁"
|
||||||
|
cube: "キューブ"
|
||||||
|
tv: "テレビ"
|
||||||
|
pinguin: "ピンギン"
|
||||||
|
rubik-cube: "ルービックキューブ"
|
||||||
|
poster-h: "ルービックキューブ"
|
||||||
|
poster-v: "ポスター(縦長)"
|
||||||
|
sofa: "ソファ"
|
||||||
|
spiral: "螺旋階段"
|
||||||
|
bin: "ゴミ箱"
|
||||||
|
cup-noodle: "カップ麺"
|
||||||
|
holo-display: "ホログラフィックディスプレイ"
|
||||||
|
energy-drink: "エナジードリンク"
|
||||||
|
doll-ai: "藍ちゃん人形"
|
||||||
|
banknote: "札束"
|
||||||
_pages:
|
_pages:
|
||||||
|
newPage: "ページを作る"
|
||||||
|
editPage: "ページの編集"
|
||||||
|
readPage: "ソースを表示中"
|
||||||
|
created: "ページを作成したで"
|
||||||
|
updated: "ページを更新したで"
|
||||||
|
deleted: "ページを削除したで"
|
||||||
|
pageSetting: "ページ設定"
|
||||||
|
viewPage: "ページを見る"
|
||||||
like: "ええやん"
|
like: "ええやん"
|
||||||
unlike: "良くないわ"
|
unlike: "良くないわ"
|
||||||
liked: "ええと思ったページ"
|
liked: "ええと思ったページ"
|
||||||
|
contents: "コンテンツ"
|
||||||
|
summary: "ページの要約"
|
||||||
|
alignCenter: "中央寄せ"
|
||||||
|
font: "フォント"
|
||||||
|
fontSerif: "セリフ"
|
||||||
|
fontSansSerif: "サンセリフ"
|
||||||
|
eyeCatchingImageSet: "アイキャッチ画像を設定"
|
||||||
|
eyeCatchingImageRemove: "アイキャッチ画像を削除"
|
||||||
|
chooseBlock: "ブロックを追加"
|
||||||
|
selectType: "種類を選択"
|
||||||
|
contentBlocks: "コンテンツ"
|
||||||
|
inputBlocks: "入力"
|
||||||
|
specialBlocks: "特殊"
|
||||||
blocks:
|
blocks:
|
||||||
|
text: "テキスト"
|
||||||
|
textarea: "テキストエリア"
|
||||||
|
section: "セクション"
|
||||||
image: "画像"
|
image: "画像"
|
||||||
|
button: "ボタン"
|
||||||
|
if: "もし"
|
||||||
|
_if:
|
||||||
|
variable: "変数"
|
||||||
|
post: "投稿フォーム"
|
||||||
|
_post:
|
||||||
|
text: "内容"
|
||||||
|
canvasId: "キャンバスID"
|
||||||
|
textInput: "テキスト入力"
|
||||||
|
_textInput:
|
||||||
|
name: "変数名"
|
||||||
|
text: "タイトル"
|
||||||
|
default: "デフォルト値"
|
||||||
|
textareaInput: "複数行テキスト入力"
|
||||||
|
_textareaInput:
|
||||||
|
name: "変数名"
|
||||||
|
text: "タイトル"
|
||||||
|
default: "デフォルト値"
|
||||||
|
numberInput: "数値入力"
|
||||||
|
_numberInput:
|
||||||
|
name: "変数名"
|
||||||
|
text: "タイトル"
|
||||||
|
default: "デフォルト値"
|
||||||
|
canvas: "キャンバス"
|
||||||
|
_canvas:
|
||||||
|
id: "キャンバスID"
|
||||||
|
width: "幅"
|
||||||
|
height: "高さ"
|
||||||
|
note: "ノート埋め込み"
|
||||||
|
_note:
|
||||||
|
id: "ノートID"
|
||||||
|
detailed: "詳細な表示"
|
||||||
|
switch: "スイッチ"
|
||||||
|
_switch:
|
||||||
|
name: "変数名"
|
||||||
|
text: "タイトル"
|
||||||
|
default: "デフォルト値"
|
||||||
|
counter: "カウンター"
|
||||||
|
_counter:
|
||||||
|
name: "変数名"
|
||||||
|
text: "タイトル"
|
||||||
|
inc: "増加値"
|
||||||
|
_button:
|
||||||
|
text: "タイトル"
|
||||||
|
colored: "色付き"
|
||||||
|
action: "ボタンを押したときの動作"
|
||||||
|
_action:
|
||||||
|
dialog: "ダイアログを表示する"
|
||||||
|
_dialog:
|
||||||
|
content: "内容"
|
||||||
|
resetRandom: "乱数をリセット"
|
||||||
|
pushEvent: "イベントを送信させる"
|
||||||
|
_pushEvent:
|
||||||
|
event: "イベント名"
|
||||||
|
no-variable: "なし"
|
||||||
|
callAiScript: "AiScript呼び出し"
|
||||||
|
_callAiScript:
|
||||||
|
functionName: "関数名"
|
||||||
|
radioButton: "選択肢"
|
||||||
|
_radioButton:
|
||||||
|
name: "変数名"
|
||||||
|
title: "タイトル"
|
||||||
|
values: "改行で区切った選択肢"
|
||||||
|
default: "デフォルト値"
|
||||||
script:
|
script:
|
||||||
categories:
|
categories:
|
||||||
|
flow: "制御"
|
||||||
|
logical: "論理演算"
|
||||||
|
operation: "計算"
|
||||||
|
comparison: "比較"
|
||||||
|
random: "ランダム"
|
||||||
|
value: "値"
|
||||||
|
fn: "関数"
|
||||||
|
text: "関数"
|
||||||
|
convert: "変換"
|
||||||
list: "リスト"
|
list: "リスト"
|
||||||
blocks:
|
blocks:
|
||||||
|
text: "テキスト"
|
||||||
|
multiLineText: "テキスト(複数行)"
|
||||||
|
textList: "テキストのリスト"
|
||||||
|
strLen: "テキストの長さ"
|
||||||
|
_strLen:
|
||||||
|
arg1: "テキスト"
|
||||||
|
strPick: "文字取り出し"
|
||||||
|
_strPick:
|
||||||
|
arg1: "テキスト"
|
||||||
|
arg2: "文字の位置"
|
||||||
|
strReplace: "テキスト置き換え"
|
||||||
|
_strReplace:
|
||||||
|
arg1: "テキスト"
|
||||||
|
arg2: "置き換え前"
|
||||||
|
arg3: "置き換え後"
|
||||||
|
strReverse: "テキストを反転"
|
||||||
|
_strReverse:
|
||||||
|
arg1: "テキスト"
|
||||||
|
join: "テキストを連結"
|
||||||
_join:
|
_join:
|
||||||
arg1: "リスト"
|
arg1: "リスト"
|
||||||
|
arg2: "区切り"
|
||||||
|
add: "足す"
|
||||||
|
_add:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
subtract: "引く"
|
||||||
|
_subtract:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "A"
|
||||||
|
multiply: "掛ける"
|
||||||
|
_multiply:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
divide: "割る"
|
||||||
|
_divide:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
mod: "割った余り"
|
||||||
|
_mod:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
round: "小数を丸める"
|
||||||
|
_round:
|
||||||
|
arg1: "数値"
|
||||||
|
eq: "AとBが同じ"
|
||||||
|
_eq:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
notEq: "AとBが異なる"
|
||||||
|
_notEq:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
and: "AかつB"
|
||||||
|
_and:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
or: "AまたはB"
|
||||||
|
_or:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
lt: "< AがBより小さい"
|
||||||
|
_lt:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
gt: "> AがBより大きい"
|
||||||
|
_gt:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
ltEq: "<= AがBと同じか小さい"
|
||||||
|
_ltEq:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
gtEq: ">= AがBと同じか大きい"
|
||||||
|
_gtEq:
|
||||||
|
arg1: "A"
|
||||||
|
arg2: "B"
|
||||||
|
if: "分岐"
|
||||||
|
_if:
|
||||||
|
arg1: "もし"
|
||||||
|
arg2: "なら"
|
||||||
|
arg3: "そうでなければ"
|
||||||
|
not: "否定"
|
||||||
|
_not:
|
||||||
|
arg1: "否定"
|
||||||
|
random: "ランダム"
|
||||||
|
_random:
|
||||||
|
arg1: "確率"
|
||||||
|
rannum: "乱数"
|
||||||
|
_rannum:
|
||||||
|
arg1: "最小"
|
||||||
|
arg2: "最大"
|
||||||
|
randomPick: "リストからランダムに選ぶ"
|
||||||
_randomPick:
|
_randomPick:
|
||||||
arg1: "リスト"
|
arg1: "リスト"
|
||||||
|
dailyRandom: "ランダム (ユーザーごとに日替わり)"
|
||||||
|
_dailyRandom:
|
||||||
|
arg1: "確率"
|
||||||
|
dailyRannum: "乱数 (ユーザーごとに日替わり)"
|
||||||
|
_dailyRannum:
|
||||||
|
arg1: "最小"
|
||||||
|
arg2: "最大"
|
||||||
|
dailyRandomPick: "リストからランダムに選ぶ (ユーザーごとに日替わり)"
|
||||||
_dailyRandomPick:
|
_dailyRandomPick:
|
||||||
arg1: "リスト"
|
arg1: "リスト"
|
||||||
|
seedRandom: "ランダム (シード)"
|
||||||
|
_seedRandom:
|
||||||
|
arg1: "シード"
|
||||||
|
arg2: "確率"
|
||||||
|
seedRannum: "乱数 (シード)"
|
||||||
|
_seedRannum:
|
||||||
|
arg1: "シード"
|
||||||
|
arg2: "最小"
|
||||||
|
arg3: "最大"
|
||||||
|
seedRandomPick: "リストからランダムに選択 (シード)"
|
||||||
_seedRandomPick:
|
_seedRandomPick:
|
||||||
|
arg1: "シード"
|
||||||
arg2: "リスト"
|
arg2: "リスト"
|
||||||
|
DRPWPM: "確率付きリストからランダムに選ぶ (ユーザーごとに日替わり)"
|
||||||
|
_DRPWPM:
|
||||||
|
arg1: "テキストのリスト"
|
||||||
|
pick: "リストから選ぶ"
|
||||||
_pick:
|
_pick:
|
||||||
arg1: "リスト"
|
arg1: "リスト"
|
||||||
|
arg2: "位置"
|
||||||
|
listLen: "リストの長さを取得"
|
||||||
_listLen:
|
_listLen:
|
||||||
arg1: "リスト"
|
arg1: "リスト"
|
||||||
|
number: "数値"
|
||||||
|
stringToNumber: "テキストを数値に"
|
||||||
|
_stringToNumber:
|
||||||
|
arg1: "テキスト"
|
||||||
|
numberToString: "数値をテキストに"
|
||||||
|
_numberToString:
|
||||||
|
arg1: "数値"
|
||||||
|
splitStrByLine: "テキストを行で分割"
|
||||||
|
_splitStrByLine:
|
||||||
|
arg1: "テキスト"
|
||||||
|
ref: "変数"
|
||||||
|
aiScriptVar: "AiScript変数"
|
||||||
|
fn: "関数"
|
||||||
|
_fn:
|
||||||
|
slots: "スロット"
|
||||||
|
arg1: "出力"
|
||||||
|
for: "繰り返し"
|
||||||
|
_for:
|
||||||
|
arg1: "回数"
|
||||||
|
arg2: "処理"
|
||||||
|
thereIsEmptySlot: "スロット{slot}が空っぽやで!"
|
||||||
types:
|
types:
|
||||||
|
string: "テキスト"
|
||||||
|
number: "数値"
|
||||||
|
boolean: "フラグ"
|
||||||
array: "リスト"
|
array: "リスト"
|
||||||
|
stringArray: "テキストのリスト"
|
||||||
|
emptySlot: "空のスロット"
|
||||||
|
enviromentVariables: "環境変数"
|
||||||
|
pageVariables: "ページ要素"
|
||||||
|
argVariables: "入力スロット"
|
||||||
_notification:
|
_notification:
|
||||||
|
fileUploaded: "ファイルが無事アップロードされたで。"
|
||||||
|
youGotMention: "{name}からのメンション"
|
||||||
|
youGotReply: "{name}からのリプライ"
|
||||||
youWereFollowed: "フォローされたで"
|
youWereFollowed: "フォローされたで"
|
||||||
youReceivedFollowRequest: "フォロー許可してほしいみたいやな"
|
youReceivedFollowRequest: "フォロー許可してほしいみたいやな"
|
||||||
yourFollowRequestAccepted: "フォローさせてもろたで"
|
yourFollowRequestAccepted: "フォローさせてもろたで"
|
||||||
youWereInvitedToGroup: "グループに招待されとるで"
|
youWereInvitedToGroup: "グループに招待されとるで"
|
||||||
_types:
|
_types:
|
||||||
|
all: "すべて"
|
||||||
follow: "フォロー"
|
follow: "フォロー"
|
||||||
mention: "メンション"
|
mention: "メンション"
|
||||||
renote: "Renote"
|
renote: "Renote"
|
||||||
|
@ -588,9 +1269,24 @@ _notification:
|
||||||
receiveFollowRequest: "フォロー許可してほしいみたいやで"
|
receiveFollowRequest: "フォロー許可してほしいみたいやで"
|
||||||
followRequestAccepted: "フォローが受理されたで"
|
followRequestAccepted: "フォローが受理されたで"
|
||||||
_deck:
|
_deck:
|
||||||
|
alwaysShowMainColumn: "いつもメインカラムを表示"
|
||||||
|
columnAlign: "カラムの寄せ"
|
||||||
|
columnMargin: "カラム間のマージン"
|
||||||
|
columnHeaderHeight: "カラムのヘッダー幅"
|
||||||
|
addColumn: "カラムを追加"
|
||||||
|
swapLeft: "左に移動"
|
||||||
|
swapRight: "右に移動"
|
||||||
|
swapUp: "上に移動"
|
||||||
|
swapDown: "下に移動"
|
||||||
|
stackLeft: "左に重ねる"
|
||||||
|
popRight: "右に出す"
|
||||||
|
profile: "プロファイル"
|
||||||
_columns:
|
_columns:
|
||||||
|
main: "メイン"
|
||||||
|
widgets: "ウィジェット"
|
||||||
notifications: "通知"
|
notifications: "通知"
|
||||||
tl: "タイムライン"
|
tl: "タイムライン"
|
||||||
antenna: "アンテナ"
|
antenna: "アンテナ"
|
||||||
list: "リスト"
|
list: "リスト"
|
||||||
mentions: "あんた宛て"
|
mentions: "あんた宛て"
|
||||||
|
direct: "ダイレクト"
|
||||||
|
|
|
@ -552,6 +552,8 @@ manage: "관리"
|
||||||
plugins: "플러그인"
|
plugins: "플러그인"
|
||||||
deck: "덱"
|
deck: "덱"
|
||||||
undeck: "덱 해제"
|
undeck: "덱 해제"
|
||||||
|
useBlurEffectForModal: "모달에 흐림 효과 사용"
|
||||||
|
useFullReactionPicker: "모든 기능이 포함된 리액션 선택기 사용"
|
||||||
width: "폭"
|
width: "폭"
|
||||||
height: "높이"
|
height: "높이"
|
||||||
large: "크게"
|
large: "크게"
|
||||||
|
@ -613,6 +615,7 @@ send: "전송"
|
||||||
abuseMarkAsResolved: "해결됨으로 표시"
|
abuseMarkAsResolved: "해결됨으로 표시"
|
||||||
openInNewTab: "새 탭에서 열기"
|
openInNewTab: "새 탭에서 열기"
|
||||||
openInSideView: "사이드뷰로 열기"
|
openInSideView: "사이드뷰로 열기"
|
||||||
|
defaultNavigationBehaviour: "기본 탐색 동작"
|
||||||
editTheseSettingsMayBreakAccount: "이 설정을 변경하면 계정이 손상될 수 있습니다."
|
editTheseSettingsMayBreakAccount: "이 설정을 변경하면 계정이 손상될 수 있습니다."
|
||||||
instanceTicker: "노트의 인스턴스 정보"
|
instanceTicker: "노트의 인스턴스 정보"
|
||||||
waitingFor: "{x}을(를) 기다리고 있습니다"
|
waitingFor: "{x}을(를) 기다리고 있습니다"
|
||||||
|
@ -684,6 +687,7 @@ textColor: "문자 색"
|
||||||
saveAs: "다른 이름으로 저장"
|
saveAs: "다른 이름으로 저장"
|
||||||
advanced: "고급"
|
advanced: "고급"
|
||||||
value: "값"
|
value: "값"
|
||||||
|
createdAt: "생성된 날짜"
|
||||||
updatedAt: "수정한 날짜"
|
updatedAt: "수정한 날짜"
|
||||||
saveConfirm: "저장하시겠습니까?"
|
saveConfirm: "저장하시겠습니까?"
|
||||||
deleteConfirm: "삭제하시겠습니까?"
|
deleteConfirm: "삭제하시겠습니까?"
|
||||||
|
@ -692,15 +696,47 @@ registry: "레지스트리"
|
||||||
closeAccount: "계정 폐쇄"
|
closeAccount: "계정 폐쇄"
|
||||||
currentVersion: "현재 버전"
|
currentVersion: "현재 버전"
|
||||||
latestVersion: "최신 버전"
|
latestVersion: "최신 버전"
|
||||||
|
youAreRunningUpToDateClient: "사용 중인 클라이언트는 최신입니다."
|
||||||
newVersionOfClientAvailable: "새로운 버전의 클라이언트를 이용할 수 있습니다."
|
newVersionOfClientAvailable: "새로운 버전의 클라이언트를 이용할 수 있습니다."
|
||||||
usageAmount: "사용량"
|
usageAmount: "사용량"
|
||||||
capacity: "용량"
|
capacity: "용량"
|
||||||
inUse: "사용중"
|
inUse: "사용중"
|
||||||
editCode: "코드 수정"
|
editCode: "코드 수정"
|
||||||
apply: "적용"
|
apply: "적용"
|
||||||
|
receiveAnnouncementFromInstance: "이 인스턴스의 알림을 이메일로 수신할게요"
|
||||||
|
emailNotification: "메일 알림"
|
||||||
|
inChannelSearch: "채널에서 검색"
|
||||||
|
useReactionPickerForContextMenu: "우클릭하여 리액션 선택기 열기"
|
||||||
|
typingUsers: "{users} 님이 입력하고 있어요.."
|
||||||
|
jumpToSpecifiedDate: "특정 날짜로 이동"
|
||||||
|
showingPastTimeline: "과거의 타임라인을 표시하고 있어요"
|
||||||
|
clear: "지우기"
|
||||||
|
markAllAsRead: "모두 읽은 상태로 표시"
|
||||||
|
goBack: "뒤로"
|
||||||
|
unlikeConfirm: "좋아요를 취소할까요?"
|
||||||
|
fullView: "전체 화면"
|
||||||
|
quitFullView: "전체 화면 해제"
|
||||||
|
addDescription: "설명 추가"
|
||||||
|
userPagePinTip: "각 노트의 메뉴에서 「프로필에 고정」을 선택하는 것으로, 여기에 노트를 표시해 둘 수 있어요."
|
||||||
|
notSpecifiedMentionWarning: "수신자가 선택되지 않은 멘션이 있어요"
|
||||||
|
info: "정보"
|
||||||
|
userInfo: "유저 정보"
|
||||||
|
unknown: "알 수 없음"
|
||||||
|
onlineStatus: "온라인 상태"
|
||||||
|
hideOnlineStatus: "온라인 상태 숨기기"
|
||||||
|
hideOnlineStatusDescription: "온라인 상태를 숨기면, 검색과 같은 일부 기능에 영향을 미칠 수 있습니다."
|
||||||
|
online: "온라인"
|
||||||
|
active: "활동 중"
|
||||||
|
offline: "오프라인"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "새로운 팔로워가 있습니다"
|
title: "새로운 팔로워가 있습니다"
|
||||||
|
_receiveFollowRequest:
|
||||||
|
title: "팔로우 요청을 받았습니다"
|
||||||
|
_plugin:
|
||||||
|
install: "플러그인 설치"
|
||||||
|
installWarn: "신뢰할 수 없는 플러그인은 설치하지 않는 것이 좋습니다."
|
||||||
|
manage: "플러그인 관리"
|
||||||
_registry:
|
_registry:
|
||||||
scope: "범위"
|
scope: "범위"
|
||||||
key: "키"
|
key: "키"
|
||||||
|
@ -734,6 +770,7 @@ _mfm:
|
||||||
linkDescription: "문장의 특정 범위를 URL로 표시합니다."
|
linkDescription: "문장의 특정 범위를 URL로 표시합니다."
|
||||||
bold: "굵음/볼드체"
|
bold: "굵음/볼드체"
|
||||||
boldDescription: "문자를 굵게 강조합니다."
|
boldDescription: "문자를 굵게 강조합니다."
|
||||||
|
small: "눈에 띄지 않음"
|
||||||
smallDescription: "내용을 작고 연하게 보이게 합니다."
|
smallDescription: "내용을 작고 연하게 보이게 합니다."
|
||||||
center: "가운데 정렬"
|
center: "가운데 정렬"
|
||||||
centerDescription: "내용을 가운데 정렬로 보이게 합니다."
|
centerDescription: "내용을 가운데 정렬로 보이게 합니다."
|
||||||
|
@ -746,19 +783,35 @@ _mfm:
|
||||||
blockMath: "수식(블록)"
|
blockMath: "수식(블록)"
|
||||||
blockMathDescription: "여러 줄의 수식(KaTeX)를 블록으로 보이게 합니다."
|
blockMathDescription: "여러 줄의 수식(KaTeX)를 블록으로 보이게 합니다."
|
||||||
quote: "인용"
|
quote: "인용"
|
||||||
|
quoteDescription: "내용을 인용문으로 표시합니다."
|
||||||
emoji: "커스텀 이모지"
|
emoji: "커스텀 이모지"
|
||||||
emojiDescription: "커스텀 이모지의 이름을 쌍점(:)으로 감싸서 커스텀 이모지를 사용합니다."
|
emojiDescription: "커스텀 이모지의 이름을 쌍점(:)으로 감싸서 커스텀 이모지를 사용합니다."
|
||||||
search: "검색"
|
search: "검색"
|
||||||
searchDescription: "주어진 키워드가 입력된 검색창을 보이게 합니다."
|
searchDescription: "주어진 키워드가 입력된 검색창을 보이게 합니다."
|
||||||
flip: "플립"
|
flip: "플립"
|
||||||
flipDescription: "내용을 상하 또는 좌우로 반전시킵니다."
|
flipDescription: "내용을 상하 또는 좌우로 반전시킵니다."
|
||||||
|
jelly: "애니메이션 (젤리)"
|
||||||
|
jellyDescription: "젤리처럼 탱글탱글한 느낌의 효과를 줍니다."
|
||||||
|
tada: "애니메이션 (짠!)"
|
||||||
|
tadaDescription: "짠! 하는 느낌의 효과를 줍니다."
|
||||||
jump: "애니메이션(점프)"
|
jump: "애니메이션(점프)"
|
||||||
|
jumpDescription: "펄쩍 뛸 듯한 느낌의 효과를 줍니다."
|
||||||
|
bounce: "애니메이션 (바운스)"
|
||||||
|
bounceDescription: "통통 튀는 느낌의 효과를 줍니다."
|
||||||
|
shake: "애니메이션 (부들부들)"
|
||||||
|
shakeDescription: "부들부들 떠는 느낌의 효과를 줍니다."
|
||||||
|
twitch: "애니메이션 (경련)"
|
||||||
|
twitchDescription: "격하게 흔들리는 느낌의 효과를 줍니다."
|
||||||
|
spin: "애니메이션 (회전)"
|
||||||
|
spinDescription: "회전 효과를 줍니다."
|
||||||
x2: "크게"
|
x2: "크게"
|
||||||
x2Description: "내용을 크게 표시합니다."
|
x2Description: "내용을 크게 표시합니다."
|
||||||
x3: "더 크게"
|
x3: "더 크게"
|
||||||
x3Description: "내용을 더 크게 표시합니다."
|
x3Description: "내용을 더 크게 표시합니다."
|
||||||
x4: "매우 크게"
|
x4: "매우 크게"
|
||||||
x4Description: "내용을 매우 크게 표시합니다."
|
x4Description: "내용을 매우 크게 표시합니다."
|
||||||
|
blur: "흐림"
|
||||||
|
blurDescription: "내용이 흐리게 보입니다. 마우스를 위에 올려두면 내용이 보입니다."
|
||||||
font: "폰트"
|
font: "폰트"
|
||||||
fontDescription: "내용의 글꼴을 지정할 수 있습니다."
|
fontDescription: "내용의 글꼴을 지정할 수 있습니다."
|
||||||
_reversi:
|
_reversi:
|
||||||
|
@ -772,6 +825,7 @@ _reversi:
|
||||||
thisGameIsStartedSoon: "잠시 후에 대국이 시작됩니다"
|
thisGameIsStartedSoon: "잠시 후에 대국이 시작됩니다"
|
||||||
waitingForOther: "상대의 준비가 완료될 때까지 기다리고 있습니다"
|
waitingForOther: "상대의 준비가 완료될 때까지 기다리고 있습니다"
|
||||||
waitingForMe: "당신의 준비 완료를 기다리고 있습니다"
|
waitingForMe: "당신의 준비 완료를 기다리고 있습니다"
|
||||||
|
waitingBoth: "준비해 주세요"
|
||||||
ready: "준비 완료"
|
ready: "준비 완료"
|
||||||
cancelReady: "준비 취소"
|
cancelReady: "준비 취소"
|
||||||
opponentTurn: "상대의 차례입니다"
|
opponentTurn: "상대의 차례입니다"
|
||||||
|
@ -812,6 +866,7 @@ _channel:
|
||||||
usersCount: "{n}명 참여 중"
|
usersCount: "{n}명 참여 중"
|
||||||
notesCount: "{n}노트"
|
notesCount: "{n}노트"
|
||||||
_sidebar:
|
_sidebar:
|
||||||
|
full: "전체"
|
||||||
icon: "아이콘"
|
icon: "아이콘"
|
||||||
hide: "숨기기"
|
hide: "숨기기"
|
||||||
_wordMute:
|
_wordMute:
|
||||||
|
@ -820,12 +875,15 @@ _wordMute:
|
||||||
muteWordsDescription2: "정규 표현식을 사용하려면 키워드를 빗금표(/)로 감싸 주세요."
|
muteWordsDescription2: "정규 표현식을 사용하려면 키워드를 빗금표(/)로 감싸 주세요."
|
||||||
softDescription: "지정한 조건의 노트를 타임라인에서 숨깁니다."
|
softDescription: "지정한 조건의 노트를 타임라인에서 숨깁니다."
|
||||||
hardDescription: "지정한 조건의 노트를 타임라인에 추가하지 않습니다. 타임라인에 추가되지 않은 노트는 조건을 변경해도 표시되지 않습니다."
|
hardDescription: "지정한 조건의 노트를 타임라인에 추가하지 않습니다. 타임라인에 추가되지 않은 노트는 조건을 변경해도 표시되지 않습니다."
|
||||||
|
soft: "보통"
|
||||||
|
hard: "보다 높은 수준"
|
||||||
mutedNotes: "뮤트된 노트"
|
mutedNotes: "뮤트된 노트"
|
||||||
_theme:
|
_theme:
|
||||||
explore: "테마 찾아보기"
|
explore: "테마 찾아보기"
|
||||||
install: "테마 설치"
|
install: "테마 설치"
|
||||||
manage: "테마 관리"
|
manage: "테마 관리"
|
||||||
code: "테마 코드"
|
code: "테마 코드"
|
||||||
|
description: "설명"
|
||||||
installed: "{name} 테마가 설치되었습니다"
|
installed: "{name} 테마가 설치되었습니다"
|
||||||
installedThemes: "설치된 테마"
|
installedThemes: "설치된 테마"
|
||||||
builtinThemes: "표준 테마"
|
builtinThemes: "표준 테마"
|
||||||
|
@ -843,17 +901,57 @@ _theme:
|
||||||
func: "함수"
|
func: "함수"
|
||||||
funcKind: "함수 종류"
|
funcKind: "함수 종류"
|
||||||
argument: "매개변수"
|
argument: "매개변수"
|
||||||
|
basedProp: "기준으로 할 속성 이름"
|
||||||
|
alpha: "불투명도"
|
||||||
|
darken: "어두움"
|
||||||
|
lighten: "밝음"
|
||||||
inputConstantName: "상수 이름을 입력하세요"
|
inputConstantName: "상수 이름을 입력하세요"
|
||||||
importInfo: "여기에 테마 코드를 붙여 넣어 에디터로 불러올 수 있습니다."
|
importInfo: "여기에 테마 코드를 붙여 넣어 에디터로 불러올 수 있습니다."
|
||||||
deleteConstantConfirm: "상수 {const}를 삭제하시겠습니까?"
|
deleteConstantConfirm: "상수 {const}를 삭제하시겠습니까?"
|
||||||
keys:
|
keys:
|
||||||
accent: "강조 색상"
|
accent: "강조 색상"
|
||||||
|
bg: "배경"
|
||||||
|
fg: "텍스트"
|
||||||
|
focus: "포커스"
|
||||||
|
indicator: "인디케이터"
|
||||||
panel: "패널"
|
panel: "패널"
|
||||||
|
shadow: "그림자"
|
||||||
|
header: "헤더"
|
||||||
|
navBg: "사이드바 배경"
|
||||||
|
navFg: "사이드바 텍스트"
|
||||||
|
navHoverFg: "사이드바 텍스트 (호버)"
|
||||||
|
navActive: "사이드바 텍스트 (활성)"
|
||||||
|
navIndicator: "사이드바 인디케이터"
|
||||||
link: "링크"
|
link: "링크"
|
||||||
hashtag: "해시태그"
|
hashtag: "해시태그"
|
||||||
mention: "멘션"
|
mention: "멘션"
|
||||||
|
mentionMe: "나에게 보낸 멘션"
|
||||||
renote: "Renote"
|
renote: "Renote"
|
||||||
|
modalBg: "모달 배경"
|
||||||
divider: "구분선"
|
divider: "구분선"
|
||||||
|
scrollbarHandle: "스크롤바 핸들"
|
||||||
|
scrollbarHandleHover: "스크롤바 핸들 (호버)"
|
||||||
|
dateLabelFg: "날짜 레이블 텍스트"
|
||||||
|
infoBg: "정보창 배경"
|
||||||
|
infoFg: "정보창 텍스트"
|
||||||
|
infoWarnBg: "경고창 배경"
|
||||||
|
infoWarnFg: "경고창 텍스트"
|
||||||
|
cwBg: "CW 버튼 배경"
|
||||||
|
cwFg: "CW 버튼 텍스트"
|
||||||
|
cwHoverBg: "CW 버튼 배경 (호버)"
|
||||||
|
toastBg: "알림창 배경"
|
||||||
|
toastFg: "알림창 텍스트"
|
||||||
|
buttonBg: "버튼 배경"
|
||||||
|
buttonHoverBg: "버튼 배경 (호버)"
|
||||||
|
inputBorder: "입력 필드 테두리"
|
||||||
|
listItemHoverBg: "리스트 항목 배경 (호버)"
|
||||||
|
driveFolderBg: "드라이브 폴더 배경"
|
||||||
|
wallpaperOverlay: "배경화면 오버레이"
|
||||||
|
badge: "배지"
|
||||||
|
messageBg: "채팅 배경"
|
||||||
|
accentDarken: "강조 색상 (어두움)"
|
||||||
|
accentLighten: "강조 색상 (밝음)"
|
||||||
|
fgHighlighted: "강조된 텍스트"
|
||||||
_sfx:
|
_sfx:
|
||||||
note: "새 노트"
|
note: "새 노트"
|
||||||
noteMy: "내 노트"
|
noteMy: "내 노트"
|
||||||
|
@ -977,8 +1075,10 @@ _widgets:
|
||||||
postForm: "글 입력란"
|
postForm: "글 입력란"
|
||||||
slideshow: "슬라이드 쇼"
|
slideshow: "슬라이드 쇼"
|
||||||
button: "버튼"
|
button: "버튼"
|
||||||
|
onlineUsers: "온라인 유저"
|
||||||
jobQueue: "작업 대기열"
|
jobQueue: "작업 대기열"
|
||||||
serverMetric: "서버 통계"
|
serverMetric: "서버 통계"
|
||||||
|
aiscript: "AiScript 콘솔"
|
||||||
_cw:
|
_cw:
|
||||||
hide: "숨기기"
|
hide: "숨기기"
|
||||||
show: "더 보기"
|
show: "더 보기"
|
||||||
|
@ -1033,8 +1133,13 @@ _profile:
|
||||||
username: "유저명"
|
username: "유저명"
|
||||||
description: "자기소개"
|
description: "자기소개"
|
||||||
youCanIncludeHashtags: "해시 태그를 포함할 수 있습니다."
|
youCanIncludeHashtags: "해시 태그를 포함할 수 있습니다."
|
||||||
|
metadata: "추가 정보"
|
||||||
|
metadataEdit: "추가 정보 편집"
|
||||||
|
metadataDescription: "프로필에 최대 4개의 추가 정보를 표시할 수 있어요"
|
||||||
metadataLabel: "라벨"
|
metadataLabel: "라벨"
|
||||||
metadataContent: "내용"
|
metadataContent: "내용"
|
||||||
|
changeAvatar: "아바타 이미지 변경"
|
||||||
|
changeBanner: "배너 이미지 변경"
|
||||||
_exportOrImport:
|
_exportOrImport:
|
||||||
allNotes: "모든 노트"
|
allNotes: "모든 노트"
|
||||||
followingList: "팔로잉"
|
followingList: "팔로잉"
|
||||||
|
@ -1434,19 +1539,30 @@ _notification:
|
||||||
youGotQuote: "{name}님이 인용함"
|
youGotQuote: "{name}님이 인용함"
|
||||||
youRenoted: "{name}님이 Renote"
|
youRenoted: "{name}님이 Renote"
|
||||||
youGotPoll: "{name}님이 투표함"
|
youGotPoll: "{name}님이 투표함"
|
||||||
|
youGotMessagingMessageFromUser: "{name} 님이 보낸 채팅이 있어요"
|
||||||
|
youGotMessagingMessageFromGroup: "{name}에서 보낸 채팅이 있어요"
|
||||||
youWereFollowed: "새로운 팔로워가 있습니다"
|
youWereFollowed: "새로운 팔로워가 있습니다"
|
||||||
youReceivedFollowRequest: "새로운 팔로우 요청이 있습니다"
|
youReceivedFollowRequest: "새로운 팔로우 요청이 있습니다"
|
||||||
yourFollowRequestAccepted: "팔로우 요청이 수락되었습니다"
|
yourFollowRequestAccepted: "팔로우 요청이 수락되었습니다"
|
||||||
youWereInvitedToGroup: "그룹에 초대되었습니다"
|
youWereInvitedToGroup: "그룹에 초대되었습니다"
|
||||||
_types:
|
_types:
|
||||||
|
all: "전부"
|
||||||
follow: "팔로잉"
|
follow: "팔로잉"
|
||||||
mention: "멘션"
|
mention: "멘션"
|
||||||
|
reply: "답글"
|
||||||
renote: "Renote"
|
renote: "Renote"
|
||||||
quote: "인용"
|
quote: "인용"
|
||||||
reaction: "리액션"
|
reaction: "리액션"
|
||||||
|
pollVote: "투표 참여"
|
||||||
|
receiveFollowRequest: "팔로우 요청을 받았을 때"
|
||||||
|
followRequestAccepted: "팔로우 요청이 승인되었을 때"
|
||||||
|
groupInvited: "그룹에 초대되었을 때"
|
||||||
|
app: "연동된 앱을 통한 알림"
|
||||||
_deck:
|
_deck:
|
||||||
alwaysShowMainColumn: "메인 칼럼 항상 표시"
|
alwaysShowMainColumn: "메인 칼럼 항상 표시"
|
||||||
columnAlign: "칼럼 정렬"
|
columnAlign: "칼럼 정렬"
|
||||||
|
columnMargin: "칼럼 간 여백"
|
||||||
|
columnHeaderHeight: "칼럼 헤더 폭"
|
||||||
addColumn: "칼럼 추가"
|
addColumn: "칼럼 추가"
|
||||||
swapLeft: "왼쪽으로 이동"
|
swapLeft: "왼쪽으로 이동"
|
||||||
swapRight: "오른쪽으로 이동"
|
swapRight: "오른쪽으로 이동"
|
||||||
|
|
|
@ -644,6 +644,8 @@ backgroundColor: "Tło"
|
||||||
accentColor: "Akcent"
|
accentColor: "Akcent"
|
||||||
textColor: "Tekst"
|
textColor: "Tekst"
|
||||||
value: "Wartość"
|
value: "Wartość"
|
||||||
|
goBack: "Wróć"
|
||||||
|
info: "Informacje"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "Zaobserwował(a) Cię"
|
title: "Zaobserwował(a) Cię"
|
||||||
|
@ -762,6 +764,7 @@ _theme:
|
||||||
install: "Zainstaluj motyw"
|
install: "Zainstaluj motyw"
|
||||||
manage: "Zarządzanie motywami"
|
manage: "Zarządzanie motywami"
|
||||||
code: "Kod motywu"
|
code: "Kod motywu"
|
||||||
|
description: "Opis"
|
||||||
installed: "Zainstalowano {name}"
|
installed: "Zainstalowano {name}"
|
||||||
installedThemes: "Zainstalowane motywy"
|
installedThemes: "Zainstalowane motywy"
|
||||||
builtinThemes: "Wbudowane motywy"
|
builtinThemes: "Wbudowane motywy"
|
||||||
|
|
|
@ -623,7 +623,7 @@ random: "Случайные"
|
||||||
system: "Система"
|
system: "Система"
|
||||||
switchUi: "Выбор вида"
|
switchUi: "Выбор вида"
|
||||||
desktop: "Стол"
|
desktop: "Стол"
|
||||||
clip: "В подборку"
|
clip: "Подборка"
|
||||||
createNew: "Новый документ"
|
createNew: "Новый документ"
|
||||||
optional: "Необязательно"
|
optional: "Необязательно"
|
||||||
createNewClip: "Новая подборка"
|
createNewClip: "Новая подборка"
|
||||||
|
@ -710,6 +710,8 @@ typingUsers: "Стук клавиш. Это {users}…"
|
||||||
jumpToSpecifiedDate: "Перейти к заданной дате"
|
jumpToSpecifiedDate: "Перейти к заданной дате"
|
||||||
showingPastTimeline: "Отображается старая лента"
|
showingPastTimeline: "Отображается старая лента"
|
||||||
clear: "Очистить"
|
clear: "Очистить"
|
||||||
|
goBack: "Выход"
|
||||||
|
info: "Описание"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "Новый подписчик"
|
title: "Новый подписчик"
|
||||||
|
@ -865,6 +867,7 @@ _theme:
|
||||||
install: "Установить тему"
|
install: "Установить тему"
|
||||||
manage: "Менеджер тем"
|
manage: "Менеджер тем"
|
||||||
code: "Код темы"
|
code: "Код темы"
|
||||||
|
description: "Описание"
|
||||||
installed: "Тема «{name}» установлена."
|
installed: "Тема «{name}» установлена."
|
||||||
installedThemes: "Установленные темы"
|
installedThemes: "Установленные темы"
|
||||||
builtinThemes: "Встроенные темы"
|
builtinThemes: "Встроенные темы"
|
||||||
|
|
|
@ -689,6 +689,8 @@ deleteConfirm: "Ви дійсно бажаєте це видалити?"
|
||||||
invalidValue: "Некоректне значення."
|
invalidValue: "Некоректне значення."
|
||||||
registry: "Реєстр"
|
registry: "Реєстр"
|
||||||
closeAccount: "Закрити обліковий запис"
|
closeAccount: "Закрити обліковий запис"
|
||||||
|
goBack: "Назад"
|
||||||
|
info: "Інформація"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "Новий підписник"
|
title: "Новий підписник"
|
||||||
|
@ -830,6 +832,7 @@ _theme:
|
||||||
install: "Встановити тему"
|
install: "Встановити тему"
|
||||||
manage: "Керування темами"
|
manage: "Керування темами"
|
||||||
code: "Код теми"
|
code: "Код теми"
|
||||||
|
description: "Опис"
|
||||||
installed: "Тему {name} встановлено"
|
installed: "Тему {name} встановлено"
|
||||||
installedThemes: "Встановлені теми"
|
installedThemes: "Встановлені теми"
|
||||||
builtinThemes: "Вбудоваі теми"
|
builtinThemes: "Вбудоваі теми"
|
||||||
|
|
|
@ -584,7 +584,7 @@ smtpSecureInfo: "使用STARTTLS时关闭。"
|
||||||
testEmail: "邮件发送测试"
|
testEmail: "邮件发送测试"
|
||||||
wordMute: "文字屏蔽"
|
wordMute: "文字屏蔽"
|
||||||
userSaysSomething: "{name}说了什么"
|
userSaysSomething: "{name}说了什么"
|
||||||
makeActive: "激活"
|
makeActive: "启用"
|
||||||
display: "显示"
|
display: "显示"
|
||||||
copy: "复制"
|
copy: "复制"
|
||||||
metrics: "指标"
|
metrics: "指标"
|
||||||
|
@ -687,6 +687,7 @@ textColor: "文本"
|
||||||
saveAs: "另存为"
|
saveAs: "另存为"
|
||||||
advanced: "高级"
|
advanced: "高级"
|
||||||
value: "值"
|
value: "值"
|
||||||
|
createdAt: "创建日期"
|
||||||
updatedAt: "更新时间"
|
updatedAt: "更新时间"
|
||||||
saveConfirm: "确定保存?"
|
saveConfirm: "确定保存?"
|
||||||
deleteConfirm: "确定删除?"
|
deleteConfirm: "确定删除?"
|
||||||
|
@ -710,6 +711,23 @@ typingUsers: "{users}正在输入"
|
||||||
jumpToSpecifiedDate: "跳转到特定日期"
|
jumpToSpecifiedDate: "跳转到特定日期"
|
||||||
showingPastTimeline: "显示过去的时间线"
|
showingPastTimeline: "显示过去的时间线"
|
||||||
clear: "清除"
|
clear: "清除"
|
||||||
|
markAllAsRead: "全部标记为已读"
|
||||||
|
goBack: "返回"
|
||||||
|
unlikeConfirm: "取消赞?"
|
||||||
|
fullView: "全屏"
|
||||||
|
quitFullView: "退出全屏"
|
||||||
|
addDescription: "添加描述"
|
||||||
|
userPagePinTip: "在帖子的菜单中选择“置顶”,即可显示该条帖子。"
|
||||||
|
notSpecifiedMentionWarning: "有未指定的提及"
|
||||||
|
info: "关于"
|
||||||
|
userInfo: "用户信息"
|
||||||
|
unknown: "未知"
|
||||||
|
onlineStatus: "在线状态"
|
||||||
|
hideOnlineStatus: "隐藏在线状态"
|
||||||
|
hideOnlineStatusDescription: "隐藏在线状态后,可能会降低例如搜索等功能的便利性。"
|
||||||
|
online: "在线"
|
||||||
|
active: "活动"
|
||||||
|
offline: "离线"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "你有新的关注者"
|
title: "你有新的关注者"
|
||||||
|
@ -865,6 +883,7 @@ _theme:
|
||||||
install: "安装主题"
|
install: "安装主题"
|
||||||
manage: "主题管理"
|
manage: "主题管理"
|
||||||
code: "主题代码"
|
code: "主题代码"
|
||||||
|
description: "描述"
|
||||||
installed: "{name} 已安装"
|
installed: "{name} 已安装"
|
||||||
installedThemes: "已安装的主题"
|
installedThemes: "已安装的主题"
|
||||||
builtinThemes: "标准主题"
|
builtinThemes: "标准主题"
|
||||||
|
|
|
@ -149,7 +149,7 @@ searchWith: "搜尋: {q}"
|
||||||
youHaveNoLists: "你沒有任何清單"
|
youHaveNoLists: "你沒有任何清單"
|
||||||
followConfirm: "你真的要追隨{name}嗎?"
|
followConfirm: "你真的要追隨{name}嗎?"
|
||||||
proxyAccount: "代理帳號"
|
proxyAccount: "代理帳號"
|
||||||
proxyAccountDescription: "代理帳號是在某些情況下充當其他服務器用戶的帳號。例如,當用戶將一個來自其他服務器的帳號放在列表中時,由於沒有其他用戶關注該帳號,該指令不會傳送到該服務器上,因此會由代理帳戶關注。"
|
proxyAccountDescription: "代理帳號是在某些情況下充當其他伺服器用戶的帳號。例如,當用戶將一個來自其他伺服器的帳號放在列表中時,由於沒有其他用戶關注該帳號,該指令不會傳送到該伺服器上,因此會由代理帳戶關注。"
|
||||||
host: "主機"
|
host: "主機"
|
||||||
selectUser: "選取使用者"
|
selectUser: "選取使用者"
|
||||||
recipient: "收件人"
|
recipient: "收件人"
|
||||||
|
@ -182,7 +182,7 @@ clearQueue: "清除佇列"
|
||||||
clearQueueConfirmTitle: "確定要清除佇列嗎?"
|
clearQueueConfirmTitle: "確定要清除佇列嗎?"
|
||||||
clearQueueConfirmText: "未發佈的帖子將不會發佈。您通常不需要確認。"
|
clearQueueConfirmText: "未發佈的帖子將不會發佈。您通常不需要確認。"
|
||||||
clearCachedFiles: "清除快取資料"
|
clearCachedFiles: "清除快取資料"
|
||||||
clearCachedFilesConfirm: "確定要清除緩存資料嗎?"
|
clearCachedFilesConfirm: "確定要清除所有遠端暫存資料嗎?"
|
||||||
blockedInstances: "已封鎖的實例"
|
blockedInstances: "已封鎖的實例"
|
||||||
blockedInstancesDescription: "請逐行輸入需要封鎖的實例。已封鎖的實例將無法與本實例進行通訊。"
|
blockedInstancesDescription: "請逐行輸入需要封鎖的實例。已封鎖的實例將無法與本實例進行通訊。"
|
||||||
muteAndBlock: "靜音和封鎖"
|
muteAndBlock: "靜音和封鎖"
|
||||||
|
@ -215,7 +215,7 @@ retypedNotMatch: "兩次輸入不一致。"
|
||||||
currentPassword: "目前密碼"
|
currentPassword: "目前密碼"
|
||||||
newPassword: "新密碼"
|
newPassword: "新密碼"
|
||||||
newPasswordRetype: "確認密碼"
|
newPasswordRetype: "確認密碼"
|
||||||
attachFile: "添加附件"
|
attachFile: "上傳附件"
|
||||||
more: "更多!"
|
more: "更多!"
|
||||||
featured: "精選"
|
featured: "精選"
|
||||||
usernameOrUserId: "使用者名稱或用戶ID"
|
usernameOrUserId: "使用者名稱或用戶ID"
|
||||||
|
@ -256,12 +256,12 @@ registeredDate: "註冊日期"
|
||||||
location: "位置"
|
location: "位置"
|
||||||
theme: "外觀主題"
|
theme: "外觀主題"
|
||||||
themeForLightMode: "在淺色模式下使用的主題"
|
themeForLightMode: "在淺色模式下使用的主題"
|
||||||
themeForDarkMode: "在深色模式下使用的主題"
|
themeForDarkMode: "在黑暗模式下使用的主題"
|
||||||
light: "淺色"
|
light: "淺色"
|
||||||
dark: "灰暗"
|
dark: "黑暗"
|
||||||
lightThemes: "明亮主題"
|
lightThemes: "明亮主題"
|
||||||
darkThemes: "灰暗主題"
|
darkThemes: "黑暗主題"
|
||||||
syncDeviceDarkMode: "將深色模式與設備設置同步"
|
syncDeviceDarkMode: "將黑暗模式與設備設置同步"
|
||||||
drive: "雲端硬碟"
|
drive: "雲端硬碟"
|
||||||
fileName: "檔案名稱"
|
fileName: "檔案名稱"
|
||||||
selectFile: "選擇檔案"
|
selectFile: "選擇檔案"
|
||||||
|
@ -313,7 +313,7 @@ connectSerice: "連線"
|
||||||
disconnectSerice: "中斷連線"
|
disconnectSerice: "中斷連線"
|
||||||
enableLocalTimeline: "開啟本地時間軸"
|
enableLocalTimeline: "開啟本地時間軸"
|
||||||
enableGlobalTimeline: "啟用公開時間軸"
|
enableGlobalTimeline: "啟用公開時間軸"
|
||||||
disablingTimelinesInfo: "即使您禁用了時間線功能,管理員和協調人仍可以繼續使用,以方便您。"
|
disablingTimelinesInfo: "即使您關閉了時間線功能,管理員和協調人仍可以繼續使用,以方便您。"
|
||||||
registration: "註冊"
|
registration: "註冊"
|
||||||
enableRegistration: "開啟新用戶註冊"
|
enableRegistration: "開啟新用戶註冊"
|
||||||
invite: "邀請"
|
invite: "邀請"
|
||||||
|
@ -373,14 +373,14 @@ about: "資訊"
|
||||||
aboutMisskey: "關於 Misskey"
|
aboutMisskey: "關於 Misskey"
|
||||||
administrator: "管理員"
|
administrator: "管理員"
|
||||||
token: "權杖"
|
token: "權杖"
|
||||||
twoStepAuthentication: "雙重身份驗證"
|
twoStepAuthentication: "兩階段驗證"
|
||||||
moderator: "板主"
|
moderator: "板主"
|
||||||
nUsersMentioned: "提到了{n}"
|
nUsersMentioned: "提到了{n}"
|
||||||
securityKey: "安全金鑰"
|
securityKey: "安全金鑰"
|
||||||
securityKeyName: "金鑰名稱"
|
securityKeyName: "金鑰名稱"
|
||||||
registerSecurityKey: "註冊安全金鑰"
|
registerSecurityKey: "註冊安全金鑰"
|
||||||
lastUsed: "最後活躍時間"
|
lastUsed: "上次使用"
|
||||||
unregister: "刪除賬戶"
|
unregister: "註銷帳號"
|
||||||
passwordLessLogin: "設置無密碼登入"
|
passwordLessLogin: "設置無密碼登入"
|
||||||
resetPassword: "重置密碼"
|
resetPassword: "重置密碼"
|
||||||
newPasswordIs: "新密碼為「{password}」"
|
newPasswordIs: "新密碼為「{password}」"
|
||||||
|
@ -419,7 +419,7 @@ quoteAttached: "引用"
|
||||||
quoteQuestion: "是否要引用?"
|
quoteQuestion: "是否要引用?"
|
||||||
noMessagesYet: "沒有訊息"
|
noMessagesYet: "沒有訊息"
|
||||||
newMessageExists: "有新的訊息"
|
newMessageExists: "有新的訊息"
|
||||||
onlyOneFileCanBeAttached: "只能添加一個附件"
|
onlyOneFileCanBeAttached: "只能加入一個附件"
|
||||||
signinRequired: "請先登入"
|
signinRequired: "請先登入"
|
||||||
invitations: "邀請"
|
invitations: "邀請"
|
||||||
invitationCode: "邀請碼"
|
invitationCode: "邀請碼"
|
||||||
|
@ -446,7 +446,7 @@ useOsNativeEmojis: "使用OS原生表情符號"
|
||||||
youHaveNoGroups: "找不到群組"
|
youHaveNoGroups: "找不到群組"
|
||||||
joinOrCreateGroup: "請加入現有群組,或創建新群組。"
|
joinOrCreateGroup: "請加入現有群組,或創建新群組。"
|
||||||
noHistory: "沒有歷史紀錄"
|
noHistory: "沒有歷史紀錄"
|
||||||
signinHistory: "登錄歷史"
|
signinHistory: "登入歷史"
|
||||||
disableAnimatedMfm: "禁用MFM動畫"
|
disableAnimatedMfm: "禁用MFM動畫"
|
||||||
doing: "正在進行"
|
doing: "正在進行"
|
||||||
category: "類別"
|
category: "類別"
|
||||||
|
@ -482,7 +482,7 @@ objectStorageEndpointDesc: "如要使用AWS S3,請留空。否則請根據伺
|
||||||
objectStorageRegion: "地域(Region)"
|
objectStorageRegion: "地域(Region)"
|
||||||
objectStorageUseSSL: "使用SSL"
|
objectStorageUseSSL: "使用SSL"
|
||||||
objectStorageUseProxy: "使用網路代理"
|
objectStorageUseProxy: "使用網路代理"
|
||||||
objectStorageSetPublicRead: "上載時設定為\"public-read\""
|
objectStorageSetPublicRead: "上傳時設定為\"public-read\""
|
||||||
serverLogs: "伺服器日誌"
|
serverLogs: "伺服器日誌"
|
||||||
deleteAll: "刪除所有記錄"
|
deleteAll: "刪除所有記錄"
|
||||||
showFixedPostForm: "於時間軸頁頂顯示「發送貼文」方框"
|
showFixedPostForm: "於時間軸頁頂顯示「發送貼文」方框"
|
||||||
|
@ -495,7 +495,7 @@ popout: "彈出型窗口"
|
||||||
volume: "音量"
|
volume: "音量"
|
||||||
masterVolume: "主音量"
|
masterVolume: "主音量"
|
||||||
details: "詳細資訊"
|
details: "詳細資訊"
|
||||||
chooseEmoji: "選擇您的表情符號\n"
|
chooseEmoji: "選擇您的表情符號"
|
||||||
unableToProcess: "操作無法完成"
|
unableToProcess: "操作無法完成"
|
||||||
recentUsed: "最近使用"
|
recentUsed: "最近使用"
|
||||||
install: "安裝"
|
install: "安裝"
|
||||||
|
@ -512,11 +512,11 @@ scratchpad: "暫存記憶體"
|
||||||
output: "輸出"
|
output: "輸出"
|
||||||
script: "腳本"
|
script: "腳本"
|
||||||
disablePagesScript: "停用頁面的AiScript腳本"
|
disablePagesScript: "停用頁面的AiScript腳本"
|
||||||
updateRemoteUser: "更新非本地用戶資料"
|
updateRemoteUser: "更新遠端用戶資料"
|
||||||
deleteAllFiles: "刪除所有檔案"
|
deleteAllFiles: "刪除所有檔案"
|
||||||
deleteAllFilesConfirm: "要删除所有檔案吗?"
|
deleteAllFilesConfirm: "要删除所有檔案嗎?"
|
||||||
removeAllFollowing: "解除所有追隨"
|
removeAllFollowing: "解除所有追蹤"
|
||||||
removeAllFollowingDescription: "解除{host}所有的跟隨。在實例不再存在時執行。"
|
removeAllFollowingDescription: "解除{host}所有的追蹤。在實例不再存在時執行。"
|
||||||
userSuspended: "該用戶已被凍結"
|
userSuspended: "該用戶已被凍結"
|
||||||
userSilenced: "該用戶已被禁言。"
|
userSilenced: "該用戶已被禁言。"
|
||||||
sidebar: "側邊列"
|
sidebar: "側邊列"
|
||||||
|
@ -524,12 +524,12 @@ divider: "分割線"
|
||||||
addItem: "新增項目"
|
addItem: "新增項目"
|
||||||
rooms: "房間"
|
rooms: "房間"
|
||||||
relays: "中繼"
|
relays: "中繼"
|
||||||
addRelay: "添加中繼"
|
addRelay: "新增中繼"
|
||||||
inboxUrl: "私信URL"
|
inboxUrl: "收件夾URL"
|
||||||
addedRelays: "已添加的中繼"
|
addedRelays: "已加入的中繼"
|
||||||
serviceworkerInfo: "您需要啟用推送通知"
|
serviceworkerInfo: "您需要啟用推送通知"
|
||||||
deletedNote: "已删除的貼文"
|
deletedNote: "已删除的貼文"
|
||||||
invisibleNote: "隱藏的帖子"
|
invisibleNote: "隱藏的貼文"
|
||||||
enableInfiniteScroll: "啟用自動滾動頁面模式"
|
enableInfiniteScroll: "啟用自動滾動頁面模式"
|
||||||
visibility: "可見性"
|
visibility: "可見性"
|
||||||
poll: "投票"
|
poll: "投票"
|
||||||
|
@ -546,7 +546,7 @@ plugins: "插件"
|
||||||
deck: "多欄模式"
|
deck: "多欄模式"
|
||||||
undeck: "取消多欄模式"
|
undeck: "取消多欄模式"
|
||||||
useBlurEffectForModal: "在模態框使用模糊效果"
|
useBlurEffectForModal: "在模態框使用模糊效果"
|
||||||
useFullReactionPicker: "使用大尺寸的情感選擇欄"
|
useFullReactionPicker: "使用全尺寸的反應選擇器"
|
||||||
width: "寬度"
|
width: "寬度"
|
||||||
height: "高度"
|
height: "高度"
|
||||||
large: "大"
|
large: "大"
|
||||||
|
@ -555,7 +555,7 @@ small: "小"
|
||||||
permission: "權限"
|
permission: "權限"
|
||||||
enableAll: "啟用全部"
|
enableAll: "啟用全部"
|
||||||
disableAll: "停用全部"
|
disableAll: "停用全部"
|
||||||
tokenRequested: "允許訪問帳號"
|
tokenRequested: "允許存取帳號"
|
||||||
notificationType: "通知形式"
|
notificationType: "通知形式"
|
||||||
edit: "編輯"
|
edit: "編輯"
|
||||||
useStarForReactionFallback: "以★代替未知的表情符號"
|
useStarForReactionFallback: "以★代替未知的表情符號"
|
||||||
|
@ -566,11 +566,11 @@ email: "電子郵件"
|
||||||
emailAddress: "電郵地址"
|
emailAddress: "電郵地址"
|
||||||
smtpConfig: "SMTP伺服器設定"
|
smtpConfig: "SMTP伺服器設定"
|
||||||
smtpHost: "主機"
|
smtpHost: "主機"
|
||||||
smtpPort: "端口"
|
smtpPort: "埠"
|
||||||
smtpUser: "使用者名稱"
|
smtpUser: "使用者名稱"
|
||||||
smtpPass: "密碼"
|
smtpPass: "密碼"
|
||||||
emptyToDisableSmtpAuth: "留空使用者名稱和密碼以禁用SMTP驗證。"
|
emptyToDisableSmtpAuth: "留空使用者名稱和密碼以關閉SMTP驗證。"
|
||||||
testEmail: "郵件測試發送"
|
testEmail: "測試郵件發送"
|
||||||
wordMute: "靜音文字"
|
wordMute: "靜音文字"
|
||||||
userSaysSomething: "{name}說了什麼"
|
userSaysSomething: "{name}說了什麼"
|
||||||
makeActive: "啟用"
|
makeActive: "啟用"
|
||||||
|
@ -587,22 +587,22 @@ notificationSetting: "通知設定"
|
||||||
notificationSettingDesc: "選擇顯示通知的類型"
|
notificationSettingDesc: "選擇顯示通知的類型"
|
||||||
useGlobalSetting: "使用全域設定"
|
useGlobalSetting: "使用全域設定"
|
||||||
other: "其他"
|
other: "其他"
|
||||||
regenerateLoginToken: "再生登入權杖"
|
regenerateLoginToken: "重新產生登入權杖"
|
||||||
regenerateLoginTokenDescription: "再生用於登入的內部權杖。一般情況下是不需要這樣做的。一旦再生,所有裝置將會被登出。"
|
regenerateLoginTokenDescription: "重新產生用於登入的內部權杖。一般情況下是不需要這樣做的。一旦重產,所有裝置將會被登出。"
|
||||||
fileIdOrUrl: "文檔ID或者URL"
|
fileIdOrUrl: "檔案ID或URL"
|
||||||
chatOpenBehavior: "開啟聊天窗口時的行為"
|
chatOpenBehavior: "開啟聊天窗口時的行為"
|
||||||
behavior: "行為"
|
behavior: "行為"
|
||||||
sample: "範例 "
|
sample: "範例"
|
||||||
abuseReports: "檢舉"
|
abuseReports: "檢舉"
|
||||||
reportAbuse: "檢舉"
|
reportAbuse: "檢舉"
|
||||||
reportAbuseOf: "檢舉{name}"
|
reportAbuseOf: "檢舉{name}"
|
||||||
fillAbuseReportDescription: "請填寫檢舉的詳細理由。可以的話,請附上針對的URL網址。"
|
fillAbuseReportDescription: "請填寫檢舉的詳細理由。可以的話,請附上針對的URL網址。"
|
||||||
abuseReported: "內容已經發送。感謝您的報告。"
|
abuseReported: "回報已送出。感謝您的報告。"
|
||||||
send: "發送"
|
send: "發送"
|
||||||
abuseMarkAsResolved: "處理完畢"
|
abuseMarkAsResolved: "處理完畢"
|
||||||
openInNewTab: "在新分頁中開啟"
|
openInNewTab: "在新分頁中開啟"
|
||||||
openInSideView: "在側欄中開啟"
|
openInSideView: "在側欄中開啟"
|
||||||
editTheseSettingsMayBreakAccount: "修改這些設定可能會毀壞您的帳戶"
|
editTheseSettingsMayBreakAccount: "修改這些設定可能會毀損您的帳戶"
|
||||||
instanceTicker: "貼文的實例來源"
|
instanceTicker: "貼文的實例來源"
|
||||||
waitingFor: "等待{x}"
|
waitingFor: "等待{x}"
|
||||||
random: "隨機"
|
random: "隨機"
|
||||||
|
@ -618,7 +618,7 @@ i18nInfo: "Misskey已經被志願者們翻譯成各種語言版本,如果想
|
||||||
manageAccessTokens: "管理存取權杖"
|
manageAccessTokens: "管理存取權杖"
|
||||||
accountInfo: "帳戶資訊"
|
accountInfo: "帳戶資訊"
|
||||||
notesCount: "貼文數量"
|
notesCount: "貼文數量"
|
||||||
repliesCount: "回覆數量\n"
|
repliesCount: "回覆數量"
|
||||||
renotesCount: "轉發數量"
|
renotesCount: "轉發數量"
|
||||||
repliedCount: "回覆數量"
|
repliedCount: "回覆數量"
|
||||||
renotedCount: "轉發次數"
|
renotedCount: "轉發次數"
|
||||||
|
@ -632,26 +632,27 @@ yes: "確定"
|
||||||
no: "取消"
|
no: "取消"
|
||||||
driveFilesCount: "雲端硬碟檔案數量"
|
driveFilesCount: "雲端硬碟檔案數量"
|
||||||
driveUsage: "雲端硬碟使用量"
|
driveUsage: "雲端硬碟使用量"
|
||||||
noCrawleDescription: "請求網路搜尋引擎不要索引你的個人資料頁、貼文及頁面等。"
|
noCrawle: "拒絕搜尋引擎索引"
|
||||||
|
noCrawleDescription: "要求網路搜尋引擎不要索引你的個人資料頁、貼文及頁面等。"
|
||||||
lockedAccountInfo: "即使你通過了追隨者請求,除非你將貼文的可見性設定為 「追隨者」,否則任何人都能看見你的貼文。"
|
lockedAccountInfo: "即使你通過了追隨者請求,除非你將貼文的可見性設定為 「追隨者」,否則任何人都能看見你的貼文。"
|
||||||
loadRawImages: "以原始圖像質量顯示附件圖像的縮略圖"
|
loadRawImages: "以原始圖檔顯示附件圖檔的縮圖"
|
||||||
disableShowingAnimatedImages: "不播放動態圖像"
|
disableShowingAnimatedImages: "不播放動態圖檔"
|
||||||
notSet: "未設定"
|
notSet: "未設定"
|
||||||
emailVerified: "已成功驗證您的電郵"
|
emailVerified: "已成功驗證您的電郵"
|
||||||
noteFavoritesCount: "我的最愛貼文的數目"
|
noteFavoritesCount: "我的最愛貼文的數目"
|
||||||
pageLikesCount: "頁面被喜歡次數"
|
pageLikesCount: "頁面被按讚次數"
|
||||||
pageLikedCount: "頁面被喜歡次數"
|
pageLikedCount: "頁面被按讚次數"
|
||||||
contact: "聯絡人"
|
contact: "聯絡人"
|
||||||
useSystemFont: "使用系統默認的字型"
|
useSystemFont: "使用系統預設的字型"
|
||||||
clips: "摘錄"
|
clips: "摘錄"
|
||||||
experimentalFeatures: "測試中的功能"
|
experimentalFeatures: "實驗中的功能"
|
||||||
developer: "開發者"
|
developer: "開發者"
|
||||||
makeExplorable: "讓自己的帳戶能夠在“探索”版面顯示"
|
makeExplorable: "使自己的帳戶能夠在“探索”頁面中顯示"
|
||||||
makeExplorableDescription: "如果關閉,帳戶將不會被顯示在\"探索\"版面中。"
|
makeExplorableDescription: "如果關閉,帳戶將不會被顯示在\"探索\"頁面中。"
|
||||||
showGapBetweenNotesInTimeline: "分開顯示時間線上的貼文。"
|
showGapBetweenNotesInTimeline: "分開顯示時間線上的貼文。"
|
||||||
duplicate: "複製"
|
duplicate: "複製"
|
||||||
left: "左"
|
left: "左"
|
||||||
center: "向中央"
|
center: "置中"
|
||||||
wide: "寬"
|
wide: "寬"
|
||||||
narrow: "窄"
|
narrow: "窄"
|
||||||
reloadToApplySetting: "設定將會在頁面重新載入之後生效。要現在就重載頁面嗎?"
|
reloadToApplySetting: "設定將會在頁面重新載入之後生效。要現在就重載頁面嗎?"
|
||||||
|
@ -660,25 +661,37 @@ clearCache: "清除快取資料"
|
||||||
onlineUsersCount: "{n}人正在線上"
|
onlineUsersCount: "{n}人正在線上"
|
||||||
nUsers: "{n}用戶"
|
nUsers: "{n}用戶"
|
||||||
nNotes: "{n}貼文"
|
nNotes: "{n}貼文"
|
||||||
|
sendErrorReports: "傳送錯誤報告"
|
||||||
|
sendErrorReportsDescription: "啟用後,問題報告將傳送至開發者以提升軟體品質。問題報告可能包括OS版本,瀏覽器類型,行為歷史記錄等。"
|
||||||
myTheme: "我的佈景主題"
|
myTheme: "我的佈景主題"
|
||||||
backgroundColor: "背景"
|
backgroundColor: "背景"
|
||||||
accentColor: "重點色彩"
|
accentColor: "重點色彩"
|
||||||
textColor: "文本"
|
textColor: "文字"
|
||||||
|
saveAs: "另存為..."
|
||||||
advanced: "進階"
|
advanced: "進階"
|
||||||
value: "數值 "
|
value: "數值"
|
||||||
updatedAt: "最後更新"
|
updatedAt: "最後更新"
|
||||||
saveConfirm: "您要儲存變更嗎?"
|
saveConfirm: "您要儲存變更嗎?"
|
||||||
deleteConfirm: "你確定要刪除嗎?"
|
deleteConfirm: "你確定要刪除嗎?"
|
||||||
invalidValue: "輸入值無效。"
|
invalidValue: "輸入值無效。"
|
||||||
registry: "登錄表"
|
registry: "登錄表"
|
||||||
closeAccount: "停用帳戶"
|
closeAccount: "停用帳戶"
|
||||||
currentVersion: "當前版本"
|
currentVersion: "目前版本"
|
||||||
latestVersion: "最新版本"
|
latestVersion: "最新版本"
|
||||||
|
youAreRunningUpToDateClient: "您所使用的用戶端已經是最新的。"
|
||||||
newVersionOfClientAvailable: "新版本的用戶端可用。"
|
newVersionOfClientAvailable: "新版本的用戶端可用。"
|
||||||
usageAmount: "使用量"
|
usageAmount: "使用量"
|
||||||
capacity: "容量"
|
capacity: "容量"
|
||||||
inUse: "已使用"
|
inUse: "已使用"
|
||||||
|
editCode: "編輯代碼"
|
||||||
|
apply: "套用"
|
||||||
|
emailNotification: "郵件通知"
|
||||||
|
inChannelSearch: "頻道内搜尋"
|
||||||
|
typingUsers: "{users}輸入中..."
|
||||||
|
jumpToSpecifiedDate: "跳轉到特定日期"
|
||||||
clear: "清除"
|
clear: "清除"
|
||||||
|
goBack: "返回"
|
||||||
|
info: "資訊"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "您有新的追隨者"
|
title: "您有新的追隨者"
|
||||||
|
@ -691,13 +704,13 @@ _registry:
|
||||||
domain: "域"
|
domain: "域"
|
||||||
createKey: "新增機碼"
|
createKey: "新增機碼"
|
||||||
_aboutMisskey:
|
_aboutMisskey:
|
||||||
about: "Misskey是由syuilo於2014年開發的開源軟件。"
|
about: "Misskey是由syuilo自2014年起開發的開源軟體。"
|
||||||
contributors: "主要貢獻者"
|
contributors: "主要貢獻者"
|
||||||
allContributors: "全體貢獻人員"
|
allContributors: "全體貢獻人員"
|
||||||
source: "原始碼"
|
source: "原始碼"
|
||||||
translation: "翻譯Misskey"
|
translation: "翻譯Misskey"
|
||||||
donate: "捐贈給Misskey"
|
donate: "贊助Misskey"
|
||||||
morePatrons: "感謝你們的支持、 幫助。 🥰"
|
morePatrons: "還有許許多多幫助我們的其他人,非常感謝你們。 🥰"
|
||||||
patrons: "贊助者"
|
patrons: "贊助者"
|
||||||
_nsfw:
|
_nsfw:
|
||||||
respect: "隱藏敏感內容"
|
respect: "隱藏敏感內容"
|
||||||
|
@ -706,7 +719,7 @@ _nsfw:
|
||||||
_mfm:
|
_mfm:
|
||||||
cheatSheet: "MFM代碼小抄"
|
cheatSheet: "MFM代碼小抄"
|
||||||
intro: "MFM是Misskey專用的標記語言,可以在Misskey中的各個位置使用。 您可以這裏看到MFM可用語法列表。"
|
intro: "MFM是Misskey專用的標記語言,可以在Misskey中的各個位置使用。 您可以這裏看到MFM可用語法列表。"
|
||||||
dummy: "通過Misskey擴展Fediverse的世界"
|
dummy: "Misskey拓展了Fediverse的世界"
|
||||||
mention: "提及"
|
mention: "提及"
|
||||||
mentionDescription: "透過 @+用戶名 來標示特定使用者。"
|
mentionDescription: "透過 @+用戶名 來標示特定使用者。"
|
||||||
hashtag: "#tag"
|
hashtag: "#tag"
|
||||||
|
@ -741,7 +754,7 @@ _mfm:
|
||||||
x4Description: "將顯示內容放至最大。"
|
x4Description: "將顯示內容放至最大。"
|
||||||
blur: "模糊"
|
blur: "模糊"
|
||||||
font: "字型"
|
font: "字型"
|
||||||
fontDescription: "可設置顯示內容所使用的字型"
|
fontDescription: "您可以設定顯示內容的字型"
|
||||||
_reversi:
|
_reversi:
|
||||||
reversi: "黑白棋"
|
reversi: "黑白棋"
|
||||||
gameSettings: "對弈設定"
|
gameSettings: "對弈設定"
|
||||||
|
@ -762,7 +775,7 @@ _reversi:
|
||||||
pastTurnOf: "{name}的回合"
|
pastTurnOf: "{name}的回合"
|
||||||
surrender: "認輸"
|
surrender: "認輸"
|
||||||
surrendered: "對手認輸"
|
surrendered: "對手認輸"
|
||||||
drawn: "平局"
|
drawn: "平手"
|
||||||
won: "{name}獲勝"
|
won: "{name}獲勝"
|
||||||
black: "黑"
|
black: "黑"
|
||||||
white: "白"
|
white: "白"
|
||||||
|
@ -772,6 +785,7 @@ _reversi:
|
||||||
allGames: "所有對弈"
|
allGames: "所有對弈"
|
||||||
ended: "已結束"
|
ended: "已結束"
|
||||||
playing: "正在對弈"
|
playing: "正在對弈"
|
||||||
|
loopedMap: "循環棋盤"
|
||||||
_instanceTicker:
|
_instanceTicker:
|
||||||
none: "隱藏"
|
none: "隱藏"
|
||||||
remote: "向遠端使用者顯示"
|
remote: "向遠端使用者顯示"
|
||||||
|
@ -785,14 +799,14 @@ _channel:
|
||||||
edit: "編輯頻道"
|
edit: "編輯頻道"
|
||||||
setBanner: "設定橫幅"
|
setBanner: "設定橫幅"
|
||||||
removeBanner: "移除封面圖"
|
removeBanner: "移除封面圖"
|
||||||
featured: "發燒內容"
|
featured: "熱門貼文"
|
||||||
owned: "管理中"
|
owned: "管理中"
|
||||||
following: "關注中"
|
following: "關注中"
|
||||||
usersCount: "有{n}人參與"
|
usersCount: "有{n}人參與"
|
||||||
notesCount: "有{n}個帖子"
|
notesCount: "有{n}個貼文"
|
||||||
_sidebar:
|
_sidebar:
|
||||||
full: "全部"
|
full: "全部"
|
||||||
icon: "頭像"
|
icon: "大頭貼"
|
||||||
hide: "隱藏"
|
hide: "隱藏"
|
||||||
_wordMute:
|
_wordMute:
|
||||||
muteWords: "加入靜音文字"
|
muteWords: "加入靜音文字"
|
||||||
|
@ -803,6 +817,7 @@ _theme:
|
||||||
install: "安裝佈景主題"
|
install: "安裝佈景主題"
|
||||||
manage: "佈景主題管理員"
|
manage: "佈景主題管理員"
|
||||||
code: "主題代碼"
|
code: "主題代碼"
|
||||||
|
description: "描述"
|
||||||
installed: "{name}已安裝"
|
installed: "{name}已安裝"
|
||||||
installedThemes: "已經安裝的主題"
|
installedThemes: "已經安裝的主題"
|
||||||
builtinThemes: "標準主題"
|
builtinThemes: "標準主題"
|
||||||
|
@ -822,16 +837,17 @@ _theme:
|
||||||
keys:
|
keys:
|
||||||
bg: "背景"
|
bg: "背景"
|
||||||
fg: "文本"
|
fg: "文本"
|
||||||
|
panel: "面板"
|
||||||
shadow: "陰影"
|
shadow: "陰影"
|
||||||
navIndicator: "側邊欄指示符"
|
navIndicator: "側邊欄指示符"
|
||||||
link: "鏈接"
|
link: "鏈接"
|
||||||
hashtag: "#tag"
|
hashtag: "#tag"
|
||||||
mention: "提及"
|
mention: "提到"
|
||||||
mentionMe: "提及我"
|
mentionMe: "提到了我"
|
||||||
renote: "轉發貼文"
|
renote: "轉發貼文"
|
||||||
divider: "分割線"
|
divider: "分割線"
|
||||||
scrollbarHandle: "滾動條"
|
scrollbarHandle: "捲動條"
|
||||||
scrollbarHandleHover: "滾動條 (漂浮)"
|
scrollbarHandleHover: "捲動條 (漂浮)"
|
||||||
dateLabelFg: "日期標籤文字"
|
dateLabelFg: "日期標籤文字"
|
||||||
infoBg: "資訊背景"
|
infoBg: "資訊背景"
|
||||||
infoFg: "資訊內容"
|
infoFg: "資訊內容"
|
||||||
|
@ -846,7 +862,7 @@ _theme:
|
||||||
listItemHoverBg: "列表物品背景 (漂浮)"
|
listItemHoverBg: "列表物品背景 (漂浮)"
|
||||||
driveFolderBg: "雲端硬碟文件夾背景"
|
driveFolderBg: "雲端硬碟文件夾背景"
|
||||||
badge: "獎章"
|
badge: "獎章"
|
||||||
messageBg: "私信背景"
|
messageBg: "私訊背景"
|
||||||
accentDarken: "強調色(偏暗)"
|
accentDarken: "強調色(偏暗)"
|
||||||
accentLighten: "強調色(明亮)"
|
accentLighten: "強調色(明亮)"
|
||||||
fgHighlighted: "高亮顯示文本"
|
fgHighlighted: "高亮顯示文本"
|
||||||
|
@ -880,15 +896,15 @@ _tutorial:
|
||||||
step1_3: "由於你沒有發佈任何貼文,也沒有追隨任何人,所以你的時間軸目前是空的。"
|
step1_3: "由於你沒有發佈任何貼文,也沒有追隨任何人,所以你的時間軸目前是空的。"
|
||||||
step2_1: "在發文或追隨其他人之前先讓我們設定一下個人資料吧。"
|
step2_1: "在發文或追隨其他人之前先讓我們設定一下個人資料吧。"
|
||||||
step2_2: "提供一些關於自己的資訊來讓其他人更有追隨你的意願。"
|
step2_2: "提供一些關於自己的資訊來讓其他人更有追隨你的意願。"
|
||||||
step3_1: "個人資料都打理好了嗎?"
|
step3_1: "個人資料都設定好了嗎?"
|
||||||
step3_2: "下一步讓我們來試試看發個文,按一下畫面上的鉛筆圖示來開始"
|
step3_2: "接下來,讓我們來試試看發個文,按一下畫面上的鉛筆圖示來開始"
|
||||||
step3_3: "輸入完內容後,按視窗右上角的按鈕來發文"
|
step3_3: "輸入完內容後,按視窗右上角的按鈕來發文"
|
||||||
step3_4: "不知道該寫什麼內容嗎?試試看「開始使用Misskey了」如何。"
|
step3_4: "不知道該寫什麼內容嗎?試試看「開始使用Misskey了」如何。"
|
||||||
step4_1: "貼文發出去了嗎?"
|
step4_1: "貼文發出去了嗎?"
|
||||||
step4_2: "如果你的貼文出現在時間軸上,就代表發文成功。"
|
step4_2: "如果你的貼文出現在時間軸上,就代表發文成功。"
|
||||||
step5_1: "現在試試看追隨其他人來讓你的時間軸變得更生動吧。"
|
step5_1: "現在試試看追隨其他人來讓你的時間軸變得更生動吧。"
|
||||||
step5_2: "你會在{featured}上看到受歡迎的貼文,你也可以從列表中追隨你喜歡的人,或者在{explore}上找到熱門使用者。"
|
step5_2: "你會在{featured}上看到受歡迎的貼文,你也可以從列表中追隨你喜歡的人,或者在{explore}上找到熱門使用者。"
|
||||||
step5_3: "想要追隨其他人,只要點擊他們的頭像並按「追隨」即可。"
|
step5_3: "想要追隨其他人,只要點擊他們的大頭貼並按「追隨」即可。"
|
||||||
step5_4: "如果使用者的名字旁有鎖頭的圖示,代表他們需要手動核准你的追隨請求。"
|
step5_4: "如果使用者的名字旁有鎖頭的圖示,代表他們需要手動核准你的追隨請求。"
|
||||||
step6_1: "現在你可以在時間軸上看到其他用戶的貼文。"
|
step6_1: "現在你可以在時間軸上看到其他用戶的貼文。"
|
||||||
step6_2: "你也可以對別人的貼文作出「情感」,作出簡單的回覆。"
|
step6_2: "你也可以對別人的貼文作出「情感」,作出簡單的回覆。"
|
||||||
|
@ -899,13 +915,13 @@ _2fa:
|
||||||
alreadyRegistered: "此設備已經被註冊過了"
|
alreadyRegistered: "此設備已經被註冊過了"
|
||||||
registerDevice: "註冊裝置"
|
registerDevice: "註冊裝置"
|
||||||
step1: "首先,在您的設備上安裝二步驗證程式,例如{a}或{b}。"
|
step1: "首先,在您的設備上安裝二步驗證程式,例如{a}或{b}。"
|
||||||
step2: "然後,掃描熒幕上的QR code。"
|
step2: "然後,掃描螢幕上的QR code。"
|
||||||
_permissions:
|
_permissions:
|
||||||
"read:account": "查看帳戶信息"
|
"read:account": "查看帳戶信息"
|
||||||
"write:account": "更改帳戶信息"
|
"write:account": "更改帳戶信息"
|
||||||
"read:blocks": "已封鎖用戶名單"
|
"read:blocks": "已封鎖用戶名單"
|
||||||
"write:blocks": "編輯已封鎖用戶名單"
|
"write:blocks": "編輯已封鎖用戶名單"
|
||||||
"read:drive": "存取雲端硬碟\n"
|
"read:drive": "存取雲端硬碟"
|
||||||
"write:drive": "編輯雲端硬碟的檔案"
|
"write:drive": "編輯雲端硬碟的檔案"
|
||||||
"read:favorites": "瀏覽我的最愛"
|
"read:favorites": "瀏覽我的最愛"
|
||||||
"write:favorites": "編輯我的最愛列表"
|
"write:favorites": "編輯我的最愛列表"
|
||||||
|
@ -922,7 +938,7 @@ _permissions:
|
||||||
"write:votes": "投票"
|
"write:votes": "投票"
|
||||||
"read:pages": "顯示頁面"
|
"read:pages": "顯示頁面"
|
||||||
"write:pages": "編輯頁面"
|
"write:pages": "編輯頁面"
|
||||||
"read:page-likes": "顯示頁面的已喜歡"
|
"read:page-likes": "顯示已按讚的頁面"
|
||||||
"write:page-likes": "編輯頁面上喜歡"
|
"write:page-likes": "編輯頁面上喜歡"
|
||||||
"read:user-groups": "顯示使用者群組"
|
"read:user-groups": "顯示使用者群組"
|
||||||
"write:user-groups": "編輯使用者群組"
|
"write:user-groups": "編輯使用者群組"
|
||||||
|
@ -964,7 +980,7 @@ _widgets:
|
||||||
postForm: "發佈窗口"
|
postForm: "發佈窗口"
|
||||||
slideshow: "幻燈片"
|
slideshow: "幻燈片"
|
||||||
button: "按鈕"
|
button: "按鈕"
|
||||||
onlineUsers: "在線上的用戶"
|
onlineUsers: "線上的用戶"
|
||||||
jobQueue: "佇列"
|
jobQueue: "佇列"
|
||||||
_cw:
|
_cw:
|
||||||
hide: "隱藏"
|
hide: "隱藏"
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
import {MigrationInterface, QueryRunner} from "typeorm";
|
||||||
|
|
||||||
|
export class userLastActiveDate1618637372000 implements MigrationInterface {
|
||||||
|
name = 'userLastActiveDate1618637372000'
|
||||||
|
|
||||||
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||||
|
await queryRunner.query(`ALTER TABLE "user" ADD "lastActiveDate" TIMESTAMP WITH TIME ZONE DEFAULT NULL`);
|
||||||
|
await queryRunner.query(`CREATE INDEX "IDX_seoignmeoprigmkpodgrjmkpormg" ON "user" ("lastActiveDate") `);
|
||||||
|
}
|
||||||
|
|
||||||
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||||
|
await queryRunner.query(`DROP INDEX "IDX_seoignmeoprigmkpodgrjmkpormg"`);
|
||||||
|
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "lastActiveDate"`);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
import {MigrationInterface, QueryRunner} from "typeorm";
|
||||||
|
|
||||||
|
export class userHideOnlineStatus1618639857000 implements MigrationInterface {
|
||||||
|
name = 'userHideOnlineStatus1618639857000'
|
||||||
|
|
||||||
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||||
|
await queryRunner.query(`ALTER TABLE "user" ADD "hideOnlineStatus" boolean NOT NULL DEFAULT false`);
|
||||||
|
}
|
||||||
|
|
||||||
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||||
|
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "hideOnlineStatus"`);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
10
package.json
10
package.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"author": "syuilo <syuilotan@yahoo.co.jp>",
|
"author": "syuilo <syuilotan@yahoo.co.jp>",
|
||||||
"version": "12.76.1-beta.1",
|
"version": "12.78.0-beta.2",
|
||||||
"codename": "indigo",
|
"codename": "indigo",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -39,11 +39,6 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/plugin-transform-runtime": "7.13.15",
|
"@babel/plugin-transform-runtime": "7.13.15",
|
||||||
"@elastic/elasticsearch": "7.11.0",
|
"@elastic/elasticsearch": "7.11.0",
|
||||||
"@fortawesome/fontawesome-svg-core": "1.2.35",
|
|
||||||
"@fortawesome/free-brands-svg-icons": "5.15.3",
|
|
||||||
"@fortawesome/free-regular-svg-icons": "5.15.3",
|
|
||||||
"@fortawesome/free-solid-svg-icons": "5.15.3",
|
|
||||||
"@fortawesome/vue-fontawesome": "3.0.0-3",
|
|
||||||
"@koa/cors": "3.1.0",
|
"@koa/cors": "3.1.0",
|
||||||
"@koa/multer": "3.0.0",
|
"@koa/multer": "3.0.0",
|
||||||
"@koa/router": "9.0.1",
|
"@koa/router": "9.0.1",
|
||||||
|
@ -140,7 +135,6 @@
|
||||||
"eslint-plugin-vue": "7.9.0",
|
"eslint-plugin-vue": "7.9.0",
|
||||||
"eventemitter3": "4.0.7",
|
"eventemitter3": "4.0.7",
|
||||||
"feed": "4.2.2",
|
"feed": "4.2.2",
|
||||||
"fibers": "5.0.0",
|
|
||||||
"file-type": "16.3.0",
|
"file-type": "16.3.0",
|
||||||
"fluent-ffmpeg": "2.1.2",
|
"fluent-ffmpeg": "2.1.2",
|
||||||
"glob": "7.1.6",
|
"glob": "7.1.6",
|
||||||
|
@ -181,7 +175,7 @@
|
||||||
"markdown-it": "12.0.5",
|
"markdown-it": "12.0.5",
|
||||||
"markdown-it-anchor": "7.1.0",
|
"markdown-it-anchor": "7.1.0",
|
||||||
"matter-js": "0.17.1",
|
"matter-js": "0.17.1",
|
||||||
"mfm-js": "0.15.0",
|
"mfm-js": "0.16.2",
|
||||||
"mocha": "8.3.2",
|
"mocha": "8.3.2",
|
||||||
"moji": "0.5.1",
|
"moji": "0.5.1",
|
||||||
"ms": "2.1.3",
|
"ms": "2.1.3",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<XWindow ref="window" :initial-width="400" :initial-height="500" :can-resize="true" @closed="$emit('closed')">
|
<XWindow ref="window" :initial-width="400" :initial-height="500" :can-resize="true" @closed="$emit('closed')">
|
||||||
<template #header>
|
<template #header>
|
||||||
<Fa :icon="faExclamationCircle" style="margin-right: 0.5em;"/>
|
<i class="fas fa-exclamation-circle" style="margin-right: 0.5em;"></i>
|
||||||
<I18n :src="$ts.reportAbuseOf" tag="span">
|
<I18n :src="$ts.reportAbuseOf" tag="span">
|
||||||
<template #name>
|
<template #name>
|
||||||
<b><MkAcct :user="user"/></b>
|
<b><MkAcct :user="user"/></b>
|
||||||
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, markRaw } from 'vue';
|
import { defineComponent, markRaw } from 'vue';
|
||||||
import { faExclamationCircle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import XWindow from '@client/components/ui/window.vue';
|
import XWindow from '@client/components/ui/window.vue';
|
||||||
import MkTextarea from '@client/components/ui/textarea.vue';
|
import MkTextarea from '@client/components/ui/textarea.vue';
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
|
@ -53,7 +52,6 @@ export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
comment: this.initialComment || '',
|
comment: this.initialComment || '',
|
||||||
faExclamationCircle,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div v-for="user in us" :key="user.id" style="display:inline-block;width:32px;height:32px;margin-right:8px;">
|
<div v-for="user in us" :key="user.id" style="display:inline-block;width:32px;height:32px;margin-right:8px;">
|
||||||
<MkAvatar :user="user" style="width:32px;height:32px;"/>
|
<MkAvatar :user="user" style="width:32px;height:32px;" :show-indicator="true"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -6,21 +6,20 @@
|
||||||
>
|
>
|
||||||
<template v-if="!wait">
|
<template v-if="!wait">
|
||||||
<template v-if="isFollowing">
|
<template v-if="isFollowing">
|
||||||
<span v-if="full">{{ $ts.unfollow }}</span><Fa :icon="faMinus"/>
|
<span v-if="full">{{ $ts.unfollow }}</span><i class="fas fa-minus"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<span v-if="full">{{ $ts.follow }}</span><Fa :icon="faPlus"/>
|
<span v-if="full">{{ $ts.follow }}</span><i class="fas fa-plus"></i>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<span v-if="full">{{ $ts.processing }}</span><Fa :icon="faSpinner" pulse fixed-width/>
|
<span v-if="full">{{ $ts.processing }}</span><i class="fas fa-spinner fa-pulse fa-fw"></i>
|
||||||
</template>
|
</template>
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faSpinner, faPlus, faMinus, } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -40,7 +39,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
isFollowing: this.channel.isFollowing,
|
isFollowing: this.channel.isFollowing,
|
||||||
wait: false,
|
wait: false,
|
||||||
faSpinner, faPlus, faMinus,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<MkA :to="`/channels/${channel.id}`" class="eftoefju _panel" tabindex="-1">
|
<MkA :to="`/channels/${channel.id}`" class="eftoefju _panel" tabindex="-1">
|
||||||
<div class="banner" :style="bannerStyle">
|
<div class="banner" :style="bannerStyle">
|
||||||
<div class="fade"></div>
|
<div class="fade"></div>
|
||||||
<div class="name"><Fa :icon="faSatelliteDish"/> {{ channel.name }}</div>
|
<div class="name"><i class="fas fa-satellite-dish"></i> {{ channel.name }}</div>
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<div>
|
<div>
|
||||||
<Fa :icon="faUsers" fixed-width/>
|
<i class="fas fa-users fa-fw"></i>
|
||||||
<I18n :src="$ts._channel.usersCount" tag="span" style="margin-left: 4px;">
|
<I18n :src="$ts._channel.usersCount" tag="span" style="margin-left: 4px;">
|
||||||
<template #n>
|
<template #n>
|
||||||
<b>{{ channel.usersCount }}</b>
|
<b>{{ channel.usersCount }}</b>
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
</I18n>
|
</I18n>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<Fa :icon="faPencilAlt" fixed-width/>
|
<i class="fas fa-pencil-alt fa-fw"></i>
|
||||||
<I18n :src="$ts._channel.notesCount" tag="span" style="margin-left: 4px;">
|
<I18n :src="$ts._channel.notesCount" tag="span" style="margin-left: 4px;">
|
||||||
<template #n>
|
<template #n>
|
||||||
<b>{{ channel.notesCount }}</b>
|
<b>{{ channel.notesCount }}</b>
|
||||||
|
@ -35,7 +35,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faSatelliteDish, faUsers, faPencilAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
|
@ -57,7 +56,6 @@ export default defineComponent({
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faSatelliteDish, faUsers, faPencilAlt,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, h, TransitionGroup } from 'vue';
|
import { defineComponent, h, TransitionGroup } from 'vue';
|
||||||
import { faAngleUp, faAngleDown } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
|
@ -73,17 +71,15 @@ export default defineComponent({
|
||||||
class: 'date'
|
class: 'date'
|
||||||
}, [
|
}, [
|
||||||
h('span', [
|
h('span', [
|
||||||
h(FontAwesomeIcon, {
|
h('i', {
|
||||||
class: 'icon',
|
class: 'fas fa-angle-up icon',
|
||||||
icon: faAngleUp,
|
|
||||||
}),
|
}),
|
||||||
this.getDateText(item.createdAt)
|
this.getDateText(item.createdAt)
|
||||||
]),
|
]),
|
||||||
h('span', [
|
h('span', [
|
||||||
this.getDateText(this.items[i + 1].createdAt),
|
this.getDateText(this.items[i + 1].createdAt),
|
||||||
h(FontAwesomeIcon, {
|
h('i', {
|
||||||
class: 'icon',
|
class: 'fas fa-angle-down icon',
|
||||||
icon: faAngleDown,
|
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
]));
|
]));
|
||||||
|
@ -171,12 +167,4 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
._inContainer_ .sqadhkmv > * {
|
|
||||||
margin: 0 !important;
|
|
||||||
border: none;
|
|
||||||
border-bottom: solid 0.5px var(--divider);
|
|
||||||
border-radius: 0;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
<MkModal ref="modal" @click="done(true)" @closed="$emit('closed')">
|
<MkModal ref="modal" @click="done(true)" @closed="$emit('closed')">
|
||||||
<div class="mk-dialog">
|
<div class="mk-dialog">
|
||||||
<div class="icon" v-if="icon">
|
<div class="icon" v-if="icon">
|
||||||
<Fa :icon="icon"/>
|
<i :class="icon"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon" v-else-if="!input && !select" :class="type">
|
<div class="icon" v-else-if="!input && !select" :class="type">
|
||||||
<Fa :icon="faCheck" v-if="type === 'success'"/>
|
<i v-if="type === 'success'" class="fas fa-check"></i>
|
||||||
<Fa :icon="faTimesCircle" v-if="type === 'error'"/>
|
<i v-else-if="type === 'error'" class="fas fa-times-circle"></i>
|
||||||
<Fa :icon="faExclamationTriangle" v-if="type === 'warning'"/>
|
<i v-else-if="type === 'warning'" class="fas fa-exclamation-triangle"></i>
|
||||||
<Fa :icon="faInfoCircle" v-if="type === 'info'"/>
|
<i v-else-if="type === 'info'" class="fas fa-information-circle"></i>
|
||||||
<Fa :icon="faQuestionCircle" v-if="type === 'question'"/>
|
<i v-else-if="type === 'question'" class="fas fa-question-circle"></i>
|
||||||
<Fa :icon="faSpinner" pulse v-if="type === 'waiting'"/>
|
<i v-else-if="type === 'waiting'" class="fas fa-spinner fa-pulse"></i>
|
||||||
</div>
|
</div>
|
||||||
<header v-if="title"><Mfm :text="title"/></header>
|
<header v-if="title"><Mfm :text="title"/></header>
|
||||||
<div class="body" v-if="text"><Mfm :text="text"/></div>
|
<div class="body" v-if="text"><Mfm :text="text"/></div>
|
||||||
|
@ -38,8 +38,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faSpinner, faInfoCircle, faExclamationTriangle, faCheck } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faTimesCircle, faQuestionCircle } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import MkModal from '@client/components/ui/modal.vue';
|
import MkModal from '@client/components/ui/modal.vue';
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
import MkInput from '@client/components/ui/input.vue';
|
import MkInput from '@client/components/ui/input.vue';
|
||||||
|
@ -99,7 +97,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
inputValue: this.input && this.input.default ? this.input.default : null,
|
inputValue: this.input && this.input.default ? this.input.default : null,
|
||||||
selectedValue: this.select ? this.select.default ? this.select.default : this.select.items ? this.select.items[0].value : this.select.groupedItems[0].items[0].value : null,
|
selectedValue: this.select ? this.select.default ? this.select.default : this.select.items ? this.select.items[0].value : this.select.groupedItems[0].items[0].value : null,
|
||||||
faTimesCircle, faQuestionCircle, faSpinner, faInfoCircle, faExclamationTriangle, faCheck
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,21 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="zdjebgpv" ref="thumbnail">
|
<div class="zdjebgpv" ref="thumbnail">
|
||||||
<ImgWithBlurhash v-if="isThumbnailAvailable" :hash="file.blurhash" :src="file.thumbnailUrl" :alt="file.name" :title="file.name" :style="`object-fit: ${ fit }`"/>
|
<ImgWithBlurhash v-if="isThumbnailAvailable" :hash="file.blurhash" :src="file.thumbnailUrl" :alt="file.name" :title="file.name" :style="`object-fit: ${ fit }`"/>
|
||||||
<Fa :icon="faFileImage" class="icon" v-else-if="is === 'image'"/>
|
<i v-else-if="is === 'image'" class="fas fa-file-image icon"></i>
|
||||||
<Fa :icon="faFileVideo" class="icon" v-else-if="is === 'video'"/>
|
<i v-else-if="is === 'video'" class="fas fa-file-video icon"></i>
|
||||||
<Fa :icon="faMusic" class="icon" v-else-if="is === 'audio' || is === 'midi'"/>
|
<i v-else-if="is === 'audio' || is === 'midi'" class="fas fa-music icon"></i>
|
||||||
<Fa :icon="faFileCsv" class="icon" v-else-if="is === 'csv'"/>
|
<i v-else-if="is === 'csv'" class="fas fa-file-csv icon"></i>
|
||||||
<Fa :icon="faFilePdf" class="icon" v-else-if="is === 'pdf'"/>
|
<i v-else-if="is === 'pdf'" class="fas fa-file-pdf icon"></i>
|
||||||
<Fa :icon="faFileAlt" class="icon" v-else-if="is === 'textfile'"/>
|
<i v-else-if="is === 'textfile'" class="fas fa-file-alt icon"></i>
|
||||||
<Fa :icon="faFileArchive" class="icon" v-else-if="is === 'archive'"/>
|
<i v-else-if="is === 'archive'" class="fas fa-file-archive icon"></i>
|
||||||
<Fa :icon="faFile" class="icon" v-else/>
|
<i v-else class="fas fa-file icon"></i>
|
||||||
<Fa :icon="faFilm" class="icon-sub" v-if="isThumbnailAvailable && is === 'video'"/>
|
|
||||||
|
<i v-if="isThumbnailAvailable && is === 'video'" class="fas fa-film icon-sub"></i>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import {
|
|
||||||
faFile,
|
|
||||||
faFileAlt,
|
|
||||||
faFileImage,
|
|
||||||
faMusic,
|
|
||||||
faFileVideo,
|
|
||||||
faFileCsv,
|
|
||||||
faFilePdf,
|
|
||||||
faFileArchive,
|
|
||||||
faFilm
|
|
||||||
} from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import ImgWithBlurhash from '@client/components/img-with-blurhash.vue';
|
import ImgWithBlurhash from '@client/components/img-with-blurhash.vue';
|
||||||
import { ColdDeviceStorage } from '@client/store';
|
import { ColdDeviceStorage } from '@client/store';
|
||||||
|
|
||||||
|
@ -49,15 +39,6 @@ export default defineComponent({
|
||||||
isContextmenuShowing: false,
|
isContextmenuShowing: false,
|
||||||
isDragging: false,
|
isDragging: false,
|
||||||
|
|
||||||
faFile,
|
|
||||||
faFileAlt,
|
|
||||||
faFileImage,
|
|
||||||
faMusic,
|
|
||||||
faFileVideo,
|
|
||||||
faFileCsv,
|
|
||||||
faFilePdf,
|
|
||||||
faFileArchive,
|
|
||||||
faFilm
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import { faDownload, faLink, faICursor, faTrashAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import copyToClipboard from '@client/scripts/copy-to-clipboard';
|
import copyToClipboard from '@client/scripts/copy-to-clipboard';
|
||||||
import MkDriveFileThumbnail from './drive-file-thumbnail.vue';
|
import MkDriveFileThumbnail from './drive-file-thumbnail.vue';
|
||||||
import bytes from '@client/filters/bytes';
|
import bytes from '@client/filters/bytes';
|
||||||
|
@ -87,22 +85,22 @@ export default defineComponent({
|
||||||
action: this.rename
|
action: this.rename
|
||||||
}, {
|
}, {
|
||||||
text: this.file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
|
text: this.file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
|
||||||
icon: this.file.isSensitive ? faEye : faEyeSlash,
|
icon: this.file.isSensitive ? 'fas fa-eye' : 'fas fa-eye-slash',
|
||||||
action: this.toggleSensitive
|
action: this.toggleSensitive
|
||||||
}, null, {
|
}, null, {
|
||||||
text: this.$ts.copyUrl,
|
text: this.$ts.copyUrl,
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
action: this.copyUrl
|
action: this.copyUrl
|
||||||
}, {
|
}, {
|
||||||
type: 'a',
|
type: 'a',
|
||||||
href: this.file.url,
|
href: this.file.url,
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
text: this.$ts.download,
|
text: this.$ts.download,
|
||||||
icon: faDownload,
|
icon: 'fas fa-download',
|
||||||
download: this.file.name
|
download: this.file.name
|
||||||
}, null, {
|
}, null, {
|
||||||
text: this.$ts.delete,
|
text: this.$ts.delete,
|
||||||
icon: faTrashAlt,
|
icon: 'fas fa-trash-alt',
|
||||||
danger: true,
|
danger: true,
|
||||||
action: this.deleteFile
|
action: this.deleteFile
|
||||||
}];
|
}];
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
:title="title"
|
:title="title"
|
||||||
>
|
>
|
||||||
<p class="name">
|
<p class="name">
|
||||||
<template v-if="hover"><Fa :icon="faFolderOpen" fixed-width/></template>
|
<template v-if="hover"><i class="fas fa-folder-open fa-fw"></i></template>
|
||||||
<template v-if="!hover"><Fa :icon="faFolder" fixed-width/></template>
|
<template v-if="!hover"><i class="fas fa-folder fa-fw"></i></template>
|
||||||
{{ folder.name }}
|
{{ folder.name }}
|
||||||
</p>
|
</p>
|
||||||
<p class="upload" v-if="$store.state.uploadFolder == folder.id">
|
<p class="upload" v-if="$store.state.uploadFolder == folder.id">
|
||||||
|
@ -28,9 +28,7 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faFolder, faFolderOpen, faTrashAlt, faWindowRestore } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
import { faICursor } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
|
@ -57,7 +55,6 @@ export default defineComponent({
|
||||||
hover: false,
|
hover: false,
|
||||||
draghover: false,
|
draghover: false,
|
||||||
isDragging: false,
|
isDragging: false,
|
||||||
faFolder, faFolderOpen
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -241,7 +238,7 @@ export default defineComponent({
|
||||||
onContextmenu(e) {
|
onContextmenu(e) {
|
||||||
os.contextMenu([{
|
os.contextMenu([{
|
||||||
text: this.$ts.openInWindow,
|
text: this.$ts.openInWindow,
|
||||||
icon: faWindowRestore,
|
icon: 'fas fa-window-restore',
|
||||||
action: () => {
|
action: () => {
|
||||||
os.popup(import('./drive-window.vue'), {
|
os.popup(import('./drive-window.vue'), {
|
||||||
initialFolder: this.folder
|
initialFolder: this.folder
|
||||||
|
@ -254,7 +251,7 @@ export default defineComponent({
|
||||||
action: this.rename
|
action: this.rename
|
||||||
}, null, {
|
}, null, {
|
||||||
text: this.$ts.delete,
|
text: this.$ts.delete,
|
||||||
icon: faTrashAlt,
|
icon: 'fas fa-trash-alt',
|
||||||
danger: true,
|
danger: true,
|
||||||
action: this.deleteFolder
|
action: this.deleteFolder
|
||||||
}], e);
|
}], e);
|
||||||
|
@ -312,7 +309,7 @@ export default defineComponent({
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
color: var(--desktopDriveFolderFg);
|
color: var(--desktopDriveFolderFg);
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
|
@ -7,14 +7,13 @@
|
||||||
@dragleave="onDragleave"
|
@dragleave="onDragleave"
|
||||||
@drop.stop="onDrop"
|
@drop.stop="onDrop"
|
||||||
>
|
>
|
||||||
<i v-if="folder == null"><Fa :icon="faCloud"/></i>
|
<i v-if="folder == null" class="fas fa-cloud"></i>
|
||||||
<span>{{ folder == null ? $ts.drive : folder.name }}</span>
|
<span>{{ folder == null ? $ts.drive : folder.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faCloud } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -29,7 +28,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
hover: false,
|
hover: false,
|
||||||
draghover: false,
|
draghover: false,
|
||||||
faCloud
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<div class="path" @contextmenu.prevent.stop="() => {}">
|
<div class="path" @contextmenu.prevent.stop="() => {}">
|
||||||
<XNavFolder :class="{ current: folder == null }"/>
|
<XNavFolder :class="{ current: folder == null }"/>
|
||||||
<template v-for="f in hierarchyFolders">
|
<template v-for="f in hierarchyFolders">
|
||||||
<span class="separator"><Fa :icon="faAngleRight"/></span>
|
<span class="separator"><i class="fas fa-angle-right"></i></span>
|
||||||
<XNavFolder :folder="f"/>
|
<XNavFolder :folder="f"/>
|
||||||
</template>
|
</template>
|
||||||
<span class="separator" v-if="folder != null"><Fa :icon="faAngleRight"/></span>
|
<span class="separator" v-if="folder != null"><i class="fas fa-angle-right"></i></span>
|
||||||
<span class="folder current" v-if="folder != null">{{ folder.name }}</span>
|
<span class="folder current" v-if="folder != null">{{ folder.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -47,13 +47,11 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faAngleRight, faFolderPlus, faICursor, faLink, faUpload } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import XNavFolder from './drive.nav-folder.vue';
|
import XNavFolder from './drive.nav-folder.vue';
|
||||||
import XFolder from './drive.folder.vue';
|
import XFolder from './drive.folder.vue';
|
||||||
import XFile from './drive.file.vue';
|
import XFile from './drive.file.vue';
|
||||||
import MkButton from './ui/button.vue';
|
import MkButton from './ui/button.vue';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
import { faTrashAlt } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
|
@ -125,7 +123,6 @@ export default defineComponent({
|
||||||
),
|
),
|
||||||
moreFilesElement: null as Element,
|
moreFilesElement: null as Element,
|
||||||
|
|
||||||
faAngleRight
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -606,11 +603,11 @@ export default defineComponent({
|
||||||
type: 'label'
|
type: 'label'
|
||||||
}, {
|
}, {
|
||||||
text: this.$ts.upload,
|
text: this.$ts.upload,
|
||||||
icon: faUpload,
|
icon: 'fas fa-upload',
|
||||||
action: () => { this.selectLocalFile(); }
|
action: () => { this.selectLocalFile(); }
|
||||||
}, {
|
}, {
|
||||||
text: this.$ts.fromUrl,
|
text: this.$ts.fromUrl,
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
action: () => { this.urlUpload(); }
|
action: () => { this.urlUpload(); }
|
||||||
}, null, {
|
}, null, {
|
||||||
text: this.folder ? this.folder.name : this.$ts.drive,
|
text: this.folder ? this.folder.name : this.$ts.drive,
|
||||||
|
@ -621,11 +618,11 @@ export default defineComponent({
|
||||||
action: () => { this.renameFolder(this.folder); }
|
action: () => { this.renameFolder(this.folder); }
|
||||||
} : undefined, this.folder ? {
|
} : undefined, this.folder ? {
|
||||||
text: this.$ts.deleteFolder,
|
text: this.$ts.deleteFolder,
|
||||||
icon: faTrashAlt,
|
icon: 'fas fa-trash-alt',
|
||||||
action: () => { this.deleteFolder(this.folder); }
|
action: () => { this.deleteFolder(this.folder); }
|
||||||
} : undefined, {
|
} : undefined, {
|
||||||
text: this.$ts.createFolder,
|
text: this.$ts.createFolder,
|
||||||
icon: faFolderPlus,
|
icon: 'fas fa-folder-plus',
|
||||||
action: () => { this.createFolder(); }
|
action: () => { this.createFolder(); }
|
||||||
}];
|
}];
|
||||||
},
|
},
|
||||||
|
@ -693,7 +690,7 @@ export default defineComponent({
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<section>
|
<section>
|
||||||
<header class="_acrylic" @click="shown = !shown">
|
<header class="_acrylic" @click="shown = !shown">
|
||||||
<Fa :icon="shown ? faChevronDown : faChevronUp" :key="shown" fixed-width class="toggle"/> <slot></slot> ({{ emojis.length }})
|
<i class="toggle fa-fw" :class="shown ? 'fas fa-chevron-down' : 'fas fa-chevron-up'"></i> <slot></slot> ({{ emojis.length }})
|
||||||
</header>
|
</header>
|
||||||
<div v-if="shown">
|
<div v-if="shown">
|
||||||
<button v-for="emoji in emojis"
|
<button v-for="emoji in emojis"
|
||||||
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, markRaw } from 'vue';
|
import { defineComponent, markRaw } from 'vue';
|
||||||
import { faChevronUp, faChevronDown } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
|
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -36,7 +35,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
getStaticImageUrl,
|
getStaticImageUrl,
|
||||||
shown: this.initialShown,
|
shown: this.initialShown,
|
||||||
faChevronUp, faChevronDown,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<header class="_acrylic"><Fa :icon="faClock" fixed-width/> {{ $ts.recentUsed }}</header>
|
<header class="_acrylic"><i class="far fa-clock fa-fw"></i> {{ $ts.recentUsed }}</header>
|
||||||
<div>
|
<div>
|
||||||
<button v-for="emoji in $store.state.recentlyUsedEmojis"
|
<button v-for="emoji in $store.state.recentlyUsedEmojis"
|
||||||
class="_button"
|
class="_button"
|
||||||
|
@ -64,10 +64,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<button class="_button tab" :class="{ active: tab === 'index' }" @click="tab = 'index'"><Fa :icon="faAsterisk" fixed-width/></button>
|
<button class="_button tab" :class="{ active: tab === 'index' }" @click="tab = 'index'"><i class="fas fa-asterisk fa-fw"></i></button>
|
||||||
<button class="_button tab" :class="{ active: tab === 'custom' }" @click="tab = 'custom'"><Fa :icon="faLaugh" fixed-width/></button>
|
<button class="_button tab" :class="{ active: tab === 'custom' }" @click="tab = 'custom'"><i class="fas fa-laugh fa-fw"></i></button>
|
||||||
<button class="_button tab" :class="{ active: tab === 'unicode' }" @click="tab = 'unicode'"><Fa :icon="faLeaf" fixed-width/></button>
|
<button class="_button tab" :class="{ active: tab === 'unicode' }" @click="tab = 'unicode'"><i class="fas fa-leaf fa-fw"></i></button>
|
||||||
<button class="_button tab" :class="{ active: tab === 'tags' }" @click="tab = 'tags'"><Fa :icon="faHashtag" fixed-width/></button>
|
<button class="_button tab" :class="{ active: tab === 'tags' }" @click="tab = 'tags'"><i class="fas fa-hashtag fa-fw"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -76,8 +76,6 @@
|
||||||
import { defineComponent, markRaw } from 'vue';
|
import { defineComponent, markRaw } from 'vue';
|
||||||
import { emojilist } from '@/misc/emojilist';
|
import { emojilist } from '@/misc/emojilist';
|
||||||
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
|
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
|
||||||
import { faAsterisk, faLeaf, faUtensils, faFutbol, faCity, faDice, faGlobe, faClock, faUser, faChevronDown, faShapes, faBicycle, faHashtag } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faHeart, faFlag, faLaugh } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import Particle from '@client/components/particle.vue';
|
import Particle from '@client/components/particle.vue';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
import { isDeviceTouch } from '@client/scripts/is-device-touch';
|
import { isDeviceTouch } from '@client/scripts/is-device-touch';
|
||||||
|
@ -117,7 +115,6 @@ export default defineComponent({
|
||||||
searchResultUnicode: [],
|
searchResultUnicode: [],
|
||||||
tab: 'index',
|
tab: 'index',
|
||||||
categories: ['face', 'people', 'animals_and_nature', 'food_and_drink', 'activity', 'travel_and_places', 'objects', 'symbols', 'flags'],
|
categories: ['face', 'people', 'animals_and_nature', 'food_and_drink', 'activity', 'travel_and_places', 'objects', 'symbols', 'flags'],
|
||||||
faGlobe, faClock, faChevronDown, faAsterisk, faLaugh, faUtensils, faLeaf, faShapes, faBicycle, faHashtag,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<span class="mk-file-type-icon">
|
<span class="mk-file-type-icon">
|
||||||
<template v-if="kind == 'image'"><Fa :icon="faFileImage"/></template>
|
<template v-if="kind == 'image'"><i class="fas fa-file-image"></i></template>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faFileImage } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -18,7 +17,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faFileImage
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -6,30 +6,29 @@
|
||||||
>
|
>
|
||||||
<template v-if="!wait">
|
<template v-if="!wait">
|
||||||
<template v-if="hasPendingFollowRequestFromYou && user.isLocked">
|
<template v-if="hasPendingFollowRequestFromYou && user.isLocked">
|
||||||
<span v-if="full">{{ $ts.followRequestPending }}</span><Fa :icon="faHourglassHalf"/>
|
<span v-if="full">{{ $ts.followRequestPending }}</span><i class="fas fa-hourglass-half"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="hasPendingFollowRequestFromYou && !user.isLocked"> <!-- つまりリモートフォローの場合。 -->
|
<template v-else-if="hasPendingFollowRequestFromYou && !user.isLocked"> <!-- つまりリモートフォローの場合。 -->
|
||||||
<span v-if="full">{{ $ts.processing }}</span><Fa :icon="faSpinner" pulse/>
|
<span v-if="full">{{ $ts.processing }}</span><i class="fas fa-spinner fa-pulse"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="isFollowing">
|
<template v-else-if="isFollowing">
|
||||||
<span v-if="full">{{ $ts.unfollow }}</span><Fa :icon="faMinus"/>
|
<span v-if="full">{{ $ts.unfollow }}</span><i class="fas fa-minus"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="!isFollowing && user.isLocked">
|
<template v-else-if="!isFollowing && user.isLocked">
|
||||||
<span v-if="full">{{ $ts.followRequest }}</span><Fa :icon="faPlus"/>
|
<span v-if="full">{{ $ts.followRequest }}</span><i class="fas fa-plus"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="!isFollowing && !user.isLocked">
|
<template v-else-if="!isFollowing && !user.isLocked">
|
||||||
<span v-if="full">{{ $ts.follow }}</span><Fa :icon="faPlus"/>
|
<span v-if="full">{{ $ts.follow }}</span><i class="fas fa-plus"></i>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<span v-if="full">{{ $ts.processing }}</span><Fa :icon="faSpinner" pulse fixed-width/>
|
<span v-if="full">{{ $ts.processing }}</span><i class="fas fa-spinner fa-pulse fa-fw"></i>
|
||||||
</template>
|
</template>
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faSpinner, faPlus, faMinus, faHourglassHalf } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -56,7 +55,6 @@ export default defineComponent({
|
||||||
hasPendingFollowRequestFromYou: this.user.hasPendingFollowRequestFromYou,
|
hasPendingFollowRequestFromYou: this.user.hasPendingFollowRequestFromYou,
|
||||||
wait: false,
|
wait: false,
|
||||||
connection: null,
|
connection: null,
|
||||||
faSpinner, faPlus, faMinus, faHourglassHalf
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="fzenkabp _formItem">
|
<div class="fzenkabp _formItem">
|
||||||
<div class="_formPanel" :class="{ warn }">
|
<div class="_formPanel" :class="{ warn }">
|
||||||
<i v-if="warn"><Fa :icon="faExclamationTriangle"/></i>
|
<i v-if="warn" class="fas fa-exclamation-triangle"></i>
|
||||||
<i v-else><Fa :icon="faInfoCircle"/></i>
|
<i v-else class="fas fa-info-circle"></i>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faInfoCircle, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
|
@ -22,7 +21,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faInfoCircle, faExclamationTriangle
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -30,13 +30,12 @@
|
||||||
</div>
|
</div>
|
||||||
<template #caption><slot name="desc"></slot></template>
|
<template #caption><slot name="desc"></slot></template>
|
||||||
|
|
||||||
<FormButton v-if="manualSave && changed" @click="updated" primary><Fa :icon="faSave"/> {{ $ts.save }}</FormButton>
|
<FormButton v-if="manualSave && changed" @click="updated" primary><i class="fas fa-save"></i> {{ $ts.save }}</FormButton>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, onMounted, onUnmounted, nextTick, ref, watch, computed, toRefs } from 'vue';
|
import { defineComponent, onMounted, onUnmounted, nextTick, ref, watch, computed, toRefs } from 'vue';
|
||||||
import { faExclamationCircle, faSave } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import './form.scss';
|
import './form.scss';
|
||||||
import FormButton from './button.vue';
|
import FormButton from './button.vue';
|
||||||
import FormGroup from './group.vue';
|
import FormGroup from './group.vue';
|
||||||
|
@ -191,7 +190,6 @@ export default defineComponent({
|
||||||
onInput,
|
onInput,
|
||||||
onKeydown,
|
onKeydown,
|
||||||
updated,
|
updated,
|
||||||
faExclamationCircle, faSave,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<span class="text"><slot></slot></span>
|
<span class="text"><slot></slot></span>
|
||||||
<span class="right">
|
<span class="right">
|
||||||
<span class="text"><slot name="suffix"></slot></span>
|
<span class="text"><slot name="suffix"></slot></span>
|
||||||
<Fa :icon="faExternalLinkAlt" class="icon"/>
|
<i class="fas fa-external-link-alt icon"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<MkA class="main _button _formPanel _formClickable" :class="{ active }" :to="to" :behavior="behavior" v-else>
|
<MkA class="main _button _formPanel _formClickable" :class="{ active }" :to="to" :behavior="behavior" v-else>
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
<span class="text"><slot></slot></span>
|
<span class="text"><slot></slot></span>
|
||||||
<span class="right">
|
<span class="right">
|
||||||
<span class="text"><slot name="suffix"></slot></span>
|
<span class="text"><slot name="suffix"></slot></span>
|
||||||
<Fa :icon="faChevronRight" class="icon"/>
|
<i class="fas fa-chevron-right icon"></i>
|
||||||
</span>
|
</span>
|
||||||
</MkA>
|
</MkA>
|
||||||
</div>
|
</div>
|
||||||
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faChevronRight, faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import './form.scss';
|
import './form.scss';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -45,7 +44,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faChevronRight, faExternalLinkAlt
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</select>
|
</select>
|
||||||
<div class="suffix">
|
<div class="suffix">
|
||||||
<Fa :icon="faChevronDown"/>
|
<i class="fas fa-chevron-down"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="_formCaption"><slot name="caption"></slot></div>
|
<div class="_formCaption"><slot name="caption"></slot></div>
|
||||||
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faChevronDown } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import './form.scss';
|
import './form.scss';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -47,7 +46,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faChevronDown,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
<MkLoading/>
|
<MkLoading/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="resolved">
|
<FormGroup v-else-if="resolved" class="_formItem">
|
||||||
<slot :result="result"></slot>
|
<slot :result="result"></slot>
|
||||||
</div>
|
</FormGroup>
|
||||||
<div class="_formItem" v-else>
|
<div class="_formItem" v-else>
|
||||||
<div class="_formPanel">
|
<div class="_formPanel">
|
||||||
error!
|
error!
|
||||||
|
@ -20,8 +20,13 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, PropType, ref, watch } from 'vue';
|
import { defineComponent, PropType, ref, watch } from 'vue';
|
||||||
import './form.scss';
|
import './form.scss';
|
||||||
|
import FormGroup from './group.vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
components: {
|
||||||
|
FormGroup,
|
||||||
|
},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
p: {
|
p: {
|
||||||
type: Function as PropType<() => Promise<any>>,
|
type: Function as PropType<() => Promise<any>>,
|
||||||
|
|
|
@ -18,13 +18,12 @@
|
||||||
</div>
|
</div>
|
||||||
<template #caption><slot name="desc"></slot></template>
|
<template #caption><slot name="desc"></slot></template>
|
||||||
|
|
||||||
<FormButton v-if="manualSave && changed" @click="updated" primary><Fa :icon="faSave"/> {{ $ts.save }}</FormButton>
|
<FormButton v-if="manualSave && changed" @click="updated" primary><i class="fas fa-save"></i> {{ $ts.save }}</FormButton>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, ref, toRefs, watch } from 'vue';
|
import { defineComponent, ref, toRefs, watch } from 'vue';
|
||||||
import { faSave } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import './form.scss';
|
import './form.scss';
|
||||||
import FormButton from './button.vue';
|
import FormButton from './button.vue';
|
||||||
import FormGroup from './group.vue';
|
import FormGroup from './group.vue';
|
||||||
|
@ -106,7 +105,6 @@ export default defineComponent({
|
||||||
changed,
|
changed,
|
||||||
focus,
|
focus,
|
||||||
onInput,
|
onInput,
|
||||||
faSave,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExpandAlt, faColumns, faExternalLinkAlt, faLink, faWindowMaximize } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
import copyToClipboard from '@client/scripts/copy-to-clipboard';
|
import copyToClipboard from '@client/scripts/copy-to-clipboard';
|
||||||
import { router } from '@client/router';
|
import { router } from '@client/router';
|
||||||
|
@ -57,31 +56,31 @@ export default defineComponent({
|
||||||
type: 'label',
|
type: 'label',
|
||||||
text: this.to,
|
text: this.to,
|
||||||
}, {
|
}, {
|
||||||
icon: faWindowMaximize,
|
icon: 'fas fa-window-maximize',
|
||||||
text: this.$ts.openInWindow,
|
text: this.$ts.openInWindow,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.pageWindow(this.to);
|
os.pageWindow(this.to);
|
||||||
}
|
}
|
||||||
}, this.sideViewHook ? {
|
}, this.sideViewHook ? {
|
||||||
icon: faColumns,
|
icon: 'fas fa-columns',
|
||||||
text: this.$ts.openInSideView,
|
text: this.$ts.openInSideView,
|
||||||
action: () => {
|
action: () => {
|
||||||
this.sideViewHook(this.to);
|
this.sideViewHook(this.to);
|
||||||
}
|
}
|
||||||
} : undefined, {
|
} : undefined, {
|
||||||
icon: faExpandAlt,
|
icon: 'fas fa-expand-alt',
|
||||||
text: this.$ts.showInPage,
|
text: this.$ts.showInPage,
|
||||||
action: () => {
|
action: () => {
|
||||||
this.$router.push(this.to);
|
this.$router.push(this.to);
|
||||||
}
|
}
|
||||||
}, null, {
|
}, null, {
|
||||||
icon: faExternalLinkAlt,
|
icon: 'fas fa-external-link-alt',
|
||||||
text: this.$ts.openInNewTab,
|
text: this.$ts.openInNewTab,
|
||||||
action: () => {
|
action: () => {
|
||||||
window.open(this.to, '_blank');
|
window.open(this.to, '_blank');
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
text: this.$ts.copyLink,
|
text: this.$ts.copyLink,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(`${url}${this.to}`);
|
copyToClipboard(`${url}${this.to}`);
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<span class="eiwwqkts _noSelect" :class="{ cat }" :title="acct(user)" v-if="disableLink" v-user-preview="disablePreview ? undefined : user.id" @click="onClick">
|
<span class="eiwwqkts _noSelect" :class="{ cat }" :title="acct(user)" v-if="disableLink" v-user-preview="disablePreview ? undefined : user.id" @click="onClick">
|
||||||
<img class="inner" :src="url" decoding="async"/>
|
<img class="inner" :src="url" decoding="async"/>
|
||||||
|
<MkUserOnlineIndicator v-if="showIndicator" class="indicator" :user="user"/>
|
||||||
</span>
|
</span>
|
||||||
<MkA class="eiwwqkts _noSelect" :class="{ cat }" :to="userPage(user)" :title="acct(user)" :target="target" v-else v-user-preview="disablePreview ? undefined : user.id">
|
<MkA class="eiwwqkts _noSelect" :class="{ cat }" :to="userPage(user)" :title="acct(user)" :target="target" v-else v-user-preview="disablePreview ? undefined : user.id">
|
||||||
<img class="inner" :src="url" decoding="async"/>
|
<img class="inner" :src="url" decoding="async"/>
|
||||||
|
<MkUserOnlineIndicator v-if="showIndicator" class="indicator" :user="user"/>
|
||||||
</MkA>
|
</MkA>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -12,8 +14,12 @@ import { defineComponent } from 'vue';
|
||||||
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
|
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
|
||||||
import { extractAvgColorFromBlurhash } from '@client/scripts/extract-avg-color-from-blurhash';
|
import { extractAvgColorFromBlurhash } from '@client/scripts/extract-avg-color-from-blurhash';
|
||||||
import { acct, userPage } from '@client/filters/user';
|
import { acct, userPage } from '@client/filters/user';
|
||||||
|
import MkUserOnlineIndicator from '@client/components/user-online-indicator.vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
components: {
|
||||||
|
MkUserOnlineIndicator
|
||||||
|
},
|
||||||
props: {
|
props: {
|
||||||
user: {
|
user: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
@ -30,6 +36,10 @@ export default defineComponent({
|
||||||
disablePreview: {
|
disablePreview: {
|
||||||
required: false,
|
required: false,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
showIndicator: {
|
||||||
|
required: false,
|
||||||
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
emits: ['click'],
|
emits: ['click'],
|
||||||
|
@ -93,7 +103,7 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.inner {
|
> .inner {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -106,5 +116,14 @@ export default defineComponent({
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .indicator {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 1;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 20%;
|
||||||
|
height: 20%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<transition :name="$store.state.animation ? 'zoom' : ''" appear>
|
<transition :name="$store.state.animation ? 'zoom' : ''" appear>
|
||||||
<div class="mjndxjcg">
|
<div class="mjndxjcg">
|
||||||
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
|
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
|
||||||
<p><Fa :icon="faExclamationTriangle"/> {{ $ts.somethingHappened }}</p>
|
<p><i class="fas fa-exclamation-triangle"></i> {{ $ts.somethingHappened }}</p>
|
||||||
<MkButton @click="() => $emit('retry')" class="button">{{ $ts.retry }}</MkButton>
|
<MkButton @click="() => $emit('retry')" class="button">{{ $ts.retry }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -19,7 +18,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faExclamationTriangle
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -15,13 +15,12 @@
|
||||||
<span class="pathname" v-if="pathname != ''">{{ self ? pathname.substr(1) : pathname }}</span>
|
<span class="pathname" v-if="pathname != ''">{{ self ? pathname.substr(1) : pathname }}</span>
|
||||||
<span class="query">{{ query }}</span>
|
<span class="query">{{ query }}</span>
|
||||||
<span class="hash">{{ hash }}</span>
|
<span class="hash">{{ hash }}</span>
|
||||||
<Fa :icon="faExternalLinkSquareAlt" v-if="target === '_blank'" class="icon"/>
|
<i v-if="target === '_blank'" class="fas fa-external-link-square-alt icon"></i>
|
||||||
</component>
|
</component>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExternalLinkSquareAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { toUnicode as decodePunycode } from 'punycode/';
|
import { toUnicode as decodePunycode } from 'punycode/';
|
||||||
import { url as local } from '@client/config';
|
import { url as local } from '@client/config';
|
||||||
import { isDeviceTouch } from '@client/scripts/is-device-touch';
|
import { isDeviceTouch } from '@client/scripts/is-device-touch';
|
||||||
|
@ -55,7 +54,6 @@ export default defineComponent({
|
||||||
hideTimer: null,
|
hideTimer: null,
|
||||||
checkTimer: null,
|
checkTimer: null,
|
||||||
close: null,
|
close: null,
|
||||||
faExternalLinkSquareAlt
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mk-google">
|
<div class="mk-google">
|
||||||
<input type="search" v-model="query" :placeholder="q">
|
<input type="search" v-model="query" :placeholder="q">
|
||||||
<button @click="search"><Fa :icon="faSearch"/> {{ $ts.search }}</button>
|
<button @click="search"><i class="fas fa-search"></i> {{ $ts.search }}</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faSearch } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -15,7 +14,6 @@ export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
query: null,
|
query: null,
|
||||||
faSearch
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="stats" v-if="info">
|
<div class="stats" v-if="info">
|
||||||
<div class="_panel">
|
<div class="_panel">
|
||||||
<div>
|
<div>
|
||||||
<b><Fa :icon="faUser"/>{{ $ts.users }}</b>
|
<b><i class="fas fa-user"></i>{{ $ts.users }}</b>
|
||||||
<small>{{ $ts.local }}</small>
|
<small>{{ $ts.local }}</small>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="_panel">
|
<div class="_panel">
|
||||||
<div>
|
<div>
|
||||||
<b><Fa :icon="faUser"/>{{ $ts.users }}</b>
|
<b><i class="fas fa-user"></i>{{ $ts.users }}</b>
|
||||||
<small>{{ $ts.remote }}</small>
|
<small>{{ $ts.remote }}</small>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="_panel">
|
<div class="_panel">
|
||||||
<div>
|
<div>
|
||||||
<b><Fa :icon="faPencilAlt"/>{{ $ts.notes }}</b>
|
<b><i class="fas fa-pencil-alt"></i>{{ $ts.notes }}</b>
|
||||||
<small>{{ $ts.local }}</small>
|
<small>{{ $ts.local }}</small>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="_panel">
|
<div class="_panel">
|
||||||
<div>
|
<div>
|
||||||
<b><Fa :icon="faPencilAlt"/>{{ $ts.notes }}</b>
|
<b><i class="fas fa-pencil-alt"></i>{{ $ts.notes }}</b>
|
||||||
<small>{{ $ts.remote }}</small>
|
<small>{{ $ts.remote }}</small>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section class="_card">
|
<section class="_card">
|
||||||
<div class="_title" style="position: relative;"><Fa :icon="faChartBar"/> {{ $ts.statistics }}<button @click="fetchChart" class="_button" style="position: absolute; right: 0; bottom: 0; top: 0; padding: inherit;"><Fa :icon="faSync"/></button></div>
|
<div class="_title" style="position: relative;"><i class="fas fa-chart-bar"></i> {{ $ts.statistics }}<button @click="fetchChart" class="_button" style="position: absolute; right: 0; bottom: 0; top: 0; padding: inherit;"><i class="fas fa-sync"></i></button></div>
|
||||||
<div class="_content" style="margin-top: -8px;">
|
<div class="_content" style="margin-top: -8px;">
|
||||||
<div class="selects" style="display: flex;">
|
<div class="selects" style="display: flex;">
|
||||||
<MkSelect v-model:value="chartSrc" style="margin: 0; flex: 1;">
|
<MkSelect v-model:value="chartSrc" style="margin: 0; flex: 1;">
|
||||||
|
@ -123,7 +123,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, markRaw } from 'vue';
|
import { defineComponent, markRaw } from 'vue';
|
||||||
import { faChartBar, faUser, faPencilAlt, faSync } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import Chart from 'chart.js';
|
import Chart from 'chart.js';
|
||||||
import MkSelect from './ui/select.vue';
|
import MkSelect from './ui/select.vue';
|
||||||
import number from '@client/filters/number';
|
import number from '@client/filters/number';
|
||||||
|
@ -173,7 +172,6 @@ export default defineComponent({
|
||||||
chartInstance: null,
|
chartInstance: null,
|
||||||
chartSrc: 'notes',
|
chartSrc: 'notes',
|
||||||
chartSpan: 'hour',
|
chartSpan: 'hour',
|
||||||
faChartBar, faUser, faPencilAlt, faSync
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -666,7 +664,7 @@ export default defineComponent({
|
||||||
> b {
|
> b {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,28 +4,28 @@
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<template v-for="item in items">
|
<template v-for="item in items">
|
||||||
<button v-if="item.action" class="_button" @click="$event => { item.action($event); close(); }">
|
<button v-if="item.action" class="_button" @click="$event => { item.action($event); close(); }">
|
||||||
<Fa :icon="item.icon" class="icon"/>
|
<i class="icon" :class="item.icon"></i>
|
||||||
<div class="text">{{ item.text }}</div>
|
<div class="text">{{ item.text }}</div>
|
||||||
<i v-if="item.indicate"><Fa :icon="faCircle"/></i>
|
<span v-if="item.indicate" class="indicator"><i class="fas fa-circle"></i></span>
|
||||||
</button>
|
</button>
|
||||||
<MkA v-else :to="item.to" @click.passive="close()">
|
<MkA v-else :to="item.to" @click.passive="close()">
|
||||||
<Fa :icon="item.icon" class="icon"/>
|
<i class="icon" :class="item.icon"></i>
|
||||||
<div class="text">{{ item.text }}</div>
|
<div class="text">{{ item.text }}</div>
|
||||||
<i v-if="item.indicate"><Fa :icon="faCircle"/></i>
|
<span v-if="item.indicate" class="indicator"><i class="fas fa-circle"></i></span>
|
||||||
</MkA>
|
</MkA>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div class="sub">
|
<div class="sub">
|
||||||
<MkA to="/docs" @click.passive="close()">
|
<MkA to="/docs" @click.passive="close()">
|
||||||
<Fa :icon="faQuestionCircle" class="icon"/>
|
<i class="fas fa-question-circle icon"></i>
|
||||||
<div class="text">{{ $ts.help }}</div>
|
<div class="text">{{ $ts.help }}</div>
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA to="/about" @click.passive="close()">
|
<MkA to="/about" @click.passive="close()">
|
||||||
<Fa :icon="faInfoCircle" class="icon"/>
|
<i class="fas fa-info-circle icon"></i>
|
||||||
<div class="text">{{ $t('aboutX', { x: instanceName }) }}</div>
|
<div class="text">{{ $t('aboutX', { x: instanceName }) }}</div>
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA to="/about-misskey" @click.passive="close()">
|
<MkA to="/about-misskey" @click.passive="close()">
|
||||||
<Fa :icon="faInfoCircle" class="icon"/>
|
<i class="fas fa-info-circle icon"></i>
|
||||||
<div class="text">{{ $ts.aboutMisskey }}</div>
|
<div class="text">{{ $ts.aboutMisskey }}</div>
|
||||||
</MkA>
|
</MkA>
|
||||||
</div>
|
</div>
|
||||||
|
@ -35,7 +35,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faQuestionCircle, faInfoCircle, faCircle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkModal from '@client/components/ui/modal.vue';
|
import MkModal from '@client/components/ui/modal.vue';
|
||||||
import { sidebarDef } from '@client/sidebar';
|
import { sidebarDef } from '@client/sidebar';
|
||||||
import { instanceName } from '@client/config';
|
import { instanceName } from '@client/config';
|
||||||
|
@ -52,7 +51,6 @@ export default defineComponent({
|
||||||
menuDef: sidebarDef,
|
menuDef: sidebarDef,
|
||||||
items: [],
|
items: [],
|
||||||
instanceName,
|
instanceName,
|
||||||
faQuestionCircle, faInfoCircle, faCircle,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -127,7 +125,7 @@ export default defineComponent({
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
> i {
|
> .indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 32px;
|
top: 32px;
|
||||||
left: 32px;
|
left: 32px;
|
||||||
|
|
|
@ -5,13 +5,12 @@
|
||||||
:title="url"
|
:title="url"
|
||||||
>
|
>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<Fa :icon="faExternalLinkSquareAlt" v-if="target === '_blank'" class="icon"/>
|
<i v-if="target === '_blank'" class="fas fa-external-link-square-alt icon"></i>
|
||||||
</component>
|
</component>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExternalLinkSquareAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { url as local } from '@client/config';
|
import { url as local } from '@client/config';
|
||||||
import { isDeviceTouch } from '@client/scripts/is-device-touch';
|
import { isDeviceTouch } from '@client/scripts/is-device-touch';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
@ -38,7 +37,6 @@ export default defineComponent({
|
||||||
hideTimer: null,
|
hideTimer: null,
|
||||||
checkTimer: null,
|
checkTimer: null,
|
||||||
close: null,
|
close: null,
|
||||||
faExternalLinkSquareAlt
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mk-media-banner">
|
<div class="mk-media-banner">
|
||||||
<div class="sensitive" v-if="media.isSensitive && hide" @click="hide = false">
|
<div class="sensitive" v-if="media.isSensitive && hide" @click="hide = false">
|
||||||
<span class="icon"><Fa :icon="faExclamationTriangle"/></span>
|
<span class="icon"><i class="fas fa-exclamation-triangle"></i></span>
|
||||||
<b>{{ $ts.sensitive }}</b>
|
<b>{{ $ts.sensitive }}</b>
|
||||||
<span>{{ $ts.clickToShow }}</span>
|
<span>{{ $ts.clickToShow }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
:title="media.name"
|
:title="media.name"
|
||||||
:download="media.name"
|
:download="media.name"
|
||||||
>
|
>
|
||||||
<span class="icon"><Fa icon="download"/></span>
|
<span class="icon"><i class="fas fa-download"></i></span>
|
||||||
<b>{{ media.name }}</b>
|
<b>{{ media.name }}</b>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
import { ColdDeviceStorage } from '@client/store';
|
import { ColdDeviceStorage } from '@client/store';
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
hide: true,
|
hide: true,
|
||||||
faExclamationTriangle
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
<ImgWithBlurhash class="bg" :hash="image.blurhash" :title="image.name"/>
|
<ImgWithBlurhash class="bg" :hash="image.blurhash" :title="image.name"/>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<div>
|
<div>
|
||||||
<b><Fa :icon="faExclamationTriangle"/> {{ $ts.sensitive }}</b>
|
<b><i class="fas fa-exclamation-triangle"></i> {{ $ts.sensitive }}</b>
|
||||||
<span>{{ $ts.clickToShow }}</span>
|
<span>{{ $ts.clickToShow }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="gqnyydlz" :style="{ background: color }" v-else>
|
<div class="gqnyydlz" :style="{ background: color }" v-else>
|
||||||
<i><Fa :icon="faEyeSlash" @click="hide = true"/></i>
|
<i class="fas fa-eye-slash" @click="hide = true"></i>
|
||||||
<a
|
<a
|
||||||
:href="image.url"
|
:href="image.url"
|
||||||
:title="image.name"
|
:title="image.name"
|
||||||
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExclamationTriangle, faEyeSlash } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
|
import { getStaticImageUrl } from '@client/scripts/get-static-image-url';
|
||||||
import { extractAvgColorFromBlurhash } from '@client/scripts/extract-avg-color-from-blurhash';
|
import { extractAvgColorFromBlurhash } from '@client/scripts/extract-avg-color-from-blurhash';
|
||||||
import ImageViewer from './image-viewer.vue';
|
import ImageViewer from './image-viewer.vue';
|
||||||
|
@ -47,7 +46,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
hide: true,
|
hide: true,
|
||||||
color: null,
|
color: null,
|
||||||
faExclamationTriangle, faEyeSlash,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="icozogqfvdetwohsdglrbswgrejoxbdj" v-if="hide" @click="hide = false">
|
<div class="icozogqfvdetwohsdglrbswgrejoxbdj" v-if="hide" @click="hide = false">
|
||||||
<div>
|
<div>
|
||||||
<b><Fa :icon="faExclamationTriangle"/> {{ $ts.sensitive }}</b>
|
<b><i class="fas fa-exclamation-triangle"></i> {{ $ts.sensitive }}</b>
|
||||||
<span>{{ $ts.clickToShow }}</span>
|
<span>{{ $ts.clickToShow }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,13 +18,12 @@
|
||||||
:type="video.type"
|
:type="video.type"
|
||||||
>
|
>
|
||||||
</video>
|
</video>
|
||||||
<i><Fa :icon="faEyeSlash" @click="hide = true"/></i>
|
<i class="fas fa-eye-slash" @click="hide = true"></i>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExclamationTriangle, faEyeSlash } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -37,8 +36,6 @@ export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
hide: true,
|
hide: true,
|
||||||
faExclamationTriangle,
|
|
||||||
faEyeSlash
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
<MkModal ref="modal" @click="$emit('click')" @closed="$emit('closed')">
|
<MkModal ref="modal" @click="$emit('click')" @closed="$emit('closed')">
|
||||||
<div class="hrmcaedk _popup _narrow_" :style="{ width: `${width}px`, height: (height ? `min(${height}px, 100%)` : '100%') }">
|
<div class="hrmcaedk _popup _narrow_" :style="{ width: `${width}px`, height: (height ? `min(${height}px, 100%)` : '100%') }">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<button class="_button" @click="back()" v-if="history.length > 0"><Fa :icon="faChevronLeft"/></button>
|
<button class="_button" @click="back()" v-if="history.length > 0"><i class="fas fa-chevron-left"></i></button>
|
||||||
<button class="_button" style="pointer-events: none;" v-else><!-- マージンのバランスを取るためのダミー --></button>
|
<button class="_button" style="pointer-events: none;" v-else><!-- マージンのバランスを取るためのダミー --></button>
|
||||||
<span class="title">
|
<span class="title">
|
||||||
<XHeader :info="pageInfo" :with-back="false"/>
|
<XHeader :info="pageInfo" :with-back="false"/>
|
||||||
</span>
|
</span>
|
||||||
<button class="_button" @click="$refs.modal.close()"><Fa :icon="faTimes"/></button>
|
<button class="_button" @click="$refs.modal.close()"><i class="fas fa-times"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="body _flat_">
|
<div class="body _flat_">
|
||||||
<keep-alive>
|
<keep-alive>
|
||||||
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExternalLinkAlt, faExpandAlt, faLink, faChevronLeft, faColumns, faTimes } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkModal from '@client/components/ui/modal.vue';
|
import MkModal from '@client/components/ui/modal.vue';
|
||||||
import XHeader from '@client/ui/_common_/header.vue';
|
import XHeader from '@client/ui/_common_/header.vue';
|
||||||
import { popout } from '@client/scripts/popout';
|
import { popout } from '@client/scripts/popout';
|
||||||
|
@ -76,7 +75,6 @@ export default defineComponent({
|
||||||
component: this.initialComponent,
|
component: this.initialComponent,
|
||||||
props: this.initialProps,
|
props: this.initialProps,
|
||||||
history: [],
|
history: [],
|
||||||
faChevronLeft, faTimes,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -90,29 +88,29 @@ export default defineComponent({
|
||||||
type: 'label',
|
type: 'label',
|
||||||
text: this.path,
|
text: this.path,
|
||||||
}, {
|
}, {
|
||||||
icon: faExpandAlt,
|
icon: 'fas fa-expand-alt',
|
||||||
text: this.$ts.showInPage,
|
text: this.$ts.showInPage,
|
||||||
action: this.expand
|
action: this.expand
|
||||||
}, this.sideViewHook ? {
|
}, this.sideViewHook ? {
|
||||||
icon: faColumns,
|
icon: 'fas fa-columns',
|
||||||
text: this.$ts.openInSideView,
|
text: this.$ts.openInSideView,
|
||||||
action: () => {
|
action: () => {
|
||||||
this.sideViewHook(this.path);
|
this.sideViewHook(this.path);
|
||||||
this.$refs.window.close();
|
this.$refs.window.close();
|
||||||
}
|
}
|
||||||
} : undefined, {
|
} : undefined, {
|
||||||
icon: faExternalLinkAlt,
|
icon: 'fas fa-external-link-alt',
|
||||||
text: this.$ts.popout,
|
text: this.$ts.popout,
|
||||||
action: this.popout
|
action: this.popout
|
||||||
}, null, {
|
}, null, {
|
||||||
icon: faExternalLinkAlt,
|
icon: 'fas fa-external-link-alt',
|
||||||
text: this.$ts.openInNewTab,
|
text: this.$ts.openInNewTab,
|
||||||
action: () => {
|
action: () => {
|
||||||
window.open(this.url, '_blank');
|
window.open(this.url, '_blank');
|
||||||
this.$refs.window.close();
|
this.$refs.window.close();
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
text: this.$ts.copyLink,
|
text: this.$ts.copyLink,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(this.url);
|
copyToClipboard(this.url);
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<XSub :note="appearNote.reply" class="reply-to" v-if="appearNote.reply"/>
|
<XSub :note="appearNote.reply" class="reply-to" v-if="appearNote.reply"/>
|
||||||
<div class="renote" v-if="isRenote">
|
<div class="renote" v-if="isRenote">
|
||||||
<MkAvatar class="avatar" :user="note.user"/>
|
<MkAvatar class="avatar" :user="note.user"/>
|
||||||
<Fa :icon="faRetweet"/>
|
<i class="fas fa-retweet"></i>
|
||||||
<I18n :src="$ts.renotedBy" tag="span">
|
<I18n :src="$ts.renotedBy" tag="span">
|
||||||
<template #user>
|
<template #user>
|
||||||
<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId">
|
<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId">
|
||||||
|
@ -22,34 +22,34 @@
|
||||||
</I18n>
|
</I18n>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<button class="_button time" @click="showRenoteMenu()" ref="renoteTime">
|
<button class="_button time" @click="showRenoteMenu()" ref="renoteTime">
|
||||||
<Fa class="dropdownIcon" v-if="isMyRenote" :icon="faEllipsisH"/>
|
<i v-if="isMyRenote" class="fas fa-ellipsis-h dropdownIcon"></i>
|
||||||
<MkTime :time="note.createdAt"/>
|
<MkTime :time="note.createdAt"/>
|
||||||
</button>
|
</button>
|
||||||
<span class="visibility" v-if="note.visibility !== 'public'">
|
<span class="visibility" v-if="note.visibility !== 'public'">
|
||||||
<Fa v-if="note.visibility === 'home'" :icon="faHome"/>
|
<i v-if="note.visibility === 'home'" class="fas fa-home"></i>
|
||||||
<Fa v-if="note.visibility === 'followers'" :icon="faUnlock"/>
|
<i v-else-if="note.visibility === 'followers'" class="fas fa-unlock"></i>
|
||||||
<Fa v-if="note.visibility === 'specified'" :icon="faEnvelope"/>
|
<i v-else-if="note.visibility === 'specified'" class="fas fa-envelope"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="localOnly" v-if="note.localOnly"><Fa :icon="faBiohazard"/></span>
|
<span class="localOnly" v-if="note.localOnly"><i class="fas fa-biohazard"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<article class="article" @contextmenu.stop="onContextmenu">
|
<article class="article" @contextmenu.stop="onContextmenu">
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<MkAvatar class="avatar" :user="appearNote.user"/>
|
<MkAvatar class="avatar" :user="appearNote.user" :show-indicator="true"/>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<MkA class="name" :to="userPage(appearNote.user)" v-user-preview="appearNote.user.id">
|
<MkA class="name" :to="userPage(appearNote.user)" v-user-preview="appearNote.user.id">
|
||||||
<MkUserName :user="appearNote.user"/>
|
<MkUserName :user="appearNote.user"/>
|
||||||
</MkA>
|
</MkA>
|
||||||
<span class="is-bot" v-if="appearNote.user.isBot">bot</span>
|
<span class="is-bot" v-if="appearNote.user.isBot">bot</span>
|
||||||
<span class="admin" v-if="appearNote.user.isAdmin"><Fa :icon="faBookmark"/></span>
|
<span class="admin" v-if="appearNote.user.isAdmin"><i class="fas fa-bookmark"></i></span>
|
||||||
<span class="moderator" v-if="!appearNote.user.isAdmin && appearNote.user.isModerator"><Fa :icon="farBookmark"/></span>
|
<span class="moderator" v-if="!appearNote.user.isAdmin && appearNote.user.isModerator"><i class="far fa-bookmark"></i></span>
|
||||||
<span class="visibility" v-if="appearNote.visibility !== 'public'">
|
<span class="visibility" v-if="appearNote.visibility !== 'public'">
|
||||||
<Fa v-if="appearNote.visibility === 'home'" :icon="faHome"/>
|
<i v-if="appearNote.visibility === 'home'" class="fas fa-home"></i>
|
||||||
<Fa v-if="appearNote.visibility === 'followers'" :icon="faUnlock"/>
|
<i v-else-if="appearNote.visibility === 'followers'" class="fas fa-unlock"></i>
|
||||||
<Fa v-if="appearNote.visibility === 'specified'" :icon="faEnvelope"/>
|
<i v-else-if="appearNote.visibility === 'specified'" class="fas fa-envelope"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="localOnly" v-if="appearNote.localOnly"><Fa :icon="faBiohazard"/></span>
|
<span class="localOnly" v-if="appearNote.localOnly"><i class="fas fa-biohazard"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="username"><MkAcct :user="appearNote.user"/></div>
|
<div class="username"><MkAcct :user="appearNote.user"/></div>
|
||||||
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="appearNote.user.instance"/>
|
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="appearNote.user.instance"/>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
<div class="content" v-show="appearNote.cw == null || showContent">
|
<div class="content" v-show="appearNote.cw == null || showContent">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span>
|
<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span>
|
||||||
<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><Fa :icon="faReply"/></MkA>
|
<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><i class="fas fa-reply"></i></MkA>
|
||||||
<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/>
|
<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/>
|
||||||
<a class="rp" v-if="appearNote.renote != null">RN:</a>
|
<a class="rp" v-if="appearNote.renote != null">RN:</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -75,33 +75,33 @@
|
||||||
<MkUrlPreview v-for="url in urls" :url="url" :key="url" :compact="true" :detail="true" class="url-preview"/>
|
<MkUrlPreview v-for="url in urls" :url="url" :key="url" :compact="true" :detail="true" class="url-preview"/>
|
||||||
<div class="renote" v-if="appearNote.renote"><XNotePreview :note="appearNote.renote"/></div>
|
<div class="renote" v-if="appearNote.renote"><XNotePreview :note="appearNote.renote"/></div>
|
||||||
</div>
|
</div>
|
||||||
<MkA v-if="appearNote.channel && !inChannel" class="channel" :to="`/channels/${appearNote.channel.id}`"><Fa :icon="faSatelliteDish"/> {{ appearNote.channel.name }}</MkA>
|
<MkA v-if="appearNote.channel && !inChannel" class="channel" :to="`/channels/${appearNote.channel.id}`"><i class="fas fa-satellite-dish"></i> {{ appearNote.channel.name }}</MkA>
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<span class="mobile" v-if="note.viaMobile"><Fa :icon="faMobileAlt"/></span>
|
<span class="mobile" v-if="note.viaMobile"><i class="fas fa-mobile-alt"></i></span>
|
||||||
<MkTime class="created-at" :time="note.createdAt" mode="detail"/>
|
<MkTime class="created-at" :time="note.createdAt" mode="detail"/>
|
||||||
</div>
|
</div>
|
||||||
<XReactionsViewer :note="appearNote" ref="reactionsViewer"/>
|
<XReactionsViewer :note="appearNote" ref="reactionsViewer"/>
|
||||||
<button @click="reply()" class="button _button">
|
<button @click="reply()" class="button _button">
|
||||||
<template v-if="appearNote.reply"><Fa :icon="faReplyAll"/></template>
|
<template v-if="appearNote.reply"><i class="fas fa-reply-all"></i></template>
|
||||||
<template v-else><Fa :icon="faReply"/></template>
|
<template v-else><i class="fas fa-reply"></i></template>
|
||||||
<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p>
|
<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton">
|
<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton">
|
||||||
<Fa :icon="faRetweet"/><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p>
|
<i class="fas fa-retweet"></i><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p>
|
||||||
</button>
|
</button>
|
||||||
<button v-else class="button _button">
|
<button v-else class="button _button">
|
||||||
<Fa :icon="faBan"/>
|
<i class="fas fa-ban"></i>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton">
|
<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton">
|
||||||
<Fa :icon="faPlus"/>
|
<i class="fas fa-plus"></i>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton">
|
<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton">
|
||||||
<Fa :icon="faMinus"/>
|
<i class="fas fa-minus"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="button _button" @click="menu()" ref="menuButton">
|
<button class="button _button" @click="menu()" ref="menuButton">
|
||||||
<Fa :icon="faEllipsisH"/>
|
<i class="fas fa-ellipsis-h"></i>
|
||||||
</button>
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
@ -121,8 +121,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineAsyncComponent, defineComponent, markRaw } from 'vue';
|
import { defineAsyncComponent, defineComponent, markRaw } from 'vue';
|
||||||
import { faSatelliteDish, faBolt, faTimes, faBullhorn, faStar, faLink, faExternalLinkSquareAlt, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faQuoteRight, faInfoCircle, faBiohazard, faPlug, faExclamationCircle, faPaperclip, faShareAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faCopy, faTrashAlt, faEdit, faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import * as mfm from 'mfm-js';
|
import * as mfm from 'mfm-js';
|
||||||
import { sum } from '../../prelude/array';
|
import { sum } from '../../prelude/array';
|
||||||
import XSub from './note.sub.vue';
|
import XSub from './note.sub.vue';
|
||||||
|
@ -143,14 +141,6 @@ import { noteActions, noteViewInterruptors } from '@client/store';
|
||||||
import { reactionPicker } from '@client/scripts/reaction-picker';
|
import { reactionPicker } from '@client/scripts/reaction-picker';
|
||||||
import { extractUrlFromMfm } from '@/misc/extract-url-from-mfm';
|
import { extractUrlFromMfm } from '@/misc/extract-url-from-mfm';
|
||||||
|
|
||||||
function markRawAll(...xs) {
|
|
||||||
for (const x of xs) {
|
|
||||||
markRaw(x);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
markRawAll(faEdit, faBolt, faTimes, faBullhorn, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faBiohazard, faPlug, faSatelliteDish);
|
|
||||||
|
|
||||||
// TODO: note.vueとほぼ同じなので共通化したい
|
// TODO: note.vueとほぼ同じなので共通化したい
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
|
@ -188,7 +178,6 @@ export default defineComponent({
|
||||||
showContent: false,
|
showContent: false,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
muted: false,
|
muted: false,
|
||||||
faEdit, faBolt, faTimes, faBullhorn, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faBiohazard, faPlug, faSatelliteDish
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -467,7 +456,7 @@ export default defineComponent({
|
||||||
this.blur();
|
this.blur();
|
||||||
os.modalMenu([{
|
os.modalMenu([{
|
||||||
text: this.$ts.renote,
|
text: this.$ts.renote,
|
||||||
icon: faRetweet,
|
icon: 'fas fa-retweet',
|
||||||
action: () => {
|
action: () => {
|
||||||
os.api('notes/create', {
|
os.api('notes/create', {
|
||||||
renoteId: this.appearNote.id
|
renoteId: this.appearNote.id
|
||||||
|
@ -475,7 +464,7 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
text: this.$ts.quote,
|
text: this.$ts.quote,
|
||||||
icon: faQuoteRight,
|
icon: 'fas fa-quote-right',
|
||||||
action: () => {
|
action: () => {
|
||||||
os.post({
|
os.post({
|
||||||
renote: this.appearNote,
|
renote: this.appearNote,
|
||||||
|
@ -611,62 +600,62 @@ export default defineComponent({
|
||||||
});
|
});
|
||||||
|
|
||||||
menu = [{
|
menu = [{
|
||||||
icon: faCopy,
|
icon: 'fas fa-copy',
|
||||||
text: this.$ts.copyContent,
|
text: this.$ts.copyContent,
|
||||||
action: this.copyContent
|
action: this.copyContent
|
||||||
}, {
|
}, {
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
text: this.$ts.copyLink,
|
text: this.$ts.copyLink,
|
||||||
action: this.copyLink
|
action: this.copyLink
|
||||||
}, (this.appearNote.url || this.appearNote.uri) ? {
|
}, (this.appearNote.url || this.appearNote.uri) ? {
|
||||||
icon: faExternalLinkSquareAlt,
|
icon: 'fas fa-external-link-square-alt',
|
||||||
text: this.$ts.showOnRemote,
|
text: this.$ts.showOnRemote,
|
||||||
action: () => {
|
action: () => {
|
||||||
window.open(this.appearNote.url || this.appearNote.uri, '_blank');
|
window.open(this.appearNote.url || this.appearNote.uri, '_blank');
|
||||||
}
|
}
|
||||||
} : undefined,
|
} : undefined,
|
||||||
{
|
{
|
||||||
icon: faShareAlt,
|
icon: 'fas fa-share-alt',
|
||||||
text: this.$ts.share,
|
text: this.$ts.share,
|
||||||
action: this.share
|
action: this.share
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
statePromise.then(state => state.isFavorited ? {
|
statePromise.then(state => state.isFavorited ? {
|
||||||
icon: faStar,
|
icon: 'fas fa-star',
|
||||||
text: this.$ts.unfavorite,
|
text: this.$ts.unfavorite,
|
||||||
action: () => this.toggleFavorite(false)
|
action: () => this.toggleFavorite(false)
|
||||||
} : {
|
} : {
|
||||||
icon: faStar,
|
icon: 'fas fa-star',
|
||||||
text: this.$ts.favorite,
|
text: this.$ts.favorite,
|
||||||
action: () => this.toggleFavorite(true)
|
action: () => this.toggleFavorite(true)
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
icon: faPaperclip,
|
icon: 'fas fa-paperclip',
|
||||||
text: this.$ts.clip,
|
text: this.$ts.clip,
|
||||||
action: () => this.clip()
|
action: () => this.clip()
|
||||||
},
|
},
|
||||||
(this.appearNote.userId != this.$i.id) ? statePromise.then(state => state.isWatching ? {
|
(this.appearNote.userId != this.$i.id) ? statePromise.then(state => state.isWatching ? {
|
||||||
icon: faEyeSlash,
|
icon: 'fas fa-eye-slash',
|
||||||
text: this.$ts.unwatch,
|
text: this.$ts.unwatch,
|
||||||
action: () => this.toggleWatch(false)
|
action: () => this.toggleWatch(false)
|
||||||
} : {
|
} : {
|
||||||
icon: faEye,
|
icon: 'fas fa-eye',
|
||||||
text: this.$ts.watch,
|
text: this.$ts.watch,
|
||||||
action: () => this.toggleWatch(true)
|
action: () => this.toggleWatch(true)
|
||||||
}) : undefined,
|
}) : undefined,
|
||||||
this.appearNote.userId == this.$i.id ? (this.$i.pinnedNoteIds || []).includes(this.appearNote.id) ? {
|
this.appearNote.userId == this.$i.id ? (this.$i.pinnedNoteIds || []).includes(this.appearNote.id) ? {
|
||||||
icon: faThumbtack,
|
icon: 'fas fa-thumbtack',
|
||||||
text: this.$ts.unpin,
|
text: this.$ts.unpin,
|
||||||
action: () => this.togglePin(false)
|
action: () => this.togglePin(false)
|
||||||
} : {
|
} : {
|
||||||
icon: faThumbtack,
|
icon: 'fas fa-thumbtack',
|
||||||
text: this.$ts.pin,
|
text: this.$ts.pin,
|
||||||
action: () => this.togglePin(true)
|
action: () => this.togglePin(true)
|
||||||
} : undefined,
|
} : undefined,
|
||||||
...(this.$i.isModerator || this.$i.isAdmin ? [
|
...(this.$i.isModerator || this.$i.isAdmin ? [
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
icon: faBullhorn,
|
icon: 'fas fa-bullhorn',
|
||||||
text: this.$ts.promote,
|
text: this.$ts.promote,
|
||||||
action: this.promote
|
action: this.promote
|
||||||
}]
|
}]
|
||||||
|
@ -675,7 +664,7 @@ export default defineComponent({
|
||||||
...(this.appearNote.userId != this.$i.id ? [
|
...(this.appearNote.userId != this.$i.id ? [
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
icon: faExclamationCircle,
|
icon: 'fas fa-exclamation-circle',
|
||||||
text: this.$ts.reportAbuse,
|
text: this.$ts.reportAbuse,
|
||||||
action: () => {
|
action: () => {
|
||||||
const u = `${url}/notes/${this.appearNote.id}`;
|
const u = `${url}/notes/${this.appearNote.id}`;
|
||||||
|
@ -690,12 +679,12 @@ export default defineComponent({
|
||||||
...(this.appearNote.userId == this.$i.id || this.$i.isModerator || this.$i.isAdmin ? [
|
...(this.appearNote.userId == this.$i.id || this.$i.isModerator || this.$i.isAdmin ? [
|
||||||
null,
|
null,
|
||||||
this.appearNote.userId == this.$i.id ? {
|
this.appearNote.userId == this.$i.id ? {
|
||||||
icon: faEdit,
|
icon: 'fas fa-edit',
|
||||||
text: this.$ts.deleteAndEdit,
|
text: this.$ts.deleteAndEdit,
|
||||||
action: this.delEdit
|
action: this.delEdit
|
||||||
} : undefined,
|
} : undefined,
|
||||||
{
|
{
|
||||||
icon: faTrashAlt,
|
icon: 'fas fa-trash-alt',
|
||||||
text: this.$ts.delete,
|
text: this.$ts.delete,
|
||||||
danger: true,
|
danger: true,
|
||||||
action: this.del
|
action: this.del
|
||||||
|
@ -705,15 +694,15 @@ export default defineComponent({
|
||||||
.filter(x => x !== undefined);
|
.filter(x => x !== undefined);
|
||||||
} else {
|
} else {
|
||||||
menu = [{
|
menu = [{
|
||||||
icon: faCopy,
|
icon: 'fas fa-copy',
|
||||||
text: this.$ts.copyContent,
|
text: this.$ts.copyContent,
|
||||||
action: this.copyContent
|
action: this.copyContent
|
||||||
}, {
|
}, {
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
text: this.$ts.copyLink,
|
text: this.$ts.copyLink,
|
||||||
action: this.copyLink
|
action: this.copyLink
|
||||||
}, (this.appearNote.url || this.appearNote.uri) ? {
|
}, (this.appearNote.url || this.appearNote.uri) ? {
|
||||||
icon: faExternalLinkSquareAlt,
|
icon: 'fas fa-external-link-square-alt',
|
||||||
text: this.$ts.showOnRemote,
|
text: this.$ts.showOnRemote,
|
||||||
action: () => {
|
action: () => {
|
||||||
window.open(this.appearNote.url || this.appearNote.uri, '_blank');
|
window.open(this.appearNote.url || this.appearNote.uri, '_blank');
|
||||||
|
@ -724,7 +713,7 @@ export default defineComponent({
|
||||||
|
|
||||||
if (noteActions.length > 0) {
|
if (noteActions.length > 0) {
|
||||||
menu = menu.concat([null, ...noteActions.map(action => ({
|
menu = menu.concat([null, ...noteActions.map(action => ({
|
||||||
icon: faPlug,
|
icon: 'fas fa-plug',
|
||||||
text: action.title,
|
text: action.title,
|
||||||
action: () => {
|
action: () => {
|
||||||
action.handler(this.appearNote);
|
action.handler(this.appearNote);
|
||||||
|
@ -763,7 +752,7 @@ export default defineComponent({
|
||||||
if (!this.isMyRenote) return;
|
if (!this.isMyRenote) return;
|
||||||
os.modalMenu([{
|
os.modalMenu([{
|
||||||
text: this.$ts.unrenote,
|
text: this.$ts.unrenote,
|
||||||
icon: faTrashAlt,
|
icon: 'fas fa-trash-alt',
|
||||||
danger: true,
|
danger: true,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.api('notes/delete', {
|
os.api('notes/delete', {
|
||||||
|
@ -806,7 +795,7 @@ export default defineComponent({
|
||||||
async clip() {
|
async clip() {
|
||||||
const clips = await os.api('clips/list');
|
const clips = await os.api('clips/list');
|
||||||
os.modalMenu([{
|
os.modalMenu([{
|
||||||
icon: faPlus,
|
icon: 'fas fa-plus',
|
||||||
text: this.$ts.createNew,
|
text: this.$ts.createNew,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const { canceled, result } = await os.form(this.$ts.createNewClip, {
|
const { canceled, result } = await os.form(this.$ts.createNewClip, {
|
||||||
|
@ -943,7 +932,7 @@ export default defineComponent({
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,27 +5,25 @@
|
||||||
</MkA>
|
</MkA>
|
||||||
<span class="is-bot" v-if="note.user.isBot">bot</span>
|
<span class="is-bot" v-if="note.user.isBot">bot</span>
|
||||||
<span class="username"><MkAcct :user="note.user"/></span>
|
<span class="username"><MkAcct :user="note.user"/></span>
|
||||||
<span class="admin" v-if="note.user.isAdmin"><Fa :icon="faBookmark"/></span>
|
<span class="admin" v-if="note.user.isAdmin"><i class="fas fa-bookmark"></i></span>
|
||||||
<span class="moderator" v-if="!note.user.isAdmin && note.user.isModerator"><Fa :icon="farBookmark"/></span>
|
<span class="moderator" v-if="!note.user.isAdmin && note.user.isModerator"><i class="far fa-bookmark"></i></span>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<span class="mobile" v-if="note.viaMobile"><Fa :icon="faMobileAlt"/></span>
|
<span class="mobile" v-if="note.viaMobile"><i class="fas fa-mobile-alt"></i></span>
|
||||||
<MkA class="created-at" :to="notePage(note)">
|
<MkA class="created-at" :to="notePage(note)">
|
||||||
<MkTime :time="note.createdAt"/>
|
<MkTime :time="note.createdAt"/>
|
||||||
</MkA>
|
</MkA>
|
||||||
<span class="visibility" v-if="note.visibility !== 'public'">
|
<span class="visibility" v-if="note.visibility !== 'public'">
|
||||||
<Fa v-if="note.visibility === 'home'" :icon="faHome"/>
|
<i v-if="note.visibility === 'home'" class="fas fa-home"></i>
|
||||||
<Fa v-if="note.visibility === 'followers'" :icon="faUnlock"/>
|
<i v-else-if="note.visibility === 'followers'" class="fas fa-unlock"></i>
|
||||||
<Fa v-if="note.visibility === 'specified'" :icon="faEnvelope"/>
|
<i v-else-if="note.visibility === 'specified'" class="fas fa-envelope"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="localOnly" v-if="note.localOnly"><Fa :icon="faBiohazard"/></span>
|
<span class="localOnly" v-if="note.localOnly"><i class="fas fa-biohazard"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faHome, faUnlock, faEnvelope, faMobileAlt, faBookmark, faBiohazard } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faBookmark as farBookmark } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import notePage from '../filters/note';
|
import notePage from '../filters/note';
|
||||||
import { userPage } from '../filters/user';
|
import { userPage } from '../filters/user';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
@ -40,7 +38,6 @@ export default defineComponent({
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faHome, faUnlock, faEnvelope, faMobileAlt, faBookmark, farBookmark, faBiohazard
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
v-size="{ max: [500, 450, 350, 300] }"
|
v-size="{ max: [500, 450, 350, 300] }"
|
||||||
>
|
>
|
||||||
<XSub :note="appearNote.reply" class="reply-to" v-if="appearNote.reply"/>
|
<XSub :note="appearNote.reply" class="reply-to" v-if="appearNote.reply"/>
|
||||||
<div class="info" v-if="pinned"><Fa :icon="faThumbtack"/> {{ $ts.pinnedNote }}</div>
|
<div class="info" v-if="pinned"><i class="fas fa-thumbtack"></i> {{ $ts.pinnedNote }}</div>
|
||||||
<div class="info" v-if="appearNote._prId_"><Fa :icon="faBullhorn"/> {{ $ts.promotion }}<button class="_textButton hide" @click="readPromo()">{{ $ts.hideThisNote }} <Fa :icon="faTimes"/></button></div>
|
<div class="info" v-if="appearNote._prId_"><i class="fas fa-bullhorn"></i> {{ $ts.promotion }}<button class="_textButton hide" @click="readPromo()">{{ $ts.hideThisNote }} <i class="fas fa-times"></i></button></div>
|
||||||
<div class="info" v-if="appearNote._featuredId_"><Fa :icon="faBolt"/> {{ $ts.featured }}</div>
|
<div class="info" v-if="appearNote._featuredId_"><i class="fas fa-bolt"></i> {{ $ts.featured }}</div>
|
||||||
<div class="renote" v-if="isRenote">
|
<div class="renote" v-if="isRenote">
|
||||||
<MkAvatar class="avatar" :user="note.user"/>
|
<MkAvatar class="avatar" :user="note.user"/>
|
||||||
<Fa :icon="faRetweet"/>
|
<i class="fas fa-retweet"></i>
|
||||||
<I18n :src="$ts.renotedBy" tag="span">
|
<I18n :src="$ts.renotedBy" tag="span">
|
||||||
<template #user>
|
<template #user>
|
||||||
<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId">
|
<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId">
|
||||||
|
@ -24,15 +24,15 @@
|
||||||
</I18n>
|
</I18n>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<button class="_button time" @click="showRenoteMenu()" ref="renoteTime">
|
<button class="_button time" @click="showRenoteMenu()" ref="renoteTime">
|
||||||
<Fa class="dropdownIcon" v-if="isMyRenote" :icon="faEllipsisH"/>
|
<i v-if="isMyRenote" class="fas fa-ellipsis-h dropdownIcon"></i>
|
||||||
<MkTime :time="note.createdAt"/>
|
<MkTime :time="note.createdAt"/>
|
||||||
</button>
|
</button>
|
||||||
<span class="visibility" v-if="note.visibility !== 'public'">
|
<span class="visibility" v-if="note.visibility !== 'public'">
|
||||||
<Fa v-if="note.visibility === 'home'" :icon="faHome"/>
|
<i v-if="note.visibility === 'home'" class="fas fa-home"></i>
|
||||||
<Fa v-if="note.visibility === 'followers'" :icon="faUnlock"/>
|
<i v-else-if="note.visibility === 'followers'" class="fas fa-unlock"></i>
|
||||||
<Fa v-if="note.visibility === 'specified'" :icon="faEnvelope"/>
|
<i v-else-if="note.visibility === 'specified'" class="fas fa-envelope"></i>
|
||||||
</span>
|
</span>
|
||||||
<span class="localOnly" v-if="note.localOnly"><Fa :icon="faBiohazard"/></span>
|
<span class="localOnly" v-if="note.localOnly"><i class="fas fa-biohazard"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<article class="article" @contextmenu.stop="onContextmenu">
|
<article class="article" @contextmenu.stop="onContextmenu">
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
<div class="content" :class="{ collapsed }" v-show="appearNote.cw == null || showContent">
|
<div class="content" :class="{ collapsed }" v-show="appearNote.cw == null || showContent">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span>
|
<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span>
|
||||||
<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><Fa :icon="faReply"/></MkA>
|
<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><i class="fas fa-reply"></i></MkA>
|
||||||
<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/>
|
<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/>
|
||||||
<a class="rp" v-if="appearNote.renote != null">RN:</a>
|
<a class="rp" v-if="appearNote.renote != null">RN:</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -62,29 +62,29 @@
|
||||||
<span>{{ $ts.showMore }}</span>
|
<span>{{ $ts.showMore }}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<MkA v-if="appearNote.channel && !inChannel" class="channel" :to="`/channels/${appearNote.channel.id}`"><Fa :icon="faSatelliteDish"/> {{ appearNote.channel.name }}</MkA>
|
<MkA v-if="appearNote.channel && !inChannel" class="channel" :to="`/channels/${appearNote.channel.id}`"><i class="fas fa-satellite-dish"></i> {{ appearNote.channel.name }}</MkA>
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<XReactionsViewer :note="appearNote" ref="reactionsViewer"/>
|
<XReactionsViewer :note="appearNote" ref="reactionsViewer"/>
|
||||||
<button @click="reply()" class="button _button">
|
<button @click="reply()" class="button _button">
|
||||||
<template v-if="appearNote.reply"><Fa :icon="faReplyAll"/></template>
|
<template v-if="appearNote.reply"><i class="fas fa-reply-all"></i></template>
|
||||||
<template v-else><Fa :icon="faReply"/></template>
|
<template v-else><i class="fas fa-reply"></i></template>
|
||||||
<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p>
|
<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton">
|
<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton">
|
||||||
<Fa :icon="faRetweet"/><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p>
|
<i class="fas fa-retweet"></i><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p>
|
||||||
</button>
|
</button>
|
||||||
<button v-else class="button _button">
|
<button v-else class="button _button">
|
||||||
<Fa :icon="faBan"/>
|
<i class="fas fa-ban"></i>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton">
|
<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton">
|
||||||
<Fa :icon="faPlus"/>
|
<i class="fas fa-plus"></i>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton">
|
<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton">
|
||||||
<Fa :icon="faMinus"/>
|
<i class="fas fa-minus"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="button _button" @click="menu()" ref="menuButton">
|
<button class="button _button" @click="menu()" ref="menuButton">
|
||||||
<Fa :icon="faEllipsisH"/>
|
<i class="fas fa-ellipsis-h"></i>
|
||||||
</button>
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
@ -103,8 +103,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineAsyncComponent, defineComponent, markRaw } from 'vue';
|
import { defineAsyncComponent, defineComponent, markRaw } from 'vue';
|
||||||
import { faSatelliteDish, faBolt, faTimes, faBullhorn, faStar, faLink, faExternalLinkSquareAlt, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faQuoteRight, faInfoCircle, faBiohazard, faPlug, faExclamationCircle, faPaperclip, faShareAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faCopy, faTrashAlt, faEdit, faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import * as mfm from 'mfm-js';
|
import * as mfm from 'mfm-js';
|
||||||
import { sum } from '../../prelude/array';
|
import { sum } from '../../prelude/array';
|
||||||
import XSub from './note.sub.vue';
|
import XSub from './note.sub.vue';
|
||||||
|
@ -125,14 +123,6 @@ import { noteActions, noteViewInterruptors } from '@client/store';
|
||||||
import { reactionPicker } from '@client/scripts/reaction-picker';
|
import { reactionPicker } from '@client/scripts/reaction-picker';
|
||||||
import { extractUrlFromMfm } from '@/misc/extract-url-from-mfm';
|
import { extractUrlFromMfm } from '@/misc/extract-url-from-mfm';
|
||||||
|
|
||||||
function markRawAll(...xs) {
|
|
||||||
for (const x of xs) {
|
|
||||||
markRaw(x);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
markRawAll(faEdit, faBolt, faTimes, faBullhorn, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faBiohazard, faPlug, faSatelliteDish);
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
XSub,
|
XSub,
|
||||||
|
@ -174,7 +164,6 @@ export default defineComponent({
|
||||||
collapsed: false,
|
collapsed: false,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
muted: false,
|
muted: false,
|
||||||
faEdit, faBolt, faTimes, faBullhorn, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faBiohazard, faPlug, faSatelliteDish
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -442,7 +431,7 @@ export default defineComponent({
|
||||||
this.blur();
|
this.blur();
|
||||||
os.modalMenu([{
|
os.modalMenu([{
|
||||||
text: this.$ts.renote,
|
text: this.$ts.renote,
|
||||||
icon: faRetweet,
|
icon: 'fas fa-retweet',
|
||||||
action: () => {
|
action: () => {
|
||||||
os.api('notes/create', {
|
os.api('notes/create', {
|
||||||
renoteId: this.appearNote.id
|
renoteId: this.appearNote.id
|
||||||
|
@ -450,7 +439,7 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
text: this.$ts.quote,
|
text: this.$ts.quote,
|
||||||
icon: faQuoteRight,
|
icon: 'fas fa-quote-right',
|
||||||
action: () => {
|
action: () => {
|
||||||
os.post({
|
os.post({
|
||||||
renote: this.appearNote,
|
renote: this.appearNote,
|
||||||
|
@ -586,62 +575,62 @@ export default defineComponent({
|
||||||
});
|
});
|
||||||
|
|
||||||
menu = [{
|
menu = [{
|
||||||
icon: faCopy,
|
icon: 'fas fa-copy',
|
||||||
text: this.$ts.copyContent,
|
text: this.$ts.copyContent,
|
||||||
action: this.copyContent
|
action: this.copyContent
|
||||||
}, {
|
}, {
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
text: this.$ts.copyLink,
|
text: this.$ts.copyLink,
|
||||||
action: this.copyLink
|
action: this.copyLink
|
||||||
}, (this.appearNote.url || this.appearNote.uri) ? {
|
}, (this.appearNote.url || this.appearNote.uri) ? {
|
||||||
icon: faExternalLinkSquareAlt,
|
icon: 'fas fa-external-link-square-alt',
|
||||||
text: this.$ts.showOnRemote,
|
text: this.$ts.showOnRemote,
|
||||||
action: () => {
|
action: () => {
|
||||||
window.open(this.appearNote.url || this.appearNote.uri, '_blank');
|
window.open(this.appearNote.url || this.appearNote.uri, '_blank');
|
||||||
}
|
}
|
||||||
} : undefined,
|
} : undefined,
|
||||||
{
|
{
|
||||||
icon: faShareAlt,
|
icon: 'fas fa-share-alt',
|
||||||
text: this.$ts.share,
|
text: this.$ts.share,
|
||||||
action: this.share
|
action: this.share
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
statePromise.then(state => state.isFavorited ? {
|
statePromise.then(state => state.isFavorited ? {
|
||||||
icon: faStar,
|
icon: 'fas fa-star',
|
||||||
text: this.$ts.unfavorite,
|
text: this.$ts.unfavorite,
|
||||||
action: () => this.toggleFavorite(false)
|
action: () => this.toggleFavorite(false)
|
||||||
} : {
|
} : {
|
||||||
icon: faStar,
|
icon: 'fas fa-star',
|
||||||
text: this.$ts.favorite,
|
text: this.$ts.favorite,
|
||||||
action: () => this.toggleFavorite(true)
|
action: () => this.toggleFavorite(true)
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
icon: faPaperclip,
|
icon: 'fas fa-paperclip',
|
||||||
text: this.$ts.clip,
|
text: this.$ts.clip,
|
||||||
action: () => this.clip()
|
action: () => this.clip()
|
||||||
},
|
},
|
||||||
(this.appearNote.userId != this.$i.id) ? statePromise.then(state => state.isWatching ? {
|
(this.appearNote.userId != this.$i.id) ? statePromise.then(state => state.isWatching ? {
|
||||||
icon: faEyeSlash,
|
icon: 'fas fa-eye-slash',
|
||||||
text: this.$ts.unwatch,
|
text: this.$ts.unwatch,
|
||||||
action: () => this.toggleWatch(false)
|
action: () => this.toggleWatch(false)
|
||||||
} : {
|
} : {
|
||||||
icon: faEye,
|
icon: 'fas fa-eye',
|
||||||
text: this.$ts.watch,
|
text: this.$ts.watch,
|
||||||
action: () => this.toggleWatch(true)
|
action: () => this.toggleWatch(true)
|
||||||
}) : undefined,
|
}) : undefined,
|
||||||
this.appearNote.userId == this.$i.id ? (this.$i.pinnedNoteIds || []).includes(this.appearNote.id) ? {
|
this.appearNote.userId == this.$i.id ? (this.$i.pinnedNoteIds || []).includes(this.appearNote.id) ? {
|
||||||
icon: faThumbtack,
|
icon: 'fas fa-thumbtack',
|
||||||
text: this.$ts.unpin,
|
text: this.$ts.unpin,
|
||||||
action: () => this.togglePin(false)
|
action: () => this.togglePin(false)
|
||||||
} : {
|
} : {
|
||||||
icon: faThumbtack,
|
icon: 'fas fa-thumbtack',
|
||||||
text: this.$ts.pin,
|
text: this.$ts.pin,
|
||||||
action: () => this.togglePin(true)
|
action: () => this.togglePin(true)
|
||||||
} : undefined,
|
} : undefined,
|
||||||
...(this.$i.isModerator || this.$i.isAdmin ? [
|
...(this.$i.isModerator || this.$i.isAdmin ? [
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
icon: faBullhorn,
|
icon: 'fas fa-bullhorn',
|
||||||
text: this.$ts.promote,
|
text: this.$ts.promote,
|
||||||
action: this.promote
|
action: this.promote
|
||||||
}]
|
}]
|
||||||
|
@ -650,7 +639,7 @@ export default defineComponent({
|
||||||
...(this.appearNote.userId != this.$i.id ? [
|
...(this.appearNote.userId != this.$i.id ? [
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
icon: faExclamationCircle,
|
icon: 'fas fa-exclamation-circle',
|
||||||
text: this.$ts.reportAbuse,
|
text: this.$ts.reportAbuse,
|
||||||
action: () => {
|
action: () => {
|
||||||
const u = `${url}/notes/${this.appearNote.id}`;
|
const u = `${url}/notes/${this.appearNote.id}`;
|
||||||
|
@ -665,12 +654,12 @@ export default defineComponent({
|
||||||
...(this.appearNote.userId == this.$i.id || this.$i.isModerator || this.$i.isAdmin ? [
|
...(this.appearNote.userId == this.$i.id || this.$i.isModerator || this.$i.isAdmin ? [
|
||||||
null,
|
null,
|
||||||
this.appearNote.userId == this.$i.id ? {
|
this.appearNote.userId == this.$i.id ? {
|
||||||
icon: faEdit,
|
icon: 'fas fa-edit',
|
||||||
text: this.$ts.deleteAndEdit,
|
text: this.$ts.deleteAndEdit,
|
||||||
action: this.delEdit
|
action: this.delEdit
|
||||||
} : undefined,
|
} : undefined,
|
||||||
{
|
{
|
||||||
icon: faTrashAlt,
|
icon: 'fas fa-trash-alt',
|
||||||
text: this.$ts.delete,
|
text: this.$ts.delete,
|
||||||
danger: true,
|
danger: true,
|
||||||
action: this.del
|
action: this.del
|
||||||
|
@ -680,15 +669,15 @@ export default defineComponent({
|
||||||
.filter(x => x !== undefined);
|
.filter(x => x !== undefined);
|
||||||
} else {
|
} else {
|
||||||
menu = [{
|
menu = [{
|
||||||
icon: faCopy,
|
icon: 'fas fa-copy',
|
||||||
text: this.$ts.copyContent,
|
text: this.$ts.copyContent,
|
||||||
action: this.copyContent
|
action: this.copyContent
|
||||||
}, {
|
}, {
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
text: this.$ts.copyLink,
|
text: this.$ts.copyLink,
|
||||||
action: this.copyLink
|
action: this.copyLink
|
||||||
}, (this.appearNote.url || this.appearNote.uri) ? {
|
}, (this.appearNote.url || this.appearNote.uri) ? {
|
||||||
icon: faExternalLinkSquareAlt,
|
icon: 'fas fa-external-link-square-alt',
|
||||||
text: this.$ts.showOnRemote,
|
text: this.$ts.showOnRemote,
|
||||||
action: () => {
|
action: () => {
|
||||||
window.open(this.appearNote.url || this.appearNote.uri, '_blank');
|
window.open(this.appearNote.url || this.appearNote.uri, '_blank');
|
||||||
|
@ -699,7 +688,7 @@ export default defineComponent({
|
||||||
|
|
||||||
if (noteActions.length > 0) {
|
if (noteActions.length > 0) {
|
||||||
menu = menu.concat([null, ...noteActions.map(action => ({
|
menu = menu.concat([null, ...noteActions.map(action => ({
|
||||||
icon: faPlug,
|
icon: 'fas fa-plug',
|
||||||
text: action.title,
|
text: action.title,
|
||||||
action: () => {
|
action: () => {
|
||||||
action.handler(this.appearNote);
|
action.handler(this.appearNote);
|
||||||
|
@ -738,7 +727,7 @@ export default defineComponent({
|
||||||
if (!this.isMyRenote) return;
|
if (!this.isMyRenote) return;
|
||||||
os.modalMenu([{
|
os.modalMenu([{
|
||||||
text: this.$ts.unrenote,
|
text: this.$ts.unrenote,
|
||||||
icon: faTrashAlt,
|
icon: 'fas fa-trash-alt',
|
||||||
danger: true,
|
danger: true,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.api('notes/delete', {
|
os.api('notes/delete', {
|
||||||
|
@ -781,7 +770,7 @@ export default defineComponent({
|
||||||
async clip() {
|
async clip() {
|
||||||
const clips = await os.api('clips/list');
|
const clips = await os.api('clips/list');
|
||||||
os.modalMenu([{
|
os.modalMenu([{
|
||||||
icon: faPlus,
|
icon: 'fas fa-plus',
|
||||||
text: this.$ts.createNew,
|
text: this.$ts.createNew,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const { canceled, result } = await os.form(this.$ts.createNewClip, {
|
const { canceled, result } = await os.form(this.$ts.createNewClip, {
|
||||||
|
@ -909,7 +898,7 @@ export default defineComponent({
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
color: #d28a3f;
|
color: #d28a3f;
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -945,7 +934,7 @@ export default defineComponent({
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,15 @@
|
||||||
<MkAvatar v-if="notification.user" class="icon" :user="notification.user"/>
|
<MkAvatar v-if="notification.user" class="icon" :user="notification.user"/>
|
||||||
<img v-else-if="notification.icon" class="icon" :src="notification.icon" alt=""/>
|
<img v-else-if="notification.icon" class="icon" :src="notification.icon" alt=""/>
|
||||||
<div class="sub-icon" :class="notification.type">
|
<div class="sub-icon" :class="notification.type">
|
||||||
<Fa :icon="faPlus" v-if="notification.type === 'follow'"/>
|
<i v-if="notification.type === 'follow'" class="fas fa-plus"></i>
|
||||||
<Fa :icon="faClock" v-else-if="notification.type === 'receiveFollowRequest'"/>
|
<i v-else-if="notification.type === 'receiveFollowRequest'" class="fas fa-clock"></i>
|
||||||
<Fa :icon="faCheck" v-else-if="notification.type === 'followRequestAccepted'"/>
|
<i v-else-if="notification.type === 'followRequestAccepted'" class="fas fa-check"></i>
|
||||||
<Fa :icon="faIdCardAlt" v-else-if="notification.type === 'groupInvited'"/>
|
<i v-else-if="notification.type === 'groupInvited'" class="fas fa-id-card-alt"></i>
|
||||||
<Fa :icon="faRetweet" v-else-if="notification.type === 'renote'"/>
|
<i v-else-if="notification.type === 'renote'" class="fas fa-retweet"></i>
|
||||||
<Fa :icon="faReply" v-else-if="notification.type === 'reply'"/>
|
<i v-else-if="notification.type === 'reply'" class="fas fa-reply"></i>
|
||||||
<Fa :icon="faAt" v-else-if="notification.type === 'mention'"/>
|
<i v-else-if="notification.type === 'mention'" class="fas fa-at"></i>
|
||||||
<Fa :icon="faQuoteLeft" v-else-if="notification.type === 'quote'"/>
|
<i v-else-if="notification.type === 'quote'" class="fas fa-quote-left"></i>
|
||||||
<Fa :icon="faPollH" v-else-if="notification.type === 'pollVote'"/>
|
<i v-else-if="notification.type === 'pollVote'" class="fas fa-poll-h"></i>
|
||||||
<XReactionIcon v-else-if="notification.type === 'reaction'" :reaction="notification.reaction" :custom-emojis="notification.note.emojis" :no-style="true"/>
|
<XReactionIcon v-else-if="notification.type === 'reaction'" :reaction="notification.reaction" :custom-emojis="notification.note.emojis" :no-style="true"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -23,14 +23,14 @@
|
||||||
<MkTime :time="notification.createdAt" v-if="withTime" class="time"/>
|
<MkTime :time="notification.createdAt" v-if="withTime" class="time"/>
|
||||||
</header>
|
</header>
|
||||||
<MkA v-if="notification.type === 'reaction'" class="text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note)">
|
<MkA v-if="notification.type === 'reaction'" class="text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note)">
|
||||||
<Fa :icon="faQuoteLeft"/>
|
<i class="fas fa-quote-left"></i>
|
||||||
<Mfm :text="getNoteSummary(notification.note)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.emojis"/>
|
<Mfm :text="getNoteSummary(notification.note)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.emojis"/>
|
||||||
<Fa :icon="faQuoteRight"/>
|
<i class="fas fa-quote-right"></i>
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA v-if="notification.type === 'renote'" class="text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note.renote)">
|
<MkA v-if="notification.type === 'renote'" class="text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note.renote)">
|
||||||
<Fa :icon="faQuoteLeft"/>
|
<i class="fas fa-quote-left"></i>
|
||||||
<Mfm :text="getNoteSummary(notification.note.renote)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.renote.emojis"/>
|
<Mfm :text="getNoteSummary(notification.note.renote)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.renote.emojis"/>
|
||||||
<Fa :icon="faQuoteRight"/>
|
<i class="fas fa-quote-right"></i>
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA v-if="notification.type === 'reply'" class="text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note)">
|
<MkA v-if="notification.type === 'reply'" class="text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note)">
|
||||||
<Mfm :text="getNoteSummary(notification.note)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.emojis"/>
|
<Mfm :text="getNoteSummary(notification.note)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.emojis"/>
|
||||||
|
@ -42,9 +42,9 @@
|
||||||
<Mfm :text="getNoteSummary(notification.note)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.emojis"/>
|
<Mfm :text="getNoteSummary(notification.note)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.emojis"/>
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA v-if="notification.type === 'pollVote'" class="text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note)">
|
<MkA v-if="notification.type === 'pollVote'" class="text" :to="notePage(notification.note)" :title="getNoteSummary(notification.note)">
|
||||||
<Fa :icon="faQuoteLeft"/>
|
<i class="fas fa-quote-left"></i>
|
||||||
<Mfm :text="getNoteSummary(notification.note)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.emojis"/>
|
<Mfm :text="getNoteSummary(notification.note)" :plain="true" :nowrap="!full" :custom-emojis="notification.note.emojis"/>
|
||||||
<Fa :icon="faQuoteRight"/>
|
<i class="fas fa-quote-right"></i>
|
||||||
</MkA>
|
</MkA>
|
||||||
<span v-if="notification.type === 'follow'" class="text" style="opacity: 0.6;">{{ $ts.youGotNewFollower }}<div v-if="full"><MkFollowButton :user="notification.user" :full="true"/></div></span>
|
<span v-if="notification.type === 'follow'" class="text" style="opacity: 0.6;">{{ $ts.youGotNewFollower }}<div v-if="full"><MkFollowButton :user="notification.user" :full="true"/></div></span>
|
||||||
<span v-if="notification.type === 'followRequestAccepted'" class="text" style="opacity: 0.6;">{{ $ts.followRequestAccepted }}</span>
|
<span v-if="notification.type === 'followRequestAccepted'" class="text" style="opacity: 0.6;">{{ $ts.followRequestAccepted }}</span>
|
||||||
|
@ -59,8 +59,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faIdCardAlt, faPlus, faQuoteLeft, faQuoteRight, faRetweet, faReply, faAt, faCheck, faPollH } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faClock } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import { getNoteSummary } from '@/misc/get-note-summary';
|
import { getNoteSummary } from '@/misc/get-note-summary';
|
||||||
import XReactionIcon from './reaction-icon.vue';
|
import XReactionIcon from './reaction-icon.vue';
|
||||||
import MkFollowButton from './follow-button.vue';
|
import MkFollowButton from './follow-button.vue';
|
||||||
|
@ -95,7 +93,6 @@ export default defineComponent({
|
||||||
followRequestDone: false,
|
followRequestDone: false,
|
||||||
groupInviteDone: false,
|
groupInviteDone: false,
|
||||||
readObserver: null as IntersectionObserver | null,
|
readObserver: null as IntersectionObserver | null,
|
||||||
faIdCardAlt, faPlus, faQuoteLeft, faQuoteRight, faRetweet, faReply, faAt, faClock, faCheck, faPollH
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -276,17 +273,17 @@ export default defineComponent({
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
vertical-align: super;
|
vertical-align: super;
|
||||||
font-size: 50%;
|
font-size: 50%;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
> [data-icon]:first-child {
|
> i:first-child {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> [data-icon]:last-child {
|
> i:last-child {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
<p class="mfcuwfyp" v-else-if="empty">{{ $ts.noNotifications }}</p>
|
<p class="mfcuwfyp" v-else-if="empty">{{ $ts.noNotifications }}</p>
|
||||||
|
|
||||||
<div v-else class="_magnetParent">
|
<div v-else>
|
||||||
<XList class="notifications _magnetChild" :items="items" v-slot="{ item: notification }" :no-gap="true">
|
<XList class="notifications" :items="items" v-slot="{ item: notification }" :no-gap="true">
|
||||||
<XNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :note="notification.note" @update:note="noteUpdated(notification.note, $event)" :key="notification.id"/>
|
<XNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :note="notification.note" @update:note="noteUpdated(notification.note, $event)" :key="notification.id"/>
|
||||||
<XNotification v-else :notification="notification" :with-time="true" :full="true" class="_panel notification" :key="notification.id"/>
|
<XNotification v-else :notification="notification" :with-time="true" :full="true" class="_panel notification" :key="notification.id"/>
|
||||||
</XList>
|
</XList>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<XHeader :info="pageInfo" :with-back="false"/>
|
<XHeader :info="pageInfo" :with-back="false"/>
|
||||||
</template>
|
</template>
|
||||||
<template #buttons>
|
<template #buttons>
|
||||||
<button class="_button" @click="back()" v-if="history.length > 0"><Fa :icon="faChevronLeft"/></button>
|
<button class="_button" @click="back()" v-if="history.length > 0"><i class="fas fa-chevron-left"></i></button>
|
||||||
<button class="_button" style="pointer-events: none;" v-else><!-- マージンのバランスを取るためのダミー --></button>
|
<button class="_button" style="pointer-events: none;" v-else><!-- マージンのバランスを取るためのダミー --></button>
|
||||||
</template>
|
</template>
|
||||||
<div class="yrolvcoq _flat_">
|
<div class="yrolvcoq _flat_">
|
||||||
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExternalLinkAlt, faExpandAlt, faLink, faChevronLeft, faColumns } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import XWindow from '@client/components/ui/window.vue';
|
import XWindow from '@client/components/ui/window.vue';
|
||||||
import XHeader from '@client/ui/_common_/header.vue';
|
import XHeader from '@client/ui/_common_/header.vue';
|
||||||
import { popout } from '@client/scripts/popout';
|
import { popout } from '@client/scripts/popout';
|
||||||
|
@ -76,7 +75,6 @@ export default defineComponent({
|
||||||
component: this.initialComponent,
|
component: this.initialComponent,
|
||||||
props: this.initialProps,
|
props: this.initialProps,
|
||||||
history: [],
|
history: [],
|
||||||
faChevronLeft,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -90,29 +88,29 @@ export default defineComponent({
|
||||||
type: 'label',
|
type: 'label',
|
||||||
text: this.path,
|
text: this.path,
|
||||||
}, {
|
}, {
|
||||||
icon: faExpandAlt,
|
icon: 'fas fa-expand-alt',
|
||||||
text: this.$ts.showInPage,
|
text: this.$ts.showInPage,
|
||||||
action: this.expand
|
action: this.expand
|
||||||
}, this.sideViewHook ? {
|
}, this.sideViewHook ? {
|
||||||
icon: faColumns,
|
icon: 'fas fa-columns',
|
||||||
text: this.$ts.openInSideView,
|
text: this.$ts.openInSideView,
|
||||||
action: () => {
|
action: () => {
|
||||||
this.sideViewHook(this.path);
|
this.sideViewHook(this.path);
|
||||||
this.$refs.window.close();
|
this.$refs.window.close();
|
||||||
}
|
}
|
||||||
} : undefined, {
|
} : undefined, {
|
||||||
icon: faExternalLinkAlt,
|
icon: 'fas fa-external-link-alt',
|
||||||
text: this.$ts.popout,
|
text: this.$ts.popout,
|
||||||
action: this.popout
|
action: this.popout
|
||||||
}, null, {
|
}, null, {
|
||||||
icon: faExternalLinkAlt,
|
icon: 'fas fa-external-link-alt',
|
||||||
text: this.$ts.openInNewTab,
|
text: this.$ts.openInNewTab,
|
||||||
action: () => {
|
action: () => {
|
||||||
window.open(this.url, '_blank');
|
window.open(this.url, '_blank');
|
||||||
this.$refs.window.close();
|
this.$refs.window.close();
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
icon: faLink,
|
icon: 'fas fa-link',
|
||||||
text: this.$ts.copyLink,
|
text: this.$ts.copyLink,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(this.url);
|
copyToClipboard(this.url);
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="ngbfujlo">
|
<div class="ngbfujlo">
|
||||||
<MkTextarea :value="text" readonly style="margin: 0;"></MkTextarea>
|
<MkTextarea :value="text" readonly style="margin: 0;"></MkTextarea>
|
||||||
<MkButton class="button" primary @click="post()" :disabled="posting || posted"><Fa v-if="posted" :icon="faCheck"/><Fa v-else :icon="faPaperPlane"/></MkButton>
|
<MkButton class="button" primary @click="post()" :disabled="posting || posted">
|
||||||
|
<i v-if="posted" class="fas fa-check"></i>
|
||||||
|
<i v-else class="fas fa-paper-plane"></i>
|
||||||
|
</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, PropType } from 'vue';
|
import { defineComponent, PropType } from 'vue';
|
||||||
import { faCheck, faPaperPlane } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkTextarea from '../ui/textarea.vue';
|
import MkTextarea from '../ui/textarea.vue';
|
||||||
import MkButton from '../ui/button.vue';
|
import MkButton from '../ui/button.vue';
|
||||||
import { apiUrl } from '@client/config';
|
import { apiUrl } from '@client/config';
|
||||||
|
@ -35,7 +37,6 @@ export default defineComponent({
|
||||||
text: this.hpml.interpolate(this.block.text),
|
text: this.hpml.interpolate(this.block.text),
|
||||||
posted: false,
|
posted: false,
|
||||||
posting: false,
|
posting: false,
|
||||||
faCheck, faPaperPlane
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="zmdxowus">
|
<div class="zmdxowus">
|
||||||
<p class="caution" v-if="choices.length < 2">
|
<p class="caution" v-if="choices.length < 2">
|
||||||
<Fa :icon="faExclamationTriangle"/>{{ $ts._poll.noOnlyOneChoice }}
|
<i class="fas fa-exclamation-triangle"></i>{{ $ts._poll.noOnlyOneChoice }}
|
||||||
</p>
|
</p>
|
||||||
<ul ref="choices">
|
<ul ref="choices">
|
||||||
<li v-for="(choice, i) in choices" :key="i">
|
<li v-for="(choice, i) in choices" :key="i">
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
<span>{{ $t('_poll.choiceN', { n: i + 1 }) }}</span>
|
<span>{{ $t('_poll.choiceN', { n: i + 1 }) }}</span>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<button @click="remove(i)" class="_button">
|
<button @click="remove(i)" class="_button">
|
||||||
<Fa :icon="faTimes"/>
|
<i class="fas fa-times"></i>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -50,7 +50,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExclamationTriangle, faTimes } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { addTime } from '../../prelude/time';
|
import { addTime } from '../../prelude/time';
|
||||||
import { formatDateTimeString } from '@/misc/format-time-string';
|
import { formatDateTimeString } from '@/misc/format-time-string';
|
||||||
import MkInput from './ui/input.vue';
|
import MkInput from './ui/input.vue';
|
||||||
|
@ -84,7 +83,6 @@ export default defineComponent({
|
||||||
atTime: '00:00',
|
atTime: '00:00',
|
||||||
after: 0,
|
after: 0,
|
||||||
unit: 'second',
|
unit: 'second',
|
||||||
faExclamationTriangle, faTimes
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -190,7 +188,7 @@ export default defineComponent({
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
color: #f00;
|
color: #f00;
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<li v-for="(choice, i) in poll.choices" :key="i" @click="vote(i)" :class="{ voted: choice.voted }">
|
<li v-for="(choice, i) in poll.choices" :key="i" @click="vote(i)" :class="{ voted: choice.voted }">
|
||||||
<div class="backdrop" :style="{ 'width': `${showResult ? (choice.votes / total * 100) : 0}%` }"></div>
|
<div class="backdrop" :style="{ 'width': `${showResult ? (choice.votes / total * 100) : 0}%` }"></div>
|
||||||
<span>
|
<span>
|
||||||
<template v-if="choice.isVoted"><Fa :icon="faCheck"/></template>
|
<template v-if="choice.isVoted"><i class="fas fa-check"></i></template>
|
||||||
<Mfm :text="choice.text" :plain="true" :custom-emojis="note.emojis"/>
|
<Mfm :text="choice.text" :plain="true" :custom-emojis="note.emojis"/>
|
||||||
<span class="votes" v-if="showResult">({{ $t('_poll.votesCount', { n: choice.votes }) }})</span>
|
<span class="votes" v-if="showResult">({{ $t('_poll.votesCount', { n: choice.votes }) }})</span>
|
||||||
</span>
|
</span>
|
||||||
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faCheck } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { sum } from '../../prelude/array';
|
import { sum } from '../../prelude/array';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
|
@ -38,7 +37,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
remaining: -1,
|
remaining: -1,
|
||||||
showResult: false,
|
showResult: false,
|
||||||
faCheck
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -135,7 +133,7 @@ export default defineComponent({
|
||||||
> span {
|
> span {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div @click="showFileMenu(element, $event)" @contextmenu.prevent="showFileMenu(element, $event)">
|
<div @click="showFileMenu(element, $event)" @contextmenu.prevent="showFileMenu(element, $event)">
|
||||||
<MkDriveFileThumbnail :data-id="element.id" class="thumbnail" :file="element" fit="cover"/>
|
<MkDriveFileThumbnail :data-id="element.id" class="thumbnail" :file="element" fit="cover"/>
|
||||||
<div class="sensitive" v-if="element.isSensitive">
|
<div class="sensitive" v-if="element.isSensitive">
|
||||||
<Fa class="icon" :icon="faExclamationTriangle"/>
|
<i class="fas fa-exclamation-triangle icon"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, defineAsyncComponent } from 'vue';
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
||||||
import { faTimesCircle, faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import { faExclamationTriangle, faICursor } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkDriveFileThumbnail from './drive-file-thumbnail.vue'
|
import MkDriveFileThumbnail from './drive-file-thumbnail.vue'
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
|
@ -44,7 +42,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
menu: null as Promise<null> | null,
|
menu: null as Promise<null> | null,
|
||||||
|
|
||||||
faExclamationTriangle
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -100,11 +97,11 @@ export default defineComponent({
|
||||||
action: () => { this.rename(file) }
|
action: () => { this.rename(file) }
|
||||||
}, {
|
}, {
|
||||||
text: file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
|
text: file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
|
||||||
icon: file.isSensitive ? faEyeSlash : faEye,
|
icon: file.isSensitive ? 'fas fa-eye-slash' : 'fas fa-eye',
|
||||||
action: () => { this.toggleSensitive(file) }
|
action: () => { this.toggleSensitive(file) }
|
||||||
}, {
|
}, {
|
||||||
text: this.$ts.attachCancel,
|
text: this.$ts.attachCancel,
|
||||||
icon: faTimesCircle,
|
icon: 'fas fa-times-circle',
|
||||||
action: () => { this.detachMedia(file.id) }
|
action: () => { this.detachMedia(file.id) }
|
||||||
}], ev.currentTarget || ev.target).then(() => this.menu = null);
|
}], ev.currentTarget || ev.target).then(() => this.menu = null);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,31 +7,31 @@
|
||||||
@drop.stop="onDrop"
|
@drop.stop="onDrop"
|
||||||
>
|
>
|
||||||
<header>
|
<header>
|
||||||
<button v-if="!fixed" class="cancel _button" @click="cancel"><Fa :icon="faTimes"/></button>
|
<button v-if="!fixed" class="cancel _button" @click="cancel"><i class="fas fa-times"></i></button>
|
||||||
<div>
|
<div>
|
||||||
<span class="text-count" :class="{ over: textLength > max }">{{ max - textLength }}</span>
|
<span class="text-count" :class="{ over: textLength > max }">{{ max - textLength }}</span>
|
||||||
<span class="local-only" v-if="localOnly"><Fa :icon="faBiohazard"/></span>
|
<span class="local-only" v-if="localOnly"><i class="fas fa-biohazard"></i></span>
|
||||||
<button class="_button visibility" @click="setVisibility" ref="visibilityButton" v-tooltip="$ts.visibility" :disabled="channel != null">
|
<button class="_button visibility" @click="setVisibility" ref="visibilityButton" v-tooltip="$ts.visibility" :disabled="channel != null">
|
||||||
<span v-if="visibility === 'public'"><Fa :icon="faGlobe"/></span>
|
<span v-if="visibility === 'public'"><i class="fas fa-globe"></i></span>
|
||||||
<span v-if="visibility === 'home'"><Fa :icon="faHome"/></span>
|
<span v-if="visibility === 'home'"><i class="fas fa-home"></i></span>
|
||||||
<span v-if="visibility === 'followers'"><Fa :icon="faUnlock"/></span>
|
<span v-if="visibility === 'followers'"><i class="fas fa-unlock"></i></span>
|
||||||
<span v-if="visibility === 'specified'"><Fa :icon="faEnvelope"/></span>
|
<span v-if="visibility === 'specified'"><i class="fas fa-envelope"></i></span>
|
||||||
</button>
|
</button>
|
||||||
<button class="submit _buttonPrimary" :disabled="!canPost" @click="post">{{ submitText }}<Fa :icon="reply ? faReply : renote ? faQuoteRight : faPaperPlane"/></button>
|
<button class="submit _buttonPrimary" :disabled="!canPost" @click="post">{{ submitText }}<i :class="reply ? 'fas fa-reply' : renote ? 'fas fa-quote-right' : 'fas fa-paper-plane'"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="form" :class="{ fixed }">
|
<div class="form" :class="{ fixed }">
|
||||||
<XNotePreview class="preview" v-if="reply" :note="reply"/>
|
<XNotePreview class="preview" v-if="reply" :note="reply"/>
|
||||||
<XNotePreview class="preview" v-if="renote" :note="renote"/>
|
<XNotePreview class="preview" v-if="renote" :note="renote"/>
|
||||||
<div class="with-quote" v-if="quoteId"><Fa icon="quote-left"/> {{ $ts.quoteAttached }}<button @click="quoteId = null"><Fa icon="times"/></button></div>
|
<div class="with-quote" v-if="quoteId"><i class="fas fa-quote-left"></i> {{ $ts.quoteAttached }}<button @click="quoteId = null"><i class="fas fa-times"></i></button></div>
|
||||||
<div v-if="visibility === 'specified'" class="to-specified">
|
<div v-if="visibility === 'specified'" class="to-specified">
|
||||||
<span style="margin-right: 8px;">{{ $ts.recipient }}</span>
|
<span style="margin-right: 8px;">{{ $ts.recipient }}</span>
|
||||||
<div class="visibleUsers">
|
<div class="visibleUsers">
|
||||||
<span v-for="u in visibleUsers" :key="u.id">
|
<span v-for="u in visibleUsers" :key="u.id">
|
||||||
<MkAcct :user="u"/>
|
<MkAcct :user="u"/>
|
||||||
<button class="_button" @click="removeVisibleUser(u)"><Fa :icon="faTimes"/></button>
|
<button class="_button" @click="removeVisibleUser(u)"><i class="fas fa-times"></i></button>
|
||||||
</span>
|
</span>
|
||||||
<button @click="addVisibleUser" class="_buttonPrimary"><Fa :icon="faPlus" fixed-width/></button>
|
<button @click="addVisibleUser" class="_buttonPrimary"><i class="fas fa-plus fa-fw"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<MkInfo warn v-if="hasNotSpecifiedMentions" class="hasNotSpecifiedMentions">{{ $ts.notSpecifiedMentionWarning }} - <button class="_textButton" @click="addMissingMention()">{{ $ts.add }}</button></MkInfo>
|
<MkInfo warn v-if="hasNotSpecifiedMentions" class="hasNotSpecifiedMentions">{{ $ts.notSpecifiedMentionWarning }} - <button class="_textButton" @click="addMissingMention()">{{ $ts.add }}</button></MkInfo>
|
||||||
|
@ -40,12 +40,12 @@
|
||||||
<XPostFormAttaches class="attaches" :files="files" @updated="updateFiles" @detach="detachFile" @changeSensitive="updateFileSensitive" @changeName="updateFileName"/>
|
<XPostFormAttaches class="attaches" :files="files" @updated="updateFiles" @detach="detachFile" @changeSensitive="updateFileSensitive" @changeName="updateFileName"/>
|
||||||
<XPollEditor v-if="poll" :poll="poll" @destroyed="poll = null" @updated="onPollUpdate"/>
|
<XPollEditor v-if="poll" :poll="poll" @destroyed="poll = null" @updated="onPollUpdate"/>
|
||||||
<footer>
|
<footer>
|
||||||
<button class="_button" @click="chooseFileFrom" v-tooltip="$ts.attachFile"><Fa :icon="faPhotoVideo"/></button>
|
<button class="_button" @click="chooseFileFrom" v-tooltip="$ts.attachFile"><i class="fas fa-photo-video"></i></button>
|
||||||
<button class="_button" @click="togglePoll" :class="{ active: poll }" v-tooltip="$ts.poll"><Fa :icon="faPollH"/></button>
|
<button class="_button" @click="togglePoll" :class="{ active: poll }" v-tooltip="$ts.poll"><i class="fas fa-poll-h"></i></button>
|
||||||
<button class="_button" @click="useCw = !useCw" :class="{ active: useCw }" v-tooltip="$ts.useCw"><Fa :icon="faEyeSlash"/></button>
|
<button class="_button" @click="useCw = !useCw" :class="{ active: useCw }" v-tooltip="$ts.useCw"><i class="fas fa-eye-slash"></i></button>
|
||||||
<button class="_button" @click="insertMention" v-tooltip="$ts.mention"><Fa :icon="faAt"/></button>
|
<button class="_button" @click="insertMention" v-tooltip="$ts.mention"><i class="fas fa-at"></i></button>
|
||||||
<button class="_button" @click="insertEmoji" v-tooltip="$ts.emoji"><Fa :icon="faLaughSquint"/></button>
|
<button class="_button" @click="insertEmoji" v-tooltip="$ts.emoji"><i class="fas fa-laugh-squint"></i></button>
|
||||||
<button class="_button" @click="showActions" v-tooltip="$ts.plugin" v-if="postFormActions.length > 0"><Fa :icon="faPlug"/></button>
|
<button class="_button" @click="showActions" v-tooltip="$ts.plugin" v-if="postFormActions.length > 0"><i class="fas fa-plug"></i></button>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -53,8 +53,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, defineAsyncComponent } from 'vue';
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
||||||
import { faReply, faQuoteRight, faPaperPlane, faTimes, faUpload, faPollH, faGlobe, faHome, faUnlock, faEnvelope, faPlus, faPhotoVideo, faAt, faBiohazard, faPlug } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faEyeSlash, faLaughSquint } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import insertTextAtCursor from 'insert-text-at-cursor';
|
import insertTextAtCursor from 'insert-text-at-cursor';
|
||||||
import { length } from 'stringz';
|
import { length } from 'stringz';
|
||||||
import { toASCII } from 'punycode/';
|
import { toASCII } from 'punycode/';
|
||||||
|
@ -171,7 +169,6 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
postFormActions,
|
postFormActions,
|
||||||
faReply, faQuoteRight, faPaperPlane, faTimes, faUpload, faPollH, faGlobe, faHome, faUnlock, faEnvelope, faEyeSlash, faLaughSquint, faPlus, faPhotoVideo, faAt, faBiohazard, faPlug
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -750,7 +747,7 @@ export default defineComponent({
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="jmgmzlwq _block"><Fa :icon="faExclamationTriangle" style="margin-right: 8px;"/>{{ $ts.remoteUserCaution }}<a :href="href" rel="nofollow noopener" target="_blank">{{ $ts.showOnRemote }}</a></div>
|
<div class="jmgmzlwq _block"><i class="fas fa-exclamation-triangle" style="margin-right: 8px;"></i>{{ $ts.remoteUserCaution }}<a :href="href" rel="nofollow noopener" target="_blank">{{ $ts.showOnRemote }}</a></div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -16,7 +15,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faExclamationTriangle
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<MkInput v-model:value="password" type="password" :with-password-toggle="true" v-if="!user || user && !user.usePasswordLessLogin" required>
|
<MkInput v-model:value="password" type="password" :with-password-toggle="true" v-if="!user || user && !user.usePasswordLessLogin" required>
|
||||||
<span>{{ $ts.password }}</span>
|
<span>{{ $ts.password }}</span>
|
||||||
<template #prefix><Fa :icon="faLock"/></template>
|
<template #prefix><i class="fas fa-lock"></i></template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<MkButton type="submit" primary :disabled="signing" style="margin: 0 auto;">{{ signing ? $ts.loggingIn : $ts.login }}</MkButton>
|
<MkButton type="submit" primary :disabled="signing" style="margin: 0 auto;">{{ signing ? $ts.loggingIn : $ts.login }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,20 +28,20 @@
|
||||||
<p style="margin-bottom:0;">{{ $ts.twoStepAuthentication }}</p>
|
<p style="margin-bottom:0;">{{ $ts.twoStepAuthentication }}</p>
|
||||||
<MkInput v-model:value="password" type="password" :with-password-toggle="true" v-if="user && user.usePasswordLessLogin" required>
|
<MkInput v-model:value="password" type="password" :with-password-toggle="true" v-if="user && user.usePasswordLessLogin" required>
|
||||||
<span>{{ $ts.password }}</span>
|
<span>{{ $ts.password }}</span>
|
||||||
<template #prefix><Fa :icon="faLock"/></template>
|
<template #prefix><i class="fas fa-lock"></i></template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<MkInput v-model:value="token" type="text" pattern="^[0-9]{6}$" autocomplete="off" spellcheck="false" required>
|
<MkInput v-model:value="token" type="text" pattern="^[0-9]{6}$" autocomplete="off" spellcheck="false" required>
|
||||||
<span>{{ $ts.token }}</span>
|
<span>{{ $ts.token }}</span>
|
||||||
<template #prefix><Fa :icon="faGavel"/></template>
|
<template #prefix><i class="fas fa-gavel"></i></template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<MkButton type="submit" :disabled="signing" primary style="margin: 0 auto;">{{ signing ? $ts.loggingIn : $ts.login }}</MkButton>
|
<MkButton type="submit" :disabled="signing" primary style="margin: 0 auto;">{{ signing ? $ts.loggingIn : $ts.login }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="social _section">
|
<div class="social _section">
|
||||||
<a class="_borderButton _gap" v-if="meta && meta.enableTwitterIntegration" :href="`${apiUrl}/signin/twitter`"><Fa :icon="faTwitter" style="margin-right: 4px;"/>{{ $t('signinWith', { x: 'Twitter' }) }}</a>
|
<a class="_borderButton _gap" v-if="meta && meta.enableTwitterIntegration" :href="`${apiUrl}/signin/twitter`"><i class="fab fa-twitter" style="margin-right: 4px;"></i>{{ $t('signinWith', { x: 'Twitter' }) }}</a>
|
||||||
<a class="_borderButton _gap" v-if="meta && meta.enableGithubIntegration" :href="`${apiUrl}/signin/github`"><Fa :icon="faGithub" style="margin-right: 4px;"/>{{ $t('signinWith', { x: 'GitHub' }) }}</a>
|
<a class="_borderButton _gap" v-if="meta && meta.enableGithubIntegration" :href="`${apiUrl}/signin/github`"><i class="fab fa-github" style="margin-right: 4px;"></i>{{ $t('signinWith', { x: 'GitHub' }) }}</a>
|
||||||
<a class="_borderButton _gap" v-if="meta && meta.enableDiscordIntegration" :href="`${apiUrl}/signin/discord`"><Fa :icon="faDiscord" style="margin-right: 4px;"/>{{ $t('signinWith', { x: 'Discord' }) }}</a>
|
<a class="_borderButton _gap" v-if="meta && meta.enableDiscordIntegration" :href="`${apiUrl}/signin/discord`"><i class="fab fa-discord" style="margin-right: 4px;"></i>{{ $t('signinWith', { x: 'Discord' }) }}</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
||||||
|
@ -49,8 +49,6 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { toUnicode } from 'punycode/';
|
import { toUnicode } from 'punycode/';
|
||||||
import { faLock, faGavel } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faTwitter, faDiscord, faGithub } from '@fortawesome/free-brands-svg-icons';
|
|
||||||
import MkButton from './ui/button.vue';
|
import MkButton from './ui/button.vue';
|
||||||
import MkInput from './ui/input.vue';
|
import MkInput from './ui/input.vue';
|
||||||
import { apiUrl, host } from '@client/config';
|
import { apiUrl, host } from '@client/config';
|
||||||
|
@ -92,7 +90,6 @@ export default defineComponent({
|
||||||
credential: null,
|
credential: null,
|
||||||
challengeData: null,
|
challengeData: null,
|
||||||
queryingKey: false,
|
queryingKey: false,
|
||||||
faLock, faGavel, faTwitter, faDiscord, faGithub
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -3,37 +3,37 @@
|
||||||
<template v-if="meta">
|
<template v-if="meta">
|
||||||
<MkInput v-if="meta.disableRegistration" v-model:value="invitationCode" type="text" :autocomplete="Math.random()" spellcheck="false" required>
|
<MkInput v-if="meta.disableRegistration" v-model:value="invitationCode" type="text" :autocomplete="Math.random()" spellcheck="false" required>
|
||||||
<span>{{ $ts.invitationCode }}</span>
|
<span>{{ $ts.invitationCode }}</span>
|
||||||
<template #prefix><Fa :icon="faKey"/></template>
|
<template #prefix><i class="fas fa-key"></i></template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<MkInput v-model:value="username" type="text" pattern="^[a-zA-Z0-9_]{1,20}$" :autocomplete="Math.random()" spellcheck="false" required @update:value="onChangeUsername">
|
<MkInput v-model:value="username" type="text" pattern="^[a-zA-Z0-9_]{1,20}$" :autocomplete="Math.random()" spellcheck="false" required @update:value="onChangeUsername">
|
||||||
<span>{{ $ts.username }}</span>
|
<span>{{ $ts.username }}</span>
|
||||||
<template #prefix>@</template>
|
<template #prefix>@</template>
|
||||||
<template #suffix>@{{ host }}</template>
|
<template #suffix>@{{ host }}</template>
|
||||||
<template #desc>
|
<template #desc>
|
||||||
<span v-if="usernameState == 'wait'" style="color:#999"><Fa :icon="faSpinner" pulse fixed-width/> {{ $ts.checking }}</span>
|
<span v-if="usernameState == 'wait'" style="color:#999"><i class="fas fa-spinner fa-pulse fa-fw"></i> {{ $ts.checking }}</span>
|
||||||
<span v-if="usernameState == 'ok'" style="color:#3CB7B5"><Fa :icon="faCheck" fixed-width/> {{ $ts.available }}</span>
|
<span v-if="usernameState == 'ok'" style="color:#3CB7B5"><i class="fas fa-check fa-fw"></i> {{ $ts.available }}</span>
|
||||||
<span v-if="usernameState == 'unavailable'" style="color:#FF1161"><Fa :icon="faExclamationTriangle" fixed-width/> {{ $ts.unavailable }}</span>
|
<span v-if="usernameState == 'unavailable'" style="color:#FF1161"><i class="fas fa-exclamation-triangle fa-fw"></i> {{ $ts.unavailable }}</span>
|
||||||
<span v-if="usernameState == 'error'" style="color:#FF1161"><Fa :icon="faExclamationTriangle" fixed-width/> {{ $ts.error }}</span>
|
<span v-if="usernameState == 'error'" style="color:#FF1161"><i class="fas fa-exclamation-triangle fa-fw"></i> {{ $ts.error }}</span>
|
||||||
<span v-if="usernameState == 'invalid-format'" style="color:#FF1161"><Fa :icon="faExclamationTriangle" fixed-width/> {{ $ts.usernameInvalidFormat }}</span>
|
<span v-if="usernameState == 'invalid-format'" style="color:#FF1161"><i class="fas fa-exclamation-triangle fa-fw"></i> {{ $ts.usernameInvalidFormat }}</span>
|
||||||
<span v-if="usernameState == 'min-range'" style="color:#FF1161"><Fa :icon="faExclamationTriangle" fixed-width/> {{ $ts.tooShort }}</span>
|
<span v-if="usernameState == 'min-range'" style="color:#FF1161"><i class="fas fa-exclamation-triangle fa-fw"></i> {{ $ts.tooShort }}</span>
|
||||||
<span v-if="usernameState == 'max-range'" style="color:#FF1161"><Fa :icon="faExclamationTriangle" fixed-width/> {{ $ts.tooLong }}</span>
|
<span v-if="usernameState == 'max-range'" style="color:#FF1161"><i class="fas fa-exclamation-triangle fa-fw"></i> {{ $ts.tooLong }}</span>
|
||||||
</template>
|
</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<MkInput v-model:value="password" type="password" :autocomplete="Math.random()" required @update:value="onChangePassword">
|
<MkInput v-model:value="password" type="password" :autocomplete="Math.random()" required @update:value="onChangePassword">
|
||||||
<span>{{ $ts.password }}</span>
|
<span>{{ $ts.password }}</span>
|
||||||
<template #prefix><Fa :icon="faLock"/></template>
|
<template #prefix><i class="fas fa-lock"></i></template>
|
||||||
<template #desc>
|
<template #desc>
|
||||||
<p v-if="passwordStrength == 'low'" style="color:#FF1161"><Fa :icon="faExclamationTriangle" fixed-width/> {{ $ts.weakPassword }}</p>
|
<p v-if="passwordStrength == 'low'" style="color:#FF1161"><i class="fas fa-exclamation-triangle fa-fw"></i> {{ $ts.weakPassword }}</p>
|
||||||
<p v-if="passwordStrength == 'medium'" style="color:#3CB7B5"><Fa :icon="faCheck" fixed-width/> {{ $ts.normalPassword }}</p>
|
<p v-if="passwordStrength == 'medium'" style="color:#3CB7B5"><i class="fas fa-check fa-fw"></i> {{ $ts.normalPassword }}</p>
|
||||||
<p v-if="passwordStrength == 'high'" style="color:#3CB7B5"><Fa :icon="faCheck" fixed-width/> {{ $ts.strongPassword }}</p>
|
<p v-if="passwordStrength == 'high'" style="color:#3CB7B5"><i class="fas fa-check fa-fw"></i> {{ $ts.strongPassword }}</p>
|
||||||
</template>
|
</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<MkInput v-model:value="retypedPassword" type="password" :autocomplete="Math.random()" required @update:value="onChangePasswordRetype">
|
<MkInput v-model:value="retypedPassword" type="password" :autocomplete="Math.random()" required @update:value="onChangePasswordRetype">
|
||||||
<span>{{ $ts.password }} ({{ $ts.retype }})</span>
|
<span>{{ $ts.password }} ({{ $ts.retype }})</span>
|
||||||
<template #prefix><Fa :icon="faLock"/></template>
|
<template #prefix><i class="fas fa-lock"></i></template>
|
||||||
<template #desc>
|
<template #desc>
|
||||||
<p v-if="passwordRetypeState == 'match'" style="color:#3CB7B5"><Fa :icon="faCheck" fixed-width/> {{ $ts.passwordMatched }}</p>
|
<p v-if="passwordRetypeState == 'match'" style="color:#3CB7B5"><i class="fas fa-check fa-fw"></i> {{ $ts.passwordMatched }}</p>
|
||||||
<p v-if="passwordRetypeState == 'not-match'" style="color:#FF1161"><Fa :icon="faExclamationTriangle" fixed-width/> {{ $ts.passwordNotMatched }}</p>
|
<p v-if="passwordRetypeState == 'not-match'" style="color:#FF1161"><i class="fas fa-exclamation-triangle fa-fw"></i> {{ $ts.passwordNotMatched }}</p>
|
||||||
</template>
|
</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<label v-if="meta.tosUrl" class="tou">
|
<label v-if="meta.tosUrl" class="tou">
|
||||||
|
@ -53,7 +53,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, defineAsyncComponent } from 'vue';
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
||||||
import { faLock, faExclamationTriangle, faSpinner, faCheck, faKey } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
const getPasswordStrength = require('syuilo-password-strength');
|
const getPasswordStrength = require('syuilo-password-strength');
|
||||||
import { toUnicode } from 'punycode/';
|
import { toUnicode } from 'punycode/';
|
||||||
import { host, url } from '@client/config';
|
import { host, url } from '@client/config';
|
||||||
|
@ -96,7 +95,6 @@ export default defineComponent({
|
||||||
ToSAgreement: false,
|
ToSAgreement: false,
|
||||||
hCaptchaResponse: null,
|
hCaptchaResponse: null,
|
||||||
reCaptchaResponse: null,
|
reCaptchaResponse: null,
|
||||||
faLock, faExclamationTriangle, faSpinner, faCheck, faKey
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<span v-if="note.isHidden" style="opacity: 0.5">({{ $ts.private }})</span>
|
<span v-if="note.isHidden" style="opacity: 0.5">({{ $ts.private }})</span>
|
||||||
<span v-if="note.deletedAt" style="opacity: 0.5">({{ $ts.deleted }})</span>
|
<span v-if="note.deletedAt" style="opacity: 0.5">({{ $ts.deleted }})</span>
|
||||||
<MkA class="reply" v-if="note.replyId" :to="`/notes/${note.replyId}`"><Fa :icon="faReply"/></MkA>
|
<MkA class="reply" v-if="note.replyId" :to="`/notes/${note.replyId}`"><i class="fas fa-reply"></i></MkA>
|
||||||
<Mfm v-if="note.text" :text="note.text" :author="note.user" :i="$i" :custom-emojis="note.emojis"/>
|
<Mfm v-if="note.text" :text="note.text" :author="note.user" :i="$i" :custom-emojis="note.emojis"/>
|
||||||
<MkA class="rp" v-if="note.renoteId" :to="`/notes/${note.renoteId}`">RN: ...</MkA>
|
<MkA class="rp" v-if="note.renoteId" :to="`/notes/${note.renoteId}`">RN: ...</MkA>
|
||||||
</div>
|
</div>
|
||||||
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faReply } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import XPoll from './poll.vue';
|
import XPoll from './poll.vue';
|
||||||
import XMediaList from './media-list.vue';
|
import XMediaList from './media-list.vue';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
@ -38,7 +37,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faReply
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<XWindow ref="window" :initial-width="650" :initial-height="420" :can-resize="true" @closed="$emit('closed')">
|
<XWindow ref="window" :initial-width="650" :initial-height="420" :can-resize="true" @closed="$emit('closed')">
|
||||||
<template #header>
|
<template #header>
|
||||||
<Fa :icon="faTerminal" style="margin-right: 0.5em;"/>Task Manager
|
<i class="fas fa-terminal" style="margin-right: 0.5em;"></i>Task Manager
|
||||||
</template>
|
</template>
|
||||||
<div class="qljqmnzj _monospace">
|
<div class="qljqmnzj _monospace">
|
||||||
<MkTab v-model:value="tab" style="border-bottom: solid 0.5px var(--divider);">
|
<MkTab v-model:value="tab" style="border-bottom: solid 0.5px var(--divider);">
|
||||||
|
@ -78,7 +78,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, markRaw, onBeforeUnmount, ref, shallowRef } from 'vue';
|
import { defineComponent, markRaw, onBeforeUnmount, ref, shallowRef } from 'vue';
|
||||||
import { faTerminal } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import XWindow from '@client/components/ui/window.vue';
|
import XWindow from '@client/components/ui/window.vue';
|
||||||
import MkTab from '@client/components/tab.vue';
|
import MkTab from '@client/components/tab.vue';
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
|
@ -139,7 +138,6 @@ export default defineComponent({
|
||||||
pools,
|
pools,
|
||||||
killPopup,
|
killPopup,
|
||||||
showReq,
|
showReq,
|
||||||
faTerminal,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
<div class="sub">
|
<div class="sub">
|
||||||
<slot name="func"></slot>
|
<slot name="func"></slot>
|
||||||
<button class="_button" v-if="foldable" @click="() => showBody = !showBody">
|
<button class="_button" v-if="foldable" @click="() => showBody = !showBody">
|
||||||
<template v-if="showBody"><Fa :icon="faAngleUp"/></template>
|
<template v-if="showBody"><i class="fas fa-angle-up"></i></template>
|
||||||
<template v-else><Fa :icon="faAngleDown"/></template>
|
<template v-else><i class="fas fa-angle-down"></i></template>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
@ -28,7 +28,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faAngleUp, faAngleDown } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
|
@ -68,7 +67,6 @@ export default defineComponent({
|
||||||
showBody: this.expanded,
|
showBody: this.expanded,
|
||||||
omitted: null,
|
omitted: null,
|
||||||
ignoreOmit: false,
|
ignoreOmit: false,
|
||||||
faAngleUp, faAngleDown
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -169,7 +167,7 @@ export default defineComponent({
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 12px 16px;
|
padding: 12px 16px;
|
||||||
|
|
||||||
> ::v-deep([data-icon]) {
|
> ::v-deep(i) {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
<div class="title"><slot name="header"></slot></div>
|
<div class="title"><slot name="header"></slot></div>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<button class="_button">
|
<button class="_button">
|
||||||
<template v-if="showBody"><Fa :icon="faAngleUp"/></template>
|
<template v-if="showBody"><i class="fas fa-angle-up"></i></template>
|
||||||
<template v-else><Fa :icon="faAngleDown"/></template>
|
<template v-else><i class="fas fa-angle-down"></i></template>
|
||||||
</button>
|
</button>
|
||||||
</header>
|
</header>
|
||||||
<transition name="folder-toggle"
|
<transition name="folder-toggle"
|
||||||
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faAngleUp, faAngleDown } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
|
|
||||||
const localStoragePrefix = 'ui:folder:';
|
const localStoragePrefix = 'ui:folder:';
|
||||||
|
|
||||||
|
@ -43,7 +42,6 @@ export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showBody: (this.persistKey && localStorage.getItem(localStoragePrefix + this.persistKey)) ? localStorage.getItem(localStoragePrefix + this.persistKey) === 't' : this.expanded,
|
showBody: (this.persistKey && localStorage.getItem(localStoragePrefix + this.persistKey)) ? localStorage.getItem(localStoragePrefix + this.persistKey) === 't' : this.expanded,
|
||||||
faAngleUp, faAngleDown
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -109,7 +107,7 @@ export default defineComponent({
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 12px 16px 12px 0;
|
padding: 12px 16px 12px 0;
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="fpezltsf" :class="{ warn }">
|
<div class="fpezltsf" :class="{ warn }">
|
||||||
<i v-if="warn"><Fa :icon="faExclamationTriangle"/></i>
|
<i v-if="warn" class="fas fa-exclamation-triangle"></i>
|
||||||
<i v-else><Fa :icon="faInfoCircle"/></i>
|
<i v-else class="fas fa-info-circle"></i>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faInfoCircle, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -21,7 +20,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faInfoCircle, faExclamationTriangle
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<span class="label" ref="labelEl"><slot></slot></span>
|
<span class="label" ref="labelEl"><slot></slot></span>
|
||||||
<span class="title" ref="title">
|
<span class="title" ref="title">
|
||||||
<slot name="title"></slot>
|
<slot name="title"></slot>
|
||||||
<span class="warning" v-if="invalid"><Fa :icon="faExclamationCircle"/>{{ $refs.input.validationMessage }}</span>
|
<span class="warning" v-if="invalid"><i class="fas fa-exclamation-circle"></i>{{ $refs.input.validationMessage }}</span>
|
||||||
</span>
|
</span>
|
||||||
<div class="prefix" ref="prefixEl"><slot name="prefix"></slot></div>
|
<div class="prefix" ref="prefixEl"><slot name="prefix"></slot></div>
|
||||||
<input v-if="debounce" ref="inputEl"
|
<input v-if="debounce" ref="inputEl"
|
||||||
|
@ -56,7 +56,6 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, onMounted, onUnmounted, nextTick, ref, watch, computed, toRefs } from 'vue';
|
import { defineComponent, onMounted, onUnmounted, nextTick, ref, watch, computed, toRefs } from 'vue';
|
||||||
import debounce from 'v-debounce';
|
import debounce from 'v-debounce';
|
||||||
import { faExclamationCircle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -205,7 +204,6 @@ export default defineComponent({
|
||||||
focus,
|
focus,
|
||||||
onInput,
|
onInput,
|
||||||
onKeydown,
|
onKeydown,
|
||||||
faExclamationCircle,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -13,25 +13,25 @@
|
||||||
<span><MkEllipsis/></span>
|
<span><MkEllipsis/></span>
|
||||||
</span>
|
</span>
|
||||||
<MkA v-else-if="item.type === 'link'" :to="item.to" @click.passive="close()" :tabindex="i" class="_button item">
|
<MkA v-else-if="item.type === 'link'" :to="item.to" @click.passive="close()" :tabindex="i" class="_button item">
|
||||||
<Fa v-if="item.icon" :icon="item.icon" fixed-width/>
|
<i v-if="item.icon" class="fa-fw" :class="item.icon"></i>
|
||||||
<MkAvatar v-if="item.avatar" :user="item.avatar" class="avatar"/>
|
<MkAvatar v-if="item.avatar" :user="item.avatar" class="avatar"/>
|
||||||
<span>{{ item.text }}</span>
|
<span>{{ item.text }}</span>
|
||||||
<i v-if="item.indicate"><Fa :icon="faCircle"/></i>
|
<span v-if="item.indicate" class="indicator"><i class="fas fa-circle"></i></span>
|
||||||
</MkA>
|
</MkA>
|
||||||
<a v-else-if="item.type === 'a'" :href="item.href" :target="item.target" :download="item.download" @click="close()" :tabindex="i" class="_button item">
|
<a v-else-if="item.type === 'a'" :href="item.href" :target="item.target" :download="item.download" @click="close()" :tabindex="i" class="_button item">
|
||||||
<Fa v-if="item.icon" :icon="item.icon" fixed-width/>
|
<i v-if="item.icon" class="fa-fw" :class="item.icon"></i>
|
||||||
<span>{{ item.text }}</span>
|
<span>{{ item.text }}</span>
|
||||||
<i v-if="item.indicate"><Fa :icon="faCircle"/></i>
|
<span v-if="item.indicate" class="indicator"><i class="fas fa-circle"></i></span>
|
||||||
</a>
|
</a>
|
||||||
<button v-else-if="item.type === 'user'" @click="clicked(item.action, $event)" :tabindex="i" class="_button item">
|
<button v-else-if="item.type === 'user'" @click="clicked(item.action, $event)" :tabindex="i" class="_button item">
|
||||||
<MkAvatar :user="item.user" class="avatar"/><MkUserName :user="item.user"/>
|
<MkAvatar :user="item.user" class="avatar"/><MkUserName :user="item.user"/>
|
||||||
<i v-if="item.indicate"><Fa :icon="faCircle"/></i>
|
<span v-if="item.indicate" class="indicator"><i class="fas fa-circle"></i></span>
|
||||||
</button>
|
</button>
|
||||||
<button v-else @click="clicked(item.action, $event)" :tabindex="i" class="_button item" :class="{ danger: item.danger }">
|
<button v-else @click="clicked(item.action, $event)" :tabindex="i" class="_button item" :class="{ danger: item.danger }">
|
||||||
<Fa v-if="item.icon" :icon="item.icon" fixed-width/>
|
<i v-if="item.icon" class="fa-fw" :class="item.icon"></i>
|
||||||
<MkAvatar v-if="item.avatar" :user="item.avatar" class="avatar"/>
|
<MkAvatar v-if="item.avatar" :user="item.avatar" class="avatar"/>
|
||||||
<span>{{ item.text }}</span>
|
<span>{{ item.text }}</span>
|
||||||
<i v-if="item.indicate"><Fa :icon="faCircle"/></i>
|
<span v-if="item.indicate" class="indicator"><i class="fas fa-circle"></i></span>
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
<span v-if="_items.length === 0" class="none item">
|
<span v-if="_items.length === 0" class="none item">
|
||||||
|
@ -42,7 +42,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, ref } from 'vue';
|
import { defineComponent, ref } from 'vue';
|
||||||
import { faCircle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { focusPrev, focusNext } from '@client/scripts/focus';
|
import { focusPrev, focusNext } from '@client/scripts/focus';
|
||||||
import contains from '@client/scripts/contains';
|
import contains from '@client/scripts/contains';
|
||||||
|
|
||||||
|
@ -65,7 +64,6 @@ export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
_items: [],
|
_items: [],
|
||||||
faCircle,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -207,7 +205,7 @@ export default defineComponent({
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
}
|
}
|
||||||
|
@ -218,7 +216,7 @@ export default defineComponent({
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> i {
|
> .indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
left: 13px;
|
left: 13px;
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
<MkModal ref="modal" @click="$emit('click')" @closed="$emit('closed')">
|
<MkModal ref="modal" @click="$emit('click')" @closed="$emit('closed')">
|
||||||
<div class="ebkgoccj _popup _narrow_" @keydown="onKeydown" :style="{ width: `${width}px`, height: scroll ? (height ? `${height}px` : null) : (height ? `min(${height}px, 100%)` : '100%') }">
|
<div class="ebkgoccj _popup _narrow_" @keydown="onKeydown" :style="{ width: `${width}px`, height: scroll ? (height ? `${height}px` : null) : (height ? `min(${height}px, 100%)` : '100%') }">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<button class="_button" v-if="withOkButton" @click="$emit('close')"><Fa :icon="faTimes"/></button>
|
<button class="_button" v-if="withOkButton" @click="$emit('close')"><i class="fas fa-times"></i></button>
|
||||||
<span class="title">
|
<span class="title">
|
||||||
<slot name="header"></slot>
|
<slot name="header"></slot>
|
||||||
</span>
|
</span>
|
||||||
<button class="_button" v-if="!withOkButton" @click="$emit('close')"><Fa :icon="faTimes"/></button>
|
<button class="_button" v-if="!withOkButton" @click="$emit('close')"><i class="fas fa-times"></i></button>
|
||||||
<button class="_button" v-if="withOkButton" @click="$emit('ok')" :disabled="okButtonDisabled"><Fa :icon="faCheck"/></button>
|
<button class="_button" v-if="withOkButton" @click="$emit('ok')" :disabled="okButtonDisabled"><i class="fas fa-check"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="body" v-if="padding">
|
<div class="body" v-if="padding">
|
||||||
<div class="_section">
|
<div class="_section">
|
||||||
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faTimes, faCheck } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkModal from './modal.vue';
|
import MkModal from './modal.vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -72,7 +71,6 @@ export default defineComponent({
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faTimes, faCheck
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</select>
|
</select>
|
||||||
<div class="suffix">
|
<div class="suffix">
|
||||||
<slot name="suffix">
|
<slot name="suffix">
|
||||||
<Fa :icon="faChevronDown"/>
|
<i class="fas fa-chevron-down"></i>
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faChevronDown } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
|
@ -49,7 +48,6 @@ export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
focused: false,
|
focused: false,
|
||||||
faChevronDown,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -39,7 +39,7 @@ export default defineComponent({
|
||||||
const contentHeight = this.$refs.content.offsetHeight;
|
const contentHeight = this.$refs.content.offsetHeight;
|
||||||
|
|
||||||
let left = rect.left + window.pageXOffset + (this.source.offsetWidth / 2);
|
let left = rect.left + window.pageXOffset + (this.source.offsetWidth / 2);
|
||||||
let top = rect.top + window.pageYOffset + this.source.offsetHeight;
|
let top = rect.top + window.pageYOffset - contentHeight;
|
||||||
|
|
||||||
left -= (this.$el.offsetWidth / 2);
|
left -= (this.$el.offsetWidth / 2);
|
||||||
|
|
||||||
|
@ -47,9 +47,9 @@ export default defineComponent({
|
||||||
left = window.innerWidth - contentWidth + window.pageXOffset - 1;
|
left = window.innerWidth - contentWidth + window.pageXOffset - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (top + contentHeight - window.pageYOffset > window.innerHeight) {
|
if (top - window.pageYOffset < 0) {
|
||||||
top = rect.top + window.pageYOffset - contentHeight;
|
top = rect.top + window.pageYOffset + this.source.offsetHeight;
|
||||||
this.$refs.content.style.transformOrigin = 'center bottom';
|
this.$refs.content.style.transformOrigin = 'center top';
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$el.style.left = left + 'px';
|
this.$el.style.left = left + 'px';
|
||||||
|
@ -81,6 +81,6 @@ export default defineComponent({
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
transform-origin: center top;
|
transform-origin: center bottom;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
<div class="body _popup _shadow _narrow_" @mousedown="onBodyMousedown" @keydown="onKeydown">
|
<div class="body _popup _shadow _narrow_" @mousedown="onBodyMousedown" @keydown="onKeydown">
|
||||||
<div class="header" :class="{ mini }" @contextmenu.prevent.stop="onContextmenu">
|
<div class="header" :class="{ mini }" @contextmenu.prevent.stop="onContextmenu">
|
||||||
<slot v-if="closeRight" name="buttons"><button class="_button" style="pointer-events: none;"></button></slot>
|
<slot v-if="closeRight" name="buttons"><button class="_button" style="pointer-events: none;"></button></slot>
|
||||||
<button v-else class="_button" @click="close()"><Fa :icon="faTimes"/></button>
|
<button v-else class="_button" @click="close()"><i class="fas fa-times"></i></button>
|
||||||
|
|
||||||
<span class="title" @mousedown.prevent="onHeaderMousedown" @touchstart.prevent="onHeaderMousedown">
|
<span class="title" @mousedown.prevent="onHeaderMousedown" @touchstart.prevent="onHeaderMousedown">
|
||||||
<slot name="header"></slot>
|
<slot name="header"></slot>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<button v-if="closeRight" class="_button" @click="close()"><Fa :icon="faTimes"/></button>
|
<button v-if="closeRight" class="_button" @click="close()"><i class="fas fa-times"></i></button>
|
||||||
<slot v-else name="buttons"><button class="_button" style="pointer-events: none;"></button></slot>
|
<slot v-else name="buttons"><button class="_button" style="pointer-events: none;"></button></slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="body" v-if="padding">
|
<div class="body" v-if="padding">
|
||||||
|
@ -38,7 +38,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faTimes, faCheck } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import contains from '@client/scripts/contains';
|
import contains from '@client/scripts/contains';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
|
@ -114,7 +113,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
showing: true,
|
showing: true,
|
||||||
id: Math.random().toString(), // TODO: UUIDとかにする
|
id: Math.random().toString(), // TODO: UUIDとかにする
|
||||||
faTimes
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-if="playerEnabled" class="player" :style="`padding: ${(player.height || 0) / (player.width || 1) * 100}% 0 0`">
|
<div v-if="playerEnabled" class="player" :style="`padding: ${(player.height || 0) / (player.width || 1) * 100}% 0 0`">
|
||||||
<button class="disablePlayer" @click="playerEnabled = false" :title="$ts.disablePlayer"><Fa icon="times"/></button>
|
<button class="disablePlayer" @click="playerEnabled = false" :title="$ts.disablePlayer"><i class="fas fa-times"></i></button>
|
||||||
<iframe :src="player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')" :width="player.width || '100%'" :heigth="player.height || 250" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen />
|
<iframe :src="player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')" :width="player.width || '100%'" :heigth="player.height || 250" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen />
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="tweetId && tweetExpanded" class="twitter" ref="twitter">
|
<div v-else-if="tweetId && tweetExpanded" class="twitter" ref="twitter">
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
<transition name="zoom" mode="out-in">
|
<transition name="zoom" mode="out-in">
|
||||||
<component :is="self ? 'MkA' : 'a'" :class="{ compact }" :[attr]="self ? url.substr(local.length) : url" rel="nofollow noopener" :target="target" :title="url" v-if="!fetching">
|
<component :is="self ? 'MkA' : 'a'" :class="{ compact }" :[attr]="self ? url.substr(local.length) : url" rel="nofollow noopener" :target="target" :title="url" v-if="!fetching">
|
||||||
<div class="thumbnail" v-if="thumbnail" :style="`background-image: url('${thumbnail}')`">
|
<div class="thumbnail" v-if="thumbnail" :style="`background-image: url('${thumbnail}')`">
|
||||||
<button class="_button" v-if="!playerEnabled && player.url" @click.prevent="playerEnabled = true" :title="$ts.enablePlayer"><Fa :icon="faPlayCircle"/></button>
|
<button class="_button" v-if="!playerEnabled && player.url" @click.prevent="playerEnabled = true" :title="$ts.enablePlayer"><i class="fas fa-play-circle"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
</transition>
|
</transition>
|
||||||
<div class="expandTweet" v-if="tweetId">
|
<div class="expandTweet" v-if="tweetId">
|
||||||
<a @click="tweetExpanded = true">
|
<a @click="tweetExpanded = true">
|
||||||
<Fa :icon="faTwitter"/> {{ $ts.expandTweet }}
|
<i class="fab fa-twitter"></i> {{ $ts.expandTweet }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -34,8 +34,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faPlayCircle } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import { faTwitter } from '@fortawesome/free-brands-svg-icons';
|
|
||||||
import { url as local, lang } from '@client/config';
|
import { url as local, lang } from '@client/config';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
|
||||||
|
@ -83,7 +81,6 @@ export default defineComponent({
|
||||||
self: self,
|
self: self,
|
||||||
attr: self ? 'to' : 'href',
|
attr: self ? 'to' : 'href',
|
||||||
target: self ? null : '_blank',
|
target: self ? null : '_blank',
|
||||||
faPlayCircle, faTwitter
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="_panel vjnjpkug">
|
<div class="_panel vjnjpkug">
|
||||||
<div class="banner" :style="user.bannerUrl ? `background-image: url(${user.bannerUrl})` : ''"></div>
|
<div class="banner" :style="user.bannerUrl ? `background-image: url(${user.bannerUrl})` : ''"></div>
|
||||||
<MkAvatar class="avatar" :user="user" :disable-preview="true"/>
|
<MkAvatar class="avatar" :user="user" :disable-preview="true" :show-indicator="true"/>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<MkA class="name" :to="userPage(user)"><MkUserName :user="user" :nowrap="false"/></MkA>
|
<MkA class="name" :to="userPage(user)"><MkUserName :user="user" :nowrap="false"/></MkA>
|
||||||
<p class="username"><MkAcct :user="user"/></p>
|
<p class="username"><MkAcct :user="user"/></p>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<MkUserInfo class="user" v-for="user in users" :user="user" :key="user.id"/>
|
<MkUserInfo class="user" v-for="user in users" :user="user" :key="user.id"/>
|
||||||
</div>
|
</div>
|
||||||
<button class="more" v-appear="$store.state.enableInfiniteScroll ? fetchMore : null" @click="fetchMore" :class="{ fetching: moreFetching }" v-show="more" :disabled="moreFetching">
|
<button class="more" v-appear="$store.state.enableInfiniteScroll ? fetchMore : null" @click="fetchMore" :class="{ fetching: moreFetching }" v-show="more" :disabled="moreFetching">
|
||||||
<template v-if="moreFetching"><Fa icon="spinner" pulse fixed-width/></template>{{ moreFetching ? $ts.loading : $ts.loadMore }}
|
<template v-if="moreFetching"><i class="fas fa-spinner fa-pulse fa-fw"></i></template>{{ moreFetching ? $ts.loading : $ts.loadMore }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -83,7 +83,7 @@ export default defineComponent({
|
||||||
cursor: wait;
|
cursor: wait;
|
||||||
}
|
}
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
<template>
|
||||||
|
<div class="fzgwjkgc" :class="user.onlineStatus" v-tooltip="text"></div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
props: {
|
||||||
|
user: {
|
||||||
|
type: Object,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
computed: {
|
||||||
|
text(): string {
|
||||||
|
switch (this.user.onlineStatus) {
|
||||||
|
case 'online': return this.$ts.online;
|
||||||
|
case 'active': return this.$ts.active;
|
||||||
|
case 'offline': return this.$ts.offline;
|
||||||
|
case 'unknown': return this.$ts.unknown;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.fzgwjkgc {
|
||||||
|
box-shadow: 0 0 0 3px var(--panel);
|
||||||
|
border-radius: 120%; // Blinkのバグか知らんけど、100%ぴったりにすると何故か若干楕円でレンダリングされる
|
||||||
|
|
||||||
|
&.online {
|
||||||
|
background: #58d4c9;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
background: #e4bc48;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.offline {
|
||||||
|
background: #ea5353;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.unknown {
|
||||||
|
background: #888;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -3,7 +3,7 @@
|
||||||
<div v-if="showing" class="fxxzrfni _popup _shadow" :style="{ top: top + 'px', left: left + 'px' }" @mouseover="() => { $emit('mouseover'); }" @mouseleave="() => { $emit('mouseleave'); }">
|
<div v-if="showing" class="fxxzrfni _popup _shadow" :style="{ top: top + 'px', left: left + 'px' }" @mouseover="() => { $emit('mouseover'); }" @mouseleave="() => { $emit('mouseleave'); }">
|
||||||
<div v-if="fetched" class="info">
|
<div v-if="fetched" class="info">
|
||||||
<div class="banner" :style="user.bannerUrl ? `background-image: url(${user.bannerUrl})` : ''"></div>
|
<div class="banner" :style="user.bannerUrl ? `background-image: url(${user.bannerUrl})` : ''"></div>
|
||||||
<MkAvatar class="avatar" :user="user" :disable-preview="true"/>
|
<MkAvatar class="avatar" :user="user" :disable-preview="true" :show-indicator="true"/>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<MkA class="name" :to="userPage(user)"><MkUserName :user="user" :nowrap="false"/></MkA>
|
<MkA class="name" :to="userPage(user)"><MkUserName :user="user" :nowrap="false"/></MkA>
|
||||||
<p class="username"><MkAcct :user="user"/></p>
|
<p class="username"><MkAcct :user="user"/></p>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<div class="tbhwbxda _section result" v-if="username != '' || host != ''" :class="{ hit: users.length > 0 }">
|
<div class="tbhwbxda _section result" v-if="username != '' || host != ''" :class="{ hit: users.length > 0 }">
|
||||||
<div class="users" v-if="users.length > 0">
|
<div class="users" v-if="users.length > 0">
|
||||||
<div class="user" v-for="user in users" :key="user.id" :class="{ selected: selected && selected.id === user.id }" @click="selected = user" @dblclick="ok()">
|
<div class="user" v-for="user in users" :key="user.id" :class="{ selected: selected && selected.id === user.id }" @click="selected = user" @dblclick="ok()">
|
||||||
<MkAvatar :user="user" class="avatar"/>
|
<MkAvatar :user="user" class="avatar" :show-indicator="true"/>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<MkUserName :user="user" class="name"/>
|
<MkUserName :user="user" class="name"/>
|
||||||
<MkAcct :user="user" class="acct"/>
|
<MkAcct :user="user" class="acct"/>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<div class="tbhwbxda _section recent" v-if="username == '' && host == ''">
|
<div class="tbhwbxda _section recent" v-if="username == '' && host == ''">
|
||||||
<div class="users">
|
<div class="users">
|
||||||
<div class="user" v-for="user in recentUsers" :key="user.id" :class="{ selected: selected && selected.id === user.id }" @click="selected = user" @dblclick="ok()">
|
<div class="user" v-for="user in recentUsers" :key="user.id" :class="{ selected: selected && selected.id === user.id }" @click="selected = user" @dblclick="ok()">
|
||||||
<MkAvatar :user="user" class="avatar"/>
|
<MkAvatar :user="user" class="avatar" :show-indicator="true"/>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<MkUserName :user="user" class="name"/>
|
<MkUserName :user="user" class="name"/>
|
||||||
<MkAcct :user="user" class="acct"/>
|
<MkAcct :user="user" class="acct"/>
|
||||||
|
@ -44,7 +44,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faTimes, faCheck } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkInput from './ui/input.vue';
|
import MkInput from './ui/input.vue';
|
||||||
import XModalWindow from '@client/components/ui/modal-window.vue';
|
import XModalWindow from '@client/components/ui/modal-window.vue';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
@ -67,7 +66,6 @@ export default defineComponent({
|
||||||
recentUsers: [],
|
recentUsers: [],
|
||||||
users: [],
|
users: [],
|
||||||
selected: null,
|
selected: null,
|
||||||
faTimes, faCheck
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
<div class="mk-users-dialog">
|
<div class="mk-users-dialog">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<span>{{ title }}</span>
|
<span>{{ title }}</span>
|
||||||
<button class="_button" @click="close()"><Fa :icon="faTimes"/></button>
|
<button class="_button" @click="close()"><i class="fas fa-times"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="users">
|
<div class="users">
|
||||||
<MkA v-for="item in items" class="user" :key="item.id" :to="userPage(extract ? extract(item) : item)">
|
<MkA v-for="item in items" class="user" :key="item.id" :to="userPage(extract ? extract(item) : item)">
|
||||||
<MkAvatar :user="extract ? extract(item) : item" class="avatar" :disable-link="true"/>
|
<MkAvatar :user="extract ? extract(item) : item" class="avatar" :disable-link="true" :show-indicator="true"/>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<MkUserName :user="extract ? extract(item) : item" class="name"/>
|
<MkUserName :user="extract ? extract(item) : item" class="name"/>
|
||||||
<MkAcct :user="extract ? extract(item) : item" class="acct"/>
|
<MkAcct :user="extract ? extract(item) : item" class="acct"/>
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
</div>
|
</div>
|
||||||
<button class="more _button" v-appear="$store.state.enableInfiniteScroll ? fetchMore : null" @click="fetchMore" v-show="more" :disabled="moreFetching">
|
<button class="more _button" v-appear="$store.state.enableInfiniteScroll ? fetchMore : null" @click="fetchMore" v-show="more" :disabled="moreFetching">
|
||||||
<template v-if="!moreFetching">{{ $ts.loadMore }}</template>
|
<template v-if="!moreFetching">{{ $ts.loadMore }}</template>
|
||||||
<template v-if="moreFetching"><Fa :icon="faSpinner" pulse fixed-width/></template>
|
<template v-if="moreFetching"><i class="fas fa-spinner fa-pulse fa-fw"></i></template>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<p class="empty" v-if="empty">{{ $ts.noUsers }}</p>
|
<p class="empty" v-if="empty">{{ $ts.noUsers }}</p>
|
||||||
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faTimes } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import paging from '@client/scripts/paging';
|
import paging from '@client/scripts/paging';
|
||||||
import { userPage } from '../filters/user';
|
import { userPage } from '../filters/user';
|
||||||
|
|
||||||
|
@ -50,7 +49,6 @@ export default defineComponent({
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faTimes
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -2,28 +2,28 @@
|
||||||
<MkModal ref="modal" :src="src" @click="$refs.modal.close()" @closed="$emit('closed')">
|
<MkModal ref="modal" :src="src" @click="$refs.modal.close()" @closed="$emit('closed')">
|
||||||
<div class="gqyayizv _popup">
|
<div class="gqyayizv _popup">
|
||||||
<button class="_button" @click="choose('public')" :class="{ active: v == 'public' }" data-index="1" key="public">
|
<button class="_button" @click="choose('public')" :class="{ active: v == 'public' }" data-index="1" key="public">
|
||||||
<div><Fa :icon="faGlobe"/></div>
|
<div><i class="fas fa-globe"></i></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $ts._visibility.public }}</span>
|
<span>{{ $ts._visibility.public }}</span>
|
||||||
<span>{{ $ts._visibility.publicDescription }}</span>
|
<span>{{ $ts._visibility.publicDescription }}</span>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<button class="_button" @click="choose('home')" :class="{ active: v == 'home' }" data-index="2" key="home">
|
<button class="_button" @click="choose('home')" :class="{ active: v == 'home' }" data-index="2" key="home">
|
||||||
<div><Fa :icon="faHome"/></div>
|
<div><i class="fas fa-home"></i></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $ts._visibility.home }}</span>
|
<span>{{ $ts._visibility.home }}</span>
|
||||||
<span>{{ $ts._visibility.homeDescription }}</span>
|
<span>{{ $ts._visibility.homeDescription }}</span>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<button class="_button" @click="choose('followers')" :class="{ active: v == 'followers' }" data-index="3" key="followers">
|
<button class="_button" @click="choose('followers')" :class="{ active: v == 'followers' }" data-index="3" key="followers">
|
||||||
<div><Fa :icon="faUnlock"/></div>
|
<div><i class="fas fa-unlock"></i></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $ts._visibility.followers }}</span>
|
<span>{{ $ts._visibility.followers }}</span>
|
||||||
<span>{{ $ts._visibility.followersDescription }}</span>
|
<span>{{ $ts._visibility.followersDescription }}</span>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<button :disabled="localOnly" class="_button" @click="choose('specified')" :class="{ active: v == 'specified' }" data-index="4" key="specified">
|
<button :disabled="localOnly" class="_button" @click="choose('specified')" :class="{ active: v == 'specified' }" data-index="4" key="specified">
|
||||||
<div><Fa :icon="faEnvelope"/></div>
|
<div><i class="fas fa-envelope"></i></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $ts._visibility.specified }}</span>
|
<span>{{ $ts._visibility.specified }}</span>
|
||||||
<span>{{ $ts._visibility.specifiedDescription }}</span>
|
<span>{{ $ts._visibility.specifiedDescription }}</span>
|
||||||
|
@ -31,12 +31,12 @@
|
||||||
</button>
|
</button>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<button class="_button localOnly" @click="localOnly = !localOnly" :class="{ active: localOnly }" data-index="5" key="localOnly">
|
<button class="_button localOnly" @click="localOnly = !localOnly" :class="{ active: localOnly }" data-index="5" key="localOnly">
|
||||||
<div><Fa :icon="faBiohazard"/></div>
|
<div><i class="fas fa-biohazard"></i></div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $ts._visibility.localOnly }}</span>
|
<span>{{ $ts._visibility.localOnly }}</span>
|
||||||
<span>{{ $ts._visibility.localOnlyDescription }}</span>
|
<span>{{ $ts._visibility.localOnlyDescription }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div><Fa :icon="localOnly ? faToggleOn : faToggleOff" :key="localOnly"/></div>
|
<div><i :class="localOnly ? 'fas fa-toggle-on' : 'fas fa-toggle-off'"></i></div>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</MkModal>
|
</MkModal>
|
||||||
|
@ -44,8 +44,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faGlobe, faUnlock, faHome, faBiohazard, faToggleOn, faToggleOff } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faEnvelope } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import MkModal from '@client/components/ui/modal.vue';
|
import MkModal from '@client/components/ui/modal.vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -70,7 +68,6 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
v: this.currentVisibility,
|
v: this.currentVisibility,
|
||||||
localOnly: this.currentLocalOnly,
|
localOnly: this.currentLocalOnly,
|
||||||
faGlobe, faUnlock, faEnvelope, faHome, faBiohazard, faToggleOn, faToggleOff
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MkModal ref="modal" @click="success ? done() : () => {}" @closed="$emit('closed')">
|
<MkModal ref="modal" @click="success ? done() : () => {}" @closed="$emit('closed')">
|
||||||
<div class="iuyakobc" :class="{ iconOnly: (text == null) || success }">
|
<div class="iuyakobc" :class="{ iconOnly: (text == null) || success }">
|
||||||
<Fa class="icon success" v-if="success" :icon="faCheck"/>
|
<i v-if="success" class="fas fa-check icon success"></i>
|
||||||
<Fa class="icon waiting" v-else :icon="faSpinner" pulse/>
|
<i v-else class="fas fa-spinner fa-pulse icon waiting"></i>
|
||||||
<div class="text" v-if="text && !success">{{ text }}<MkEllipsis/></div>
|
<div class="text" v-if="text && !success">{{ text }}<MkEllipsis/></div>
|
||||||
</div>
|
</div>
|
||||||
</MkModal>
|
</MkModal>
|
||||||
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faCheck, faSpinner } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkModal from '@client/components/ui/modal.vue';
|
import MkModal from '@client/components/ui/modal.vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -37,7 +36,6 @@ export default defineComponent({
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
faCheck, faSpinner,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<template #label>{{ $ts.selectWidget }}</template>
|
<template #label>{{ $ts.selectWidget }}</template>
|
||||||
<option v-for="widget in widgetDefs" :value="widget" :key="widget">{{ $t(`_widgets.${widget}`) }}</option>
|
<option v-for="widget in widgetDefs" :value="widget" :key="widget">{{ $t(`_widgets.${widget}`) }}</option>
|
||||||
</MkSelect>
|
</MkSelect>
|
||||||
<MkButton inline @click="addWidget" primary><Fa :icon="faPlus"/> {{ $ts.add }}</MkButton>
|
<MkButton inline @click="addWidget" primary><i class="fas fa-plus"></i> {{ $ts.add }}</MkButton>
|
||||||
<MkButton inline @click="$emit('exit')">{{ $ts.close }}</MkButton>
|
<MkButton inline @click="$emit('exit')">{{ $ts.close }}</MkButton>
|
||||||
</header>
|
</header>
|
||||||
<XDraggable
|
<XDraggable
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
>
|
>
|
||||||
<template #item="{element}">
|
<template #item="{element}">
|
||||||
<div class="customize-container">
|
<div class="customize-container">
|
||||||
<button class="config _button" @click.prevent.stop="configWidget(element.id)"><Fa :icon="faCog"/></button>
|
<button class="config _button" @click.prevent.stop="configWidget(element.id)"><i class="fas fa-cog"></i></button>
|
||||||
<button class="remove _button" @click.prevent.stop="removeWidget(element)"><Fa :icon="faTimes"/></button>
|
<button class="remove _button" @click.prevent.stop="removeWidget(element)"><i class="fas fa-times"></i></button>
|
||||||
<component :is="`mkw-${element.name}`" :widget="element" :setting-callback="setting => settings[element.id] = setting" :column="column" @updateProps="updateWidget(element.id, $event)"/>
|
<component :is="`mkw-${element.name}`" :widget="element" :setting-callback="setting => settings[element.id] = setting" :column="column" @updateProps="updateWidget(element.id, $event)"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -30,7 +30,6 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, defineAsyncComponent } from 'vue';
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
||||||
import { v4 as uuid } from 'uuid';
|
import { v4 as uuid } from 'uuid';
|
||||||
import { faTimes, faCog, faPlus } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkSelect from '@client/components/ui/select.vue';
|
import MkSelect from '@client/components/ui/select.vue';
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
import { widgets as widgetDefs } from '@client/widgets';
|
import { widgets as widgetDefs } from '@client/widgets';
|
||||||
|
@ -59,7 +58,6 @@ export default defineComponent({
|
||||||
widgetAdderSelected: null,
|
widgetAdderSelected: null,
|
||||||
widgetDefs,
|
widgetDefs,
|
||||||
settings: {},
|
settings: {},
|
||||||
faTimes, faPlus, faCog
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,6 @@ if (localStorage.getItem('accounts') != null) {
|
||||||
import * as Sentry from '@sentry/browser';
|
import * as Sentry from '@sentry/browser';
|
||||||
import { Integrations } from '@sentry/tracing';
|
import { Integrations } from '@sentry/tracing';
|
||||||
import { computed, createApp, watch } from 'vue';
|
import { computed, createApp, watch } from 'vue';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
|
||||||
|
|
||||||
import widgets from '@client/widgets';
|
import widgets from '@client/widgets';
|
||||||
import directives from '@client/directives';
|
import directives from '@client/directives';
|
||||||
|
@ -245,8 +244,6 @@ app.config.globalProperties = {
|
||||||
};
|
};
|
||||||
|
|
||||||
app.use(router);
|
app.use(router);
|
||||||
// eslint-disable-next-line vue/component-definition-name-casing
|
|
||||||
app.component('Fa', FontAwesomeIcon);
|
|
||||||
|
|
||||||
widgets(app);
|
widgets(app);
|
||||||
directives(app);
|
directives(app);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="_section">
|
<div class="_section">
|
||||||
<div class="mjndxjch _content">
|
<div class="mjndxjch _content">
|
||||||
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
|
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
|
||||||
<p><Fa :icon="faExclamationTriangle"/> {{ $ts.pageLoadError }}</p>
|
<p><i class="fas fa-exclamation-triangle"></i> {{ $ts.pageLoadError }}</p>
|
||||||
<p>{{ $ts.pageLoadErrorDescription }}</p>
|
<p>{{ $ts.pageLoadErrorDescription }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
import * as symbols from '@client/symbols';
|
import * as symbols from '@client/symbols';
|
||||||
|
|
||||||
|
@ -24,9 +23,8 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: {
|
[symbols.PAGE_INFO]: {
|
||||||
title: this.$ts.error,
|
title: this.$ts.error,
|
||||||
icon: faExclamationTriangle
|
icon: 'fas fa-exclamation-triangle'
|
||||||
},
|
},
|
||||||
faExclamationTriangle
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -15,17 +15,17 @@
|
||||||
</section>
|
</section>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLink to="https://github.com/misskey-dev/misskey" external>
|
<FormLink to="https://github.com/misskey-dev/misskey" external>
|
||||||
<template #icon><Fa :icon="faCode"/></template>
|
<template #icon><i class="fas fa-code"></i></template>
|
||||||
{{ $ts._aboutMisskey.source }}
|
{{ $ts._aboutMisskey.source }}
|
||||||
<template #suffix>GitHub</template>
|
<template #suffix>GitHub</template>
|
||||||
</FormLink>
|
</FormLink>
|
||||||
<FormLink to="https://crowdin.com/project/misskey" external>
|
<FormLink to="https://crowdin.com/project/misskey" external>
|
||||||
<template #icon><Fa :icon="faLanguage"/></template>
|
<template #icon><i class="fas fa-language"></i></template>
|
||||||
{{ $ts._aboutMisskey.translation }}
|
{{ $ts._aboutMisskey.translation }}
|
||||||
<template #suffix>Crowdin</template>
|
<template #suffix>Crowdin</template>
|
||||||
</FormLink>
|
</FormLink>
|
||||||
<FormLink to="https://www.patreon.com/syuilo" external>
|
<FormLink to="https://www.patreon.com/syuilo" external>
|
||||||
<template #icon><Fa :icon="faHandHoldingMedical"/></template>
|
<template #icon><i class="fas fa-hand-holding-medical"></i></template>
|
||||||
{{ $ts._aboutMisskey.donate }}
|
{{ $ts._aboutMisskey.donate }}
|
||||||
<template #suffix>Patreon</template>
|
<template #suffix>Patreon</template>
|
||||||
</FormLink>
|
</FormLink>
|
||||||
|
@ -54,7 +54,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faInfoCircle, faCode, faLanguage, faHandHoldingMedical, } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import VanillaTilt from 'vanilla-tilt';
|
import VanillaTilt from 'vanilla-tilt';
|
||||||
import { version } from '@client/config';
|
import { version } from '@client/config';
|
||||||
import FormLink from '@client/components/form/link.vue';
|
import FormLink from '@client/components/form/link.vue';
|
||||||
|
@ -125,7 +124,6 @@ export default defineComponent({
|
||||||
easterEggReady: false,
|
easterEggReady: false,
|
||||||
easterEggEmojis: [],
|
easterEggEmojis: [],
|
||||||
easterEggEngine: null,
|
easterEggEngine: null,
|
||||||
faInfoCircle, faCode, faLanguage, faHandHoldingMedical,
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faInfoCircle } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { version, instanceName } from '@client/config';
|
import { version, instanceName } from '@client/config';
|
||||||
import FormLink from '@client/components/form/link.vue';
|
import FormLink from '@client/components/form/link.vue';
|
||||||
import FormBase from '@client/components/form/base.vue';
|
import FormBase from '@client/components/form/base.vue';
|
||||||
|
@ -62,12 +61,11 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: {
|
[symbols.PAGE_INFO]: {
|
||||||
title: this.$ts.instanceInfo,
|
title: this.$ts.instanceInfo,
|
||||||
icon: faInfoCircle
|
icon: 'fas fa-info-circle'
|
||||||
},
|
},
|
||||||
version,
|
version,
|
||||||
instanceName,
|
instanceName,
|
||||||
stats: null,
|
stats: null,
|
||||||
faInfoCircle
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="type" @click="chooseType($event, i)">
|
<div class="type" @click="chooseType($event, i)">
|
||||||
{{ getTypeOf(v) }} <Fa :icon="faChevronDown"/>
|
{{ getTypeOf(v) }} <i class="fas fa-chevron-down"></i>
|
||||||
</div>
|
</div>
|
||||||
<!-- default -->
|
<!-- default -->
|
||||||
<div v-if="v === null" v-text="baseProps[k]" class="default-value" />
|
<div v-if="v === null" v-text="baseProps[k]" class="default-value" />
|
||||||
|
@ -92,7 +92,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faPalette, faChevronDown, faKeyboard } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as JSON5 from 'json5';
|
import * as JSON5 from 'json5';
|
||||||
import { toUnicode } from 'punycode/';
|
import { toUnicode } from 'punycode/';
|
||||||
|
|
||||||
|
@ -125,7 +124,7 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: {
|
[symbols.PAGE_INFO]: {
|
||||||
title: this.$ts.themeEditor,
|
title: this.$ts.themeEditor,
|
||||||
icon: faPalette,
|
icon: 'fas fa-palette',
|
||||||
},
|
},
|
||||||
theme: [] as ThemeViewModel,
|
theme: [] as ThemeViewModel,
|
||||||
name: '',
|
name: '',
|
||||||
|
@ -135,7 +134,6 @@ export default defineComponent({
|
||||||
themeToImport: '',
|
themeToImport: '',
|
||||||
changed: false,
|
changed: false,
|
||||||
lightTheme, darkTheme, themeProps,
|
lightTheme, darkTheme, themeProps,
|
||||||
faPalette, faChevronDown, faKeyboard,
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<img v-if="announcement.imageUrl" :src="announcement.imageUrl"/>
|
<img v-if="announcement.imageUrl" :src="announcement.imageUrl"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="_footer" v-if="$i && !announcement.isRead">
|
<div class="_footer" v-if="$i && !announcement.isRead">
|
||||||
<MkButton @click="read(items, announcement, i)" primary><Fa :icon="faCheck"/> {{ $ts.gotIt }}</MkButton>
|
<MkButton @click="read(items, announcement, i)" primary><i class="fas fa-check"></i> {{ $ts.gotIt }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faCheck, faBroadcastTower } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkPagination from '@client/components/ui/pagination.vue';
|
import MkPagination from '@client/components/ui/pagination.vue';
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
import * as os from '@client/os';
|
import * as os from '@client/os';
|
||||||
|
@ -33,13 +32,12 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: {
|
[symbols.PAGE_INFO]: {
|
||||||
title: this.$ts.announcements,
|
title: this.$ts.announcements,
|
||||||
icon: faBroadcastTower
|
icon: 'fas fa-broadcast-tower'
|
||||||
},
|
},
|
||||||
pagination: {
|
pagination: {
|
||||||
endpoint: 'announcements',
|
endpoint: 'announcements',
|
||||||
limit: 10,
|
limit: 10,
|
||||||
},
|
},
|
||||||
faCheck,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</MkSwitch>
|
</MkSwitch>
|
||||||
<MkButton primary full @click="send" :disabled="sending">
|
<MkButton primary full @click="send" :disabled="sending">
|
||||||
<template v-if="sending"><MkEllipsis/></template>
|
<template v-if="sending"><MkEllipsis/></template>
|
||||||
<template v-else><Fa :icon="faPaperPlane"/> Send</template>
|
<template v-else><i class="fas fa-paper-plane"></i> Send</template>
|
||||||
</MkButton>
|
</MkButton>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="res" class="_block" style="padding: 24px;">
|
<div v-if="res" class="_block" style="padding: 24px;">
|
||||||
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faTerminal, faPaperPlane } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import * as JSON5 from 'json5';
|
import * as JSON5 from 'json5';
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
import MkInput from '@client/components/ui/input.vue';
|
import MkInput from '@client/components/ui/input.vue';
|
||||||
|
@ -43,7 +42,7 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: {
|
[symbols.PAGE_INFO]: {
|
||||||
title: 'API console',
|
title: 'API console',
|
||||||
icon: faTerminal
|
icon: 'fas fa-terminal'
|
||||||
},
|
},
|
||||||
|
|
||||||
endpoint: '',
|
endpoint: '',
|
||||||
|
@ -53,7 +52,6 @@ export default defineComponent({
|
||||||
endpoints: [],
|
endpoints: [],
|
||||||
withCredential: true,
|
withCredential: true,
|
||||||
|
|
||||||
faPaperPlane
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -7,15 +7,15 @@
|
||||||
<MkTextarea v-model:value="description">{{ $ts.description }}</MkTextarea>
|
<MkTextarea v-model:value="description">{{ $ts.description }}</MkTextarea>
|
||||||
|
|
||||||
<div class="banner">
|
<div class="banner">
|
||||||
<MkButton v-if="bannerId == null" @click="setBannerImage"><Fa :icon="faPlus"/> {{ $ts._channel.setBanner }}</MkButton>
|
<MkButton v-if="bannerId == null" @click="setBannerImage"><i class="fas fa-plus"></i> {{ $ts._channel.setBanner }}</MkButton>
|
||||||
<div v-else-if="bannerUrl">
|
<div v-else-if="bannerUrl">
|
||||||
<img :src="bannerUrl" style="width: 100%;"/>
|
<img :src="bannerUrl" style="width: 100%;"/>
|
||||||
<MkButton @click="removeBannerImage()"><Fa :icon="faTrashAlt"/> {{ $ts._channel.removeBanner }}</MkButton>
|
<MkButton @click="removeBannerImage()"><i class="fas fa-trash-alt"></i> {{ $ts._channel.removeBanner }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="_footer">
|
<div class="_footer">
|
||||||
<MkButton @click="save()" primary><Fa :icon="faSave"/> {{ channelId ? $ts.save : $ts.create }}</MkButton>
|
<MkButton @click="save()" primary><i class="fas fa-save"></i> {{ channelId ? $ts.save : $ts.create }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -23,8 +23,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { computed, defineComponent } from 'vue';
|
import { computed, defineComponent } from 'vue';
|
||||||
import { faPlus, faSatelliteDish } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faSave, faTrashAlt } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import MkTextarea from '@client/components/ui/textarea.vue';
|
import MkTextarea from '@client/components/ui/textarea.vue';
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
import MkInput from '@client/components/ui/input.vue';
|
import MkInput from '@client/components/ui/input.vue';
|
||||||
|
@ -48,17 +46,16 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: computed(() => this.channelId ? {
|
[symbols.PAGE_INFO]: computed(() => this.channelId ? {
|
||||||
title: this.$ts._channel.edit,
|
title: this.$ts._channel.edit,
|
||||||
icon: faSatelliteDish,
|
icon: 'fas fa-satellite-dish',
|
||||||
} : {
|
} : {
|
||||||
title: this.$ts._channel.create,
|
title: this.$ts._channel.create,
|
||||||
icon: faSatelliteDish,
|
icon: 'fas fa-satellite-dish',
|
||||||
}),
|
}),
|
||||||
channel: null,
|
channel: null,
|
||||||
name: null,
|
name: null,
|
||||||
description: null,
|
description: null,
|
||||||
bannerUrl: null,
|
bannerUrl: null,
|
||||||
bannerId: null,
|
bannerId: null,
|
||||||
faSave, faTrashAlt, faPlus,faSatelliteDish,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -3,15 +3,15 @@
|
||||||
<div class="wpgynlbz _content _panel _gap" :class="{ hide: !showBanner }">
|
<div class="wpgynlbz _content _panel _gap" :class="{ hide: !showBanner }">
|
||||||
<XChannelFollowButton :channel="channel" :full="true" class="subscribe"/>
|
<XChannelFollowButton :channel="channel" :full="true" class="subscribe"/>
|
||||||
<button class="_button toggle" @click="() => showBanner = !showBanner">
|
<button class="_button toggle" @click="() => showBanner = !showBanner">
|
||||||
<template v-if="showBanner"><Fa :icon="faAngleUp"/></template>
|
<template v-if="showBanner"><i class="fas fa-angle-up"></i></template>
|
||||||
<template v-else><Fa :icon="faAngleDown"/></template>
|
<template v-else><i class="fas fa-angle-down"></i></template>
|
||||||
</button>
|
</button>
|
||||||
<div class="hideOverlay" v-if="!showBanner">
|
<div class="hideOverlay" v-if="!showBanner">
|
||||||
</div>
|
</div>
|
||||||
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : null }" class="banner">
|
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : null }" class="banner">
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<div><Fa :icon="faUsers" fixed-width/><I18n :src="$ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
|
<div><i class="fas fa-users fa-fw"></i><I18n :src="$ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
|
||||||
<div><Fa :icon="faPencilAlt" fixed-width/><I18n :src="$ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div>
|
<div><i class="fas fa-pencil-alt fa-fw"></i><I18n :src="$ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="fade"></div>
|
<div class="fade"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,8 +28,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { computed, defineComponent } from 'vue';
|
import { computed, defineComponent } from 'vue';
|
||||||
import { faSatelliteDish, faUsers, faPencilAlt, faAngleUp, faAngleDown } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import MkContainer from '@client/components/ui/container.vue';
|
import MkContainer from '@client/components/ui/container.vue';
|
||||||
import XPostForm from '@client/components/post-form.vue';
|
import XPostForm from '@client/components/post-form.vue';
|
||||||
import XTimeline from '@client/components/timeline.vue';
|
import XTimeline from '@client/components/timeline.vue';
|
||||||
|
@ -56,7 +54,7 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: computed(() => this.channel ? {
|
[symbols.PAGE_INFO]: computed(() => this.channel ? {
|
||||||
title: this.channel.name,
|
title: this.channel.name,
|
||||||
icon: faSatelliteDish,
|
icon: 'fas fa-satellite-dish',
|
||||||
} : null),
|
} : null),
|
||||||
channel: null,
|
channel: null,
|
||||||
showBanner: true,
|
showBanner: true,
|
||||||
|
@ -67,7 +65,6 @@ export default defineComponent({
|
||||||
channelId: this.channelId,
|
channelId: this.channelId,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
faSatelliteDish, faUsers, faPencilAlt, faAngleUp, faAngleDown,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -111,7 +108,7 @@ export default defineComponent({
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
|
|
||||||
> [data-icon] {
|
> i {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="_section" style="padding: 0;" v-if="$i">
|
<div class="_section" style="padding: 0;" v-if="$i">
|
||||||
<MkTab class="_content" v-model:value="tab">
|
<MkTab class="_content" v-model:value="tab">
|
||||||
<option value="featured"><Fa :icon="faFireAlt"/> {{ $ts._channel.featured }}</option>
|
<option value="featured"><i class="fas fa-fire-alt"></i> {{ $ts._channel.featured }}</option>
|
||||||
<option value="following"><Fa :icon="faHeart"/> {{ $ts._channel.following }}</option>
|
<option value="following"><i class="fas fa-heart"></i> {{ $ts._channel.following }}</option>
|
||||||
<option value="owned"><Fa :icon="faEdit"/> {{ $ts._channel.owned }}</option>
|
<option value="owned"><i class="fas fa-edit"></i> {{ $ts._channel.owned }}</option>
|
||||||
</MkTab>
|
</MkTab>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="_content grwlizim owned" v-if="tab === 'owned'">
|
<div class="_content grwlizim owned" v-if="tab === 'owned'">
|
||||||
<MkButton class="new" @click="create()"><Fa :icon="faPlus"/></MkButton>
|
<MkButton class="new" @click="create()"><i class="fas fa-plus"></i></MkButton>
|
||||||
<MkPagination :pagination="ownedPagination" #default="{items}">
|
<MkPagination :pagination="ownedPagination" #default="{items}">
|
||||||
<MkChannelPreview v-for="channel in items" class="_gap" :channel="channel" :key="channel.id"/>
|
<MkChannelPreview v-for="channel in items" class="_gap" :channel="channel" :key="channel.id"/>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
|
@ -33,8 +33,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { faSatelliteDish, faPlus, faEdit, faFireAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import { faHeart } from '@fortawesome/free-regular-svg-icons';
|
|
||||||
import MkChannelPreview from '@client/components/channel-preview.vue';
|
import MkChannelPreview from '@client/components/channel-preview.vue';
|
||||||
import MkPagination from '@client/components/ui/pagination.vue';
|
import MkPagination from '@client/components/ui/pagination.vue';
|
||||||
import MkButton from '@client/components/ui/button.vue';
|
import MkButton from '@client/components/ui/button.vue';
|
||||||
|
@ -49,9 +47,9 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: {
|
[symbols.PAGE_INFO]: {
|
||||||
title: this.$ts.channel,
|
title: this.$ts.channel,
|
||||||
icon: faSatelliteDish,
|
icon: 'fas fa-satellite-dish',
|
||||||
action: {
|
action: {
|
||||||
icon: faPlus,
|
icon: 'fas fa-plus',
|
||||||
handler: this.create
|
handler: this.create
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -68,7 +66,6 @@ export default defineComponent({
|
||||||
endpoint: 'channels/owned',
|
endpoint: 'channels/owned',
|
||||||
limit: 5,
|
limit: 5,
|
||||||
},
|
},
|
||||||
faSatelliteDish, faPlus, faEdit, faHeart, faFireAlt
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<Mfm :text="clip.description" :is-note="false" :i="$i"/>
|
<Mfm :text="clip.description" :is-note="false" :i="$i"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="user">
|
<div class="user">
|
||||||
<MkAvatar :user="clip.user" class="avatar"/> <MkUserName :user="clip.user" :nowrap="false"/>
|
<MkAvatar :user="clip.user" class="avatar" :show-indicator="true"/> <MkUserName :user="clip.user" :nowrap="false"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { computed, defineComponent } from 'vue';
|
import { computed, defineComponent } from 'vue';
|
||||||
import { faEllipsisH, faPaperclip, faPencilAlt, faTrashAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import MkContainer from '@client/components/ui/container.vue';
|
import MkContainer from '@client/components/ui/container.vue';
|
||||||
import XPostForm from '@client/components/post-form.vue';
|
import XPostForm from '@client/components/post-form.vue';
|
||||||
import XNotes from '@client/components/notes.vue';
|
import XNotes from '@client/components/notes.vue';
|
||||||
|
@ -40,9 +39,9 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: computed(() => this.clip ? {
|
[symbols.PAGE_INFO]: computed(() => this.clip ? {
|
||||||
title: this.clip.name,
|
title: this.clip.name,
|
||||||
icon: faPaperclip,
|
icon: 'fas fa-paperclip',
|
||||||
action: {
|
action: {
|
||||||
icon: faEllipsisH,
|
icon: 'fas fa-ellipsis-h',
|
||||||
handler: this.menu
|
handler: this.menu
|
||||||
}
|
}
|
||||||
} : null),
|
} : null),
|
||||||
|
@ -81,7 +80,7 @@ export default defineComponent({
|
||||||
methods: {
|
methods: {
|
||||||
menu(ev) {
|
menu(ev) {
|
||||||
os.modalMenu([this.isOwned ? {
|
os.modalMenu([this.isOwned ? {
|
||||||
icon: faPencilAlt,
|
icon: 'fas fa-pencil-alt',
|
||||||
text: this.$ts.edit,
|
text: this.$ts.edit,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const { canceled, result } = await os.form(this.clip.name, {
|
const { canceled, result } = await os.form(this.clip.name, {
|
||||||
|
@ -111,7 +110,7 @@ export default defineComponent({
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} : undefined, this.isOwned ? {
|
} : undefined, this.isOwned ? {
|
||||||
icon: faTrashAlt,
|
icon: 'fas fa-trash-alt',
|
||||||
text: this.$ts.delete,
|
text: this.$ts.delete,
|
||||||
danger: true,
|
danger: true,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { computed, defineComponent } from 'vue';
|
import { computed, defineComponent } from 'vue';
|
||||||
import { faQuestionCircle } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import MarkdownIt from 'markdown-it';
|
import MarkdownIt from 'markdown-it';
|
||||||
import MarkdownItAnchor from 'markdown-it-anchor';
|
import MarkdownItAnchor from 'markdown-it-anchor';
|
||||||
import { url, lang } from '@client/config';
|
import { url, lang } from '@client/config';
|
||||||
|
@ -41,7 +40,7 @@ export default defineComponent({
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: computed(() => this.title ? {
|
[symbols.PAGE_INFO]: computed(() => this.title ? {
|
||||||
title: this.title,
|
title: this.title,
|
||||||
icon: faQuestionCircle,
|
icon: 'fas fa-question-circle',
|
||||||
} : null),
|
} : null),
|
||||||
title: null,
|
title: null,
|
||||||
body: null,
|
body: null,
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue