Merge branch 'develop' into enh-12733

This commit is contained in:
kakkokari-gtyih 2025-07-20 13:19:18 +09:00
commit ae7dd5b744
147 changed files with 4130 additions and 2998 deletions

View File

@ -13,3 +13,7 @@ trim_trailing_whitespace = false
[*.{yml,yaml}] [*.{yml,yaml}]
indent_style = space indent_style = space
[packages/backend/migration/*.js]
indent_style = space
indent_size = 4

View File

@ -1 +1 @@
20.10.0 20.18.1

View File

@ -15,3 +15,5 @@ redis:
host: 127.0.0.1 host: 127.0.0.1
port: 56312 port: 56312
id: aidx id: aidx
proxyRemoteFiles: true

View File

@ -152,3 +152,47 @@ jobs:
with: with:
token: ${{ secrets.CODECOV_TOKEN }} token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/backend/coverage/coverage-final.json files: ./packages/backend/coverage/coverage-final.json
migration:
name: Migration tests (backend)
runs-on: ubuntu-latest
strategy:
matrix:
node-version-file:
- .node-version
#- .github/min.node-version
services:
postgres:
image: postgres:15
ports:
- 54312:5432
env:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust
steps:
- uses: actions/checkout@v4.2.2
with:
submodules: true
- name: Setup pnpm
uses: pnpm/action-setup@v4.1.0
- name: Get current date
id: current-date
run: echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: Use Node.js
uses: actions/setup-node@v4.4.0
with:
node-version-file: ${{ matrix.node-version-file }}
cache: 'pnpm'
- run: pnpm i --frozen-lockfile
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Copy Configure
run: cp .github/misskey/test.yml .config
- name: Build
run: pnpm build
- name: Run migrations
run: MISSKEY_CONFIG_YML=test.yml pnpm --filter backend migrate
- name: Check no migrations are remaining
run: MISSKEY_CONFIG_YML=test.yml pnpm --filter backend check-migrations

View File

@ -1,11 +1,30 @@
## Unreleased
### General
-
### Client
-
### Server
-
## 2025.7.0 ## 2025.7.0
### Note
- Node.jsの最小バージョンを20.10.0から20.18.1に引き上げました
- なお、特に必要がない限りNode.jsは推奨バージョンであるv22を使用するようにしてください
### General ### General
- Feat: ノートの下書き機能 - Feat: ノートの下書き機能
- Feat: クリップ内でノートを検索できるように - Feat: クリップ内でノートを検索できるように
- Feat: Playを検索できるように - Feat: Playを検索できるように
- Feat: モデレーションにおいて、特定のドライブファイルを添付しているチャットメッセージを一覧できるように
- Enhance: ウォーターマーク機能をロールで制御可能に
### Client ### Client
- Note: 「自動でもっと見る」オプションは無効になっています
- Feat: モデログを検索できるように - Feat: モデログを検索できるように
- Enhance: 設定の自動バックアップをオンにした直後に自動バックアップするように - Enhance: 設定の自動バックアップをオンにした直後に自動バックアップするように
- Enhance: ファイルアップロード前にキャプション設定を行えるように - Enhance: ファイルアップロード前にキャプション設定を行えるように
@ -13,13 +32,17 @@
- Enhance: 投稿フォームにファイルをペースト/ドロップした際のUXを改善 - Enhance: 投稿フォームにファイルをペースト/ドロップした際のUXを改善
- Enhance: ページネーション(一覧表示)の並び順を逆にできるように - Enhance: ページネーション(一覧表示)の並び順を逆にできるように
- Enhance: ページネーション(一覧表示)の基準日時を指定できるように - Enhance: ページネーション(一覧表示)の基準日時を指定できるように
- Enhance: レンダリングパフォーマンスの向上
- Fix: ファイルがドライブの既定アップロード先に指定したフォルダにアップロードされない問題を修正 - Fix: ファイルがドライブの既定アップロード先に指定したフォルダにアップロードされない問題を修正
- Fix: プラグインをアンインストールしてもセーブデータが残る問題を修正 - Fix: プラグインをアンインストールしてもセーブデータが残る問題を修正
- Fix: 数時間後Misskeyのタブに戻った際に、タブがスロットリングされている間の更新アニメーションを延々見せ続けられる問題を修正 - Fix: 数時間後Misskeyのタブに戻った際に、タブがスロットリングされている間の更新アニメーションを延々見せ続けられる問題を修正
- Fix: 非ログイン時のハイライトートの画像がCWの有無を考慮せず表示される問題を修正 - Fix: 非ログイン時のハイライトートの画像がCWの有無を考慮せず表示される問題を修正
- Fix: レンジ選択・ドロップダウンにて、操作を無効にすべきところで無効にならない問題を修正
- Fix: Pull to refreshが有効なときに横スクロールができない問題を修正
### Server ### Server
- Enhance: sinceId/untilIdが指定可能なエンドポイントにおいて、sinceDate/untilDateも指定可能に - Enhance: sinceId/untilIdが指定可能なエンドポイントにおいて、sinceDate/untilDateも指定可能に
- Enhance: メールの送信者としてサーバー名を表示するように (サーバー名が設定されている場合)
- Fix: ジョブキューのProgressの値を正しく計算する - Fix: ジョブキューのProgressの値を正しく計算する

View File

@ -18,6 +18,7 @@ WORKDIR /misskey
COPY --link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"] COPY --link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"]
COPY --link ["scripts", "./scripts"] COPY --link ["scripts", "./scripts"]
COPY --link ["patches", "./patches"]
COPY --link ["packages/backend/package.json", "./packages/backend/"] COPY --link ["packages/backend/package.json", "./packages/backend/"]
COPY --link ["packages/frontend-shared/package.json", "./packages/frontend-shared/"] COPY --link ["packages/frontend-shared/package.json", "./packages/frontend-shared/"]
COPY --link ["packages/frontend/package.json", "./packages/frontend/"] COPY --link ["packages/frontend/package.json", "./packages/frontend/"]
@ -53,6 +54,7 @@ WORKDIR /misskey
COPY --link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"] COPY --link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"]
COPY --link ["scripts", "./scripts"] COPY --link ["scripts", "./scripts"]
COPY --link ["patches", "./patches"]
COPY --link ["packages/backend/package.json", "./packages/backend/"] COPY --link ["packages/backend/package.json", "./packages/backend/"]
COPY --link ["packages/misskey-js/package.json", "./packages/misskey-js/"] COPY --link ["packages/misskey-js/package.json", "./packages/misskey-js/"]
COPY --link ["packages/misskey-reversi/package.json", "./packages/misskey-reversi/"] COPY --link ["packages/misskey-reversi/package.json", "./packages/misskey-reversi/"]

View File

@ -78,6 +78,8 @@ describe('After setup instance', () => {
cy.get('[data-cy-signup-password] input').type('alice1234'); cy.get('[data-cy-signup-password] input').type('alice1234');
cy.get('[data-cy-signup-submit]').should('be.disabled'); cy.get('[data-cy-signup-submit]').should('be.disabled');
cy.get('[data-cy-signup-password-retype] input').type('alice1234'); cy.get('[data-cy-signup-password-retype] input').type('alice1234');
cy.get('[data-cy-signup-submit]').should('be.disabled');
cy.get('[data-cy-signup-invitation-code] input').type('test-invitation-code');
cy.get('[data-cy-signup-submit]').should('not.be.disabled'); cy.get('[data-cy-signup-submit]').should('not.be.disabled');
cy.get('[data-cy-signup-submit]').click(); cy.get('[data-cy-signup-submit]').click();

View File

@ -1998,6 +1998,7 @@ _role:
uploadableFileTypes_caption: "Especifica el tipus MIME. Es poden especificar diferents tipus MIME separats amb una nova línia, i es poden especificar comodins amb asteriscs (*). (Per exemple: image/*)" uploadableFileTypes_caption: "Especifica el tipus MIME. Es poden especificar diferents tipus MIME separats amb una nova línia, i es poden especificar comodins amb asteriscs (*). (Per exemple: image/*)"
uploadableFileTypes_caption2: "Pot que no sigui possible determinar el tipus MIME d'alguns arxius. Per permetre aquests tipus d'arxius afegeix {x} a les especificacions." uploadableFileTypes_caption2: "Pot que no sigui possible determinar el tipus MIME d'alguns arxius. Per permetre aquests tipus d'arxius afegeix {x} a les especificacions."
noteDraftLimit: "Nombre possible d'esborranys de notes al servidor" noteDraftLimit: "Nombre possible d'esborranys de notes al servidor"
watermarkAvailable: "Pots fer servir la marca d'aigua"
_condition: _condition:
roleAssignedTo: "Assignat a rols manuals" roleAssignedTo: "Assignat a rols manuals"
isLocal: "Usuari local" isLocal: "Usuari local"
@ -2806,6 +2807,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "Pujat el" uploadedAt: "Pujat el"
attachedNotes: "Notes amb aquest fitxer" attachedNotes: "Notes amb aquest fitxer"
usage: "Ús "
thisPageCanBeSeenFromTheAuthor: "Aquesta pàgina només la pot veure l'usuari que ha pujat aquest fitxer." thisPageCanBeSeenFromTheAuthor: "Aquesta pàgina només la pot veure l'usuari que ha pujat aquest fitxer."
_externalResourceInstaller: _externalResourceInstaller:
title: "Instal·lar des d'un lloc extern" title: "Instal·lar des d'un lloc extern"
@ -3182,7 +3184,7 @@ drafts: "Esborrany "
_drafts: _drafts:
select: "Seleccionar esborrany" select: "Seleccionar esborrany"
cannotCreateDraftAnymore: "S'ha sobrepassat el nombre màxim d'esborranys que es poden crear." cannotCreateDraftAnymore: "S'ha sobrepassat el nombre màxim d'esborranys que es poden crear."
cannotCreateDraftOfRenote: "No es poden crear esborranys de remotes." cannotCreateDraft: "Amb aquest contingut no es poden crear esborranys."
delete: "Esborrar esborranys" delete: "Esborrar esborranys"
deleteAreYouSure: "Vols esborrar els esborranys?" deleteAreYouSure: "Vols esborrar els esborranys?"
noDrafts: "No hi ha esborranys" noDrafts: "No hi ha esborranys"

View File

@ -1313,6 +1313,7 @@ availableRoles: "Verfügbare Rollen"
acknowledgeNotesAndEnable: "Schalten Sie dies erst ein, wenn Sie die Vorsichtsmaßnahmen verstanden haben." acknowledgeNotesAndEnable: "Schalten Sie dies erst ein, wenn Sie die Vorsichtsmaßnahmen verstanden haben."
federationSpecified: "Dieser Server arbeitet mit Whitelist-Föderation. Er kann nicht mit anderen als den vom Administrator angegebenen Servern interagieren." federationSpecified: "Dieser Server arbeitet mit Whitelist-Föderation. Er kann nicht mit anderen als den vom Administrator angegebenen Servern interagieren."
federationDisabled: "Föderation ist auf diesem Server deaktiviert. Es ist nicht möglich, mit Benutzern auf anderen Servern zu interagieren." federationDisabled: "Föderation ist auf diesem Server deaktiviert. Es ist nicht möglich, mit Benutzern auf anderen Servern zu interagieren."
draft: "Entwurf"
confirmOnReact: "Reagieren bestätigen" confirmOnReact: "Reagieren bestätigen"
reactAreYouSure: "Willst du eine \"{emoji}\"-Reaktion hinzufügen?" reactAreYouSure: "Willst du eine \"{emoji}\"-Reaktion hinzufügen?"
markAsSensitiveConfirm: "Möchtest du dieses Medium als sensibel kennzeichnen?" markAsSensitiveConfirm: "Möchtest du dieses Medium als sensibel kennzeichnen?"
@ -1367,6 +1368,9 @@ redisplayAllTips: "Alle „Tipps und Tricks“ wieder anzeigen"
hideAllTips: "Alle „Tipps und Tricks“ ausblenden" hideAllTips: "Alle „Tipps und Tricks“ ausblenden"
defaultImageCompressionLevel: "Standard-Bildkomprimierungsstufe" defaultImageCompressionLevel: "Standard-Bildkomprimierungsstufe"
defaultImageCompressionLevel_description: "Ein niedrigerer Wert erhält die Bildqualität, erhöht aber die Dateigröße. <br>Höhere Werte reduzieren die Dateigröße, verringern aber die Bildqualität." defaultImageCompressionLevel_description: "Ein niedrigerer Wert erhält die Bildqualität, erhöht aber die Dateigröße. <br>Höhere Werte reduzieren die Dateigröße, verringern aber die Bildqualität."
_order:
newest: "Neueste zuerst"
oldest: "Älteste zuerst"
_chat: _chat:
noMessagesYet: "Noch keine Nachrichten" noMessagesYet: "Noch keine Nachrichten"
newMessage: "Neue Nachricht" newMessage: "Neue Nachricht"
@ -1993,6 +1997,8 @@ _role:
uploadableFileTypes: "Hochladbare Dateitypen" uploadableFileTypes: "Hochladbare Dateitypen"
uploadableFileTypes_caption: "Gibt die zulässigen MIME-/Dateitypen an. Mehrere MIME-Typen können durch einen Zeilenumbruch getrennt angegeben werden, und Platzhalter können mit einem Sternchen (*) angegeben werden. (z. B. image/*)" uploadableFileTypes_caption: "Gibt die zulässigen MIME-/Dateitypen an. Mehrere MIME-Typen können durch einen Zeilenumbruch getrennt angegeben werden, und Platzhalter können mit einem Sternchen (*) angegeben werden. (z. B. image/*)"
uploadableFileTypes_caption2: "Bei manchen Dateien ist es nicht möglich, den Typ zu bestimmen. Um solche Dateien zuzulassen, füge {x} der Spezifikation hinzu." uploadableFileTypes_caption2: "Bei manchen Dateien ist es nicht möglich, den Typ zu bestimmen. Um solche Dateien zuzulassen, füge {x} der Spezifikation hinzu."
noteDraftLimit: "Anzahl der möglichen Entwürfe für serverseitige Notizen"
watermarkAvailable: "Kann die Wasserzeichenfunktion verwenden"
_condition: _condition:
roleAssignedTo: "Manuellen Rollen zugewiesen" roleAssignedTo: "Manuellen Rollen zugewiesen"
isLocal: "Lokaler Benutzer" isLocal: "Lokaler Benutzer"
@ -2152,6 +2158,7 @@ _theme:
install: "Farbschemata installieren" install: "Farbschemata installieren"
manage: "Farbschemaverwaltung" manage: "Farbschemaverwaltung"
code: "Farbschemencode" code: "Farbschemencode"
copyThemeCode: "Farbschemencode kopieren"
description: "Beschreibung" description: "Beschreibung"
installed: "{name} wurde installiert" installed: "{name} wurde installiert"
installedThemes: "Installierte Farbschemata" installedThemes: "Installierte Farbschemata"
@ -3103,6 +3110,7 @@ _serverSetupWizard:
text2: "Wir würden uns über deine Unterstützung freuen, damit wir dieses Projekt auch in Zukunft weiterentwickeln können." text2: "Wir würden uns über deine Unterstützung freuen, damit wir dieses Projekt auch in Zukunft weiterentwickeln können."
text3: "Für Unterstützer gibt es auch besondere Vorteile!" text3: "Für Unterstützer gibt es auch besondere Vorteile!"
_uploader: _uploader:
editImage: "Bild bearbeiten"
compressedToX: "Komprimiert zu {x}" compressedToX: "Komprimiert zu {x}"
savedXPercent: "{x}% gespart" savedXPercent: "{x}% gespart"
abortConfirm: "Einige Dateien wurden nicht hochgeladen. Möchtest du den Vorgang abbrechen?" abortConfirm: "Einige Dateien wurden nicht hochgeladen. Möchtest du den Vorgang abbrechen?"
@ -3141,6 +3149,12 @@ _watermarkEditor:
stripeWidth: "Linienbreite" stripeWidth: "Linienbreite"
stripeFrequency: "Linienanzahl" stripeFrequency: "Linienanzahl"
angle: "Winkel" angle: "Winkel"
polkadot: "Punktmuster"
polkadotMainDotOpacity: "Deckkraft des Hauptpunktes"
polkadotMainDotRadius: "Größe des Hauptpunktes"
polkadotSubDotOpacity: "Deckkraft des Unterpunktes"
polkadotSubDotRadius: "Größe des Unterpunktes"
polkadotSubDotDivisions: "Anzahl der Unterpunkte"
_imageEffector: _imageEffector:
title: "Effekte" title: "Effekte"
addEffect: "Effekte hinzufügen" addEffect: "Effekte hinzufügen"
@ -3156,5 +3170,18 @@ _imageEffector:
colorClampAdvanced: "Farbkomprimierung (erweitert)" colorClampAdvanced: "Farbkomprimierung (erweitert)"
distort: "Verzerrung" distort: "Verzerrung"
stripe: "Streifen" stripe: "Streifen"
polkadot: "Punktmuster"
drafts: "Entwurf"
_drafts: _drafts:
select: "Entwurf auswählen"
cannotCreateDraftAnymore: "Die Anzahl der Entwürfe, die erstellt werden können, wurde überschritten."
cannotCreateDraft: "Mit diesem Inhalt kann kein Entwurf erstellt werden."
delete: "Entwurf löschen"
deleteAreYouSure: "Entwurf löschen?"
noDrafts: "Keine Entwürfe"
replyTo: "Antwort an {user}"
quoteOf: "Zitat von {user}s Notiz"
saveToDraft: "Als Entwurf speichern"
restoreFromDraft: "Aus Entwurf wiederherstellen"
restore: "Wiederherstellen" restore: "Wiederherstellen"
listDrafts: "Liste der Entwürfe"

View File

@ -1367,7 +1367,7 @@ tip: "Tips & Tricks"
redisplayAllTips: "Show all “Tips & Tricks” again" redisplayAllTips: "Show all “Tips & Tricks” again"
hideAllTips: "Hide all \"Tips & Tricks\"" hideAllTips: "Hide all \"Tips & Tricks\""
defaultImageCompressionLevel: "Default image compression level" defaultImageCompressionLevel: "Default image compression level"
defaultImageCompressionLevel_description: "High, reduces the file size but also the image quality. <br>High, reduces the file size but also the image quality." defaultImageCompressionLevel_description: "Lower level preserves image quality but increases file size.<br>Higher level reduce file size, but reduce image quality."
_order: _order:
newest: "Newest First" newest: "Newest First"
oldest: "Oldest First" oldest: "Oldest First"
@ -1998,6 +1998,7 @@ _role:
uploadableFileTypes_caption: "Specifies the allowed MIME/file types. Multiple MIME types can be specified by separating them with a new line, and wildcards can be specified with an asterisk (*). (e.g., image/*)" uploadableFileTypes_caption: "Specifies the allowed MIME/file types. Multiple MIME types can be specified by separating them with a new line, and wildcards can be specified with an asterisk (*). (e.g., image/*)"
uploadableFileTypes_caption2: "Some files types might fail to be detected. To allow such files, add {x} to the specification." uploadableFileTypes_caption2: "Some files types might fail to be detected. To allow such files, add {x} to the specification."
noteDraftLimit: "Number of possible drafts of server notes" noteDraftLimit: "Number of possible drafts of server notes"
watermarkAvailable: "Availability of watermark function"
_condition: _condition:
roleAssignedTo: "Assigned to manual roles" roleAssignedTo: "Assigned to manual roles"
isLocal: "Local user" isLocal: "Local user"
@ -2806,6 +2807,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "Uploaded at" uploadedAt: "Uploaded at"
attachedNotes: "Attached notes" attachedNotes: "Attached notes"
usage: "Used"
thisPageCanBeSeenFromTheAuthor: "This page can only be seen by the user who uploaded this file." thisPageCanBeSeenFromTheAuthor: "This page can only be seen by the user who uploaded this file."
_externalResourceInstaller: _externalResourceInstaller:
title: "Install from external site" title: "Install from external site"
@ -3182,7 +3184,7 @@ drafts: "Drafts"
_drafts: _drafts:
select: "Select Draft" select: "Select Draft"
cannotCreateDraftAnymore: "The number of drafts that can be created has been exceeded." cannotCreateDraftAnymore: "The number of drafts that can be created has been exceeded."
cannotCreateDraftOfRenote: "You cannot create a draft of a renote." cannotCreateDraft: "You cannot create a draft with this content."
delete: "Delete Draft" delete: "Delete Draft"
deleteAreYouSure: "Delete draft?" deleteAreYouSure: "Delete draft?"
noDrafts: "No drafts" noDrafts: "No drafts"

View File

@ -61,7 +61,7 @@ copyRSS: "Copiar RSS"
copyUsername: "Copiar nombre de usuario" copyUsername: "Copiar nombre de usuario"
copyUserId: "Copiar ID del usuario" copyUserId: "Copiar ID del usuario"
copyNoteId: "Copiar ID de la nota" copyNoteId: "Copiar ID de la nota"
copyFileId: "Copiar ID del archivo" copyFileId: "Copiar ID de archivo"
copyFolderId: "Copiar ID de carpeta" copyFolderId: "Copiar ID de carpeta"
copyProfileUrl: "Copiar la URL del perfil" copyProfileUrl: "Copiar la URL del perfil"
searchUser: "Buscar un usuario" searchUser: "Buscar un usuario"
@ -83,10 +83,10 @@ files: "Archivos"
download: "Descargar" download: "Descargar"
driveFileDeleteConfirm: "¿Desea borrar el archivo \"{name}\"? Las notas que tengan este archivo como adjunto serán eliminadas" driveFileDeleteConfirm: "¿Desea borrar el archivo \"{name}\"? Las notas que tengan este archivo como adjunto serán eliminadas"
unfollowConfirm: "¿Desea dejar de seguir a {name}?" unfollowConfirm: "¿Desea dejar de seguir a {name}?"
exportRequested: "Se ha solicitado la exportación. Puede tomar un tiempo. Cuando termine la exportación, se añadirá en el drive" exportRequested: "Has solicitado la exportación. Puede llevar un tiempo. Cuando termine la exportación, se añadirá al drive"
importRequested: "Se ha solicitado la importación. Puede tomar un tiempo." importRequested: "Has solicitado la importación. Puede llevar un tiempo."
lists: "Listas" lists: "Listas"
noLists: "No tiene listas" noLists: "No tienes ninguna lista"
note: "Notas" note: "Notas"
notes: "Notas" notes: "Notas"
following: "Siguiendo" following: "Siguiendo"
@ -99,9 +99,9 @@ somethingHappened: "Ocurrió un error"
retry: "Reintentar" retry: "Reintentar"
pageLoadError: "Error al leer la página" pageLoadError: "Error al leer la página"
pageLoadErrorDescription: "Normalmente es debido a la red o al caché del navegador. Por favor limpie el caché o intente más tarde." pageLoadErrorDescription: "Normalmente es debido a la red o al caché del navegador. Por favor limpie el caché o intente más tarde."
serverIsDead: "No hay respuesta del servidor. Espere un momento y vuelva a intentarlo." serverIsDead: "No hay respuesta del servidor. Espera un momento y vuelve a intentarlo."
youShouldUpgradeClient: "Para ver esta página, por favor refrezca el navegador y utiliza una versión más reciente del cliente." youShouldUpgradeClient: "Para ver esta página, recarga el navegador para actualizar el cliente."
enterListName: "Ingrese nombre de lista" enterListName: "Introduce un nombre para la lista"
privacy: "Privacidad" privacy: "Privacidad"
makeFollowManuallyApprove: "Aprobar manualmente las solicitudes de seguimiento" makeFollowManuallyApprove: "Aprobar manualmente las solicitudes de seguimiento"
defaultNoteVisibility: "Visibilidad por defecto" defaultNoteVisibility: "Visibilidad por defecto"
@ -134,28 +134,28 @@ emojiPicker: "Selector de emojis"
pinnedEmojisForReactionSettingDescription: "Puedes seleccionar reacciones para fijarlos en el selector" pinnedEmojisForReactionSettingDescription: "Puedes seleccionar reacciones para fijarlos en el selector"
pinnedEmojisSettingDescription: "Puedes seleccionar emojis para fijarlos en el selector" pinnedEmojisSettingDescription: "Puedes seleccionar emojis para fijarlos en el selector"
emojiPickerDisplay: "Mostrar el selector de emojis" emojiPickerDisplay: "Mostrar el selector de emojis"
overwriteFromPinnedEmojisForReaction: "Sobreescribir las reacciones fijadas" overwriteFromPinnedEmojisForReaction: "Sobreescribir los ajustes de reacciones"
overwriteFromPinnedEmojis: "Sobreescribir los emojis fijados" overwriteFromPinnedEmojis: "Sobreescribir los ajustes generales"
reactionSettingDescription2: "Arrastre para reordenar, click para borrar, apriete la tecla + para añadir." reactionSettingDescription2: "Arrastra para reordenar, click para borrar, pulsa \"+\" para añadir."
rememberNoteVisibility: "Recordar visibilidad" rememberNoteVisibility: "Recordar visibilidad"
attachCancel: "Quitar adjunto" attachCancel: "Quitar adjunto"
deleteFile: "Archivo eliminado" deleteFile: "Eliminar archivo"
markAsSensitive: "Marcar como sensible" markAsSensitive: "Marcar como sensible"
unmarkAsSensitive: "Desmarcar como sensible" unmarkAsSensitive: "Desmarcar como sensible"
enterFileName: "Ingrese el nombre del archivo" enterFileName: "Introduce el nombre del archivo"
mute: "Silenciar" mute: "Silenciar"
unmute: "Dejar de silenciar" unmute: "Dejar de silenciar"
renoteMute: "Silenciar renota" renoteMute: "Silenciar renota"
renoteUnmute: "Desilenciar renota" renoteUnmute: "Desilenciar renota"
block: "Bloquear" block: "Bloquear"
unblock: "Dejar de bloquear" unblock: "Desbloquear"
suspend: "Suspender" suspend: "Suspender"
unsuspend: "Dejar de suspender" unsuspend: "Dejar de suspender"
blockConfirm: "¿Quiere bloquear esta cuenta?" blockConfirm: "¿Quieres bloquear esta cuenta?"
unblockConfirm: "¿Quiere dejar de bloquear esta cuenta?" unblockConfirm: "¿Quieres desbloquear esta cuenta?"
suspendConfirm: "¿Quiere suspender esta cuenta?" suspendConfirm: "¿Quieres suspender esta cuenta?"
unsuspendConfirm: "¿Quiere dejar de suspender esta cuenta?" unsuspendConfirm: "¿Quieres dejar de suspender esta cuenta?"
selectList: "Seleccione una lista" selectList: "Selecciona una lista"
editList: "Editar lista" editList: "Editar lista"
selectChannel: "Seleccionar canal" selectChannel: "Seleccionar canal"
selectAntenna: "Seleccionar antena" selectAntenna: "Seleccionar antena"
@ -163,55 +163,55 @@ editAntenna: "Editar antena"
createAntenna: "Crear una antena" createAntenna: "Crear una antena"
selectWidget: "Seleccionar widget" selectWidget: "Seleccionar widget"
editWidgets: "Editar widgets" editWidgets: "Editar widgets"
editWidgetsExit: "Terminar edición" editWidgetsExit: "Hecho"
customEmojis: "Emojis personalizados" customEmojis: "Emojis personalizados"
emoji: "Emoji" emoji: "Emoji"
emojis: "Emoji" emojis: "Emojis"
emojiName: "Nombre del emoji" emojiName: "Nombre del emoji"
emojiUrl: "URL de la imagen del emoji" emojiUrl: "URL del emoji"
addEmoji: "Agregar emoji" addEmoji: "Añadir emoji"
settingGuide: "Configuración sugerida" settingGuide: "Configuración recomendada"
cacheRemoteFiles: "Mantener en cache los archivos remotos" cacheRemoteFiles: "Mantener los archivos remotos en caché"
cacheRemoteFilesDescription: "Si desactiva esta configuración, Los archivos remotos se cargarán desde el link directo sin usar la caché. Con eso se puede ahorrar almacenamiento del servidor, pero eso aumentará el tráfico al no crear miniaturas." cacheRemoteFilesDescription: "Si desactivas esta configuración, los archivos remotos se cargarán directamente de los servidores remotos. Desactivar esto reducirá el uso de almacenamiento, pero incrementará el uso de tráfico, ya que no se generarán miniaturas."
youCanCleanRemoteFilesCache: "Puedes vaciar la caché pulsando en el botón 🗑️ en el administrador de archivos." youCanCleanRemoteFilesCache: "Puedes vaciar la caché pulsando en el botón 🗑️ en el administrador de archivos."
cacheRemoteSensitiveFiles: "Cachear archivos remotos sensibles" cacheRemoteSensitiveFiles: "Mantener los archivos remotos sensibles en caché"
cacheRemoteSensitiveFilesDescription: "Cuando esta opción está desactivada, los archivos remotos sensibles son cargador directamente de la instancia origen sin ser cacheados." cacheRemoteSensitiveFilesDescription: "Cuando esta opción está desactivada, los archivos remotos sensibles se cargarán directamente desde los servidores remotos."
flagAsBot: "Esta cuenta es un bot" flagAsBot: "Esta cuenta es un bot"
flagAsBotDescription: "En caso de que esta cuenta fuera usada por un programa, active esta opción. Al hacerlo, esta opción servirá para otros desarrolladores para evitar cadenas infinitas de reacciones, y ajustará los sistemas internos de Misskey para que trate a esta cuenta como un bot." flagAsBotDescription: "Activa esta opción si la cuenta es utilizada por un programa. Si se activa, actuará como una etiqueta para otros desarrolladores para prevenir cadenas eternas de interacción con otros bots, y ajustará los sistemas internos de Misskey para tratar esta cuenta de manera acorde."
flagAsCat: "Esta cuenta es un gato" flagAsCat: "Marcar esta cuenta como gato"
flagAsCatDescription: "En caso de que declare que esta cuenta es de un gato, active esta opción." flagAsCatDescription: "Activa esta opción para marcar esta cuenta como un gato."
flagShowTimelineReplies: "Mostrar respuestas a las notas en la biografía" flagShowTimelineReplies: "Mostrar respuestas en la línea de tiempo"
flagShowTimelineRepliesDescription: "Cuando se marca, la línea de tiempo muestra respuestas a otras notas además de las notas del usuario" flagShowTimelineRepliesDescription: "Muestra respuestas de los usuarios a las notas de otros usuarios en la línea de tiempo al activar esta opción."
autoAcceptFollowed: "Aceptar automáticamente las solicitudes de seguimiento de los usuarios que sigues" autoAcceptFollowed: "Aceptar automáticamente las solicitudes de seguimiento de los usuarios que sigues"
addAccount: "Agregar Cuenta" addAccount: "Agregar cuenta"
reloadAccountsList: "Recargar lista de cuentas" reloadAccountsList: "Recargar lista de cuentas"
loginFailed: "Error al iniciar sesión." loginFailed: "Error al iniciar sesión."
showOnRemote: "Ver en una instancia remota" showOnRemote: "Ver en instancia remota"
continueOnRemote: "Ver en una instancia remota" continueOnRemote: "Continuar en una instancia remota"
chooseServerOnMisskeyHub: "Elegir un servidor en Misskey Hub" chooseServerOnMisskeyHub: "Elegir un servidor en Misskey Hub"
specifyServerHost: "Especifica una instancia directamente" specifyServerHost: "Especifica una instancia directamente"
inputHostName: "Introduzca el dominio" inputHostName: "Introduce el dominio"
general: "General" general: "General"
wallpaper: "Fondo de pantalla" wallpaper: "Fondo de pantalla"
setWallpaper: "Establecer fondo de pantalla" setWallpaper: "Establecer fondo de pantalla"
removeWallpaper: "Quitar fondo de pantalla" removeWallpaper: "Quitar fondo de pantalla"
searchWith: "Buscar: {q}" searchWith: "Buscar: {q}"
youHaveNoLists: "No tienes listas" youHaveNoLists: "No tienes ninguna lista"
followConfirm: "¿Desea seguir a {name}?" followConfirm: "¿Quieres seguir a {name}?"
proxyAccount: "Cuenta proxy" proxyAccount: "Cuenta proxy"
proxyAccountDescription: "Una cuenta proxy es una cuenta que actúa como un seguidor remoto de un usuario bajo ciertas condiciones. Por ejemplo, cuando un usuario añade un usuario remoto a una lista, si ningún usuario local sigue al usuario agregado a la lista, la instancia no puede obtener su actividad. Así que la cuenta proxy sigue al usuario añadido a la lista" proxyAccountDescription: "Una cuenta proxy es una cuenta que actúa como un seguidor remoto de un usuario bajo ciertas condiciones. Por ejemplo, cuando un usuario añade un usuario remoto a una lista, si ningún usuario local sigue al usuario agregado a la lista, la instancia no puede obtener su actividad, así que la cuenta proxy sigue al usuario añadido a la lista"
host: "Host" host: "Instancia"
selectSelf: "Elígete a ti mismo" selectSelf: "Elígete a ti mismo"
selectUser: "Elegir usuario" selectUser: "Elegir usuario"
recipient: "Recipiente" recipient: "Receptor"
annotation: "Anotación" annotation: "Anotación"
federation: "Federación" federation: "Federación"
instances: "Instancia" instances: "Instancias"
registeredAt: "Registrado en" registeredAt: "Registrado en"
latestRequestReceivedAt: "Ultimo pedido recibido" latestRequestReceivedAt: "Última petición recibida"
latestStatus: "Último status" latestStatus: "Último estado"
storageUsage: "Almacenamiento usado" storageUsage: "Almacenamiento usado"
charts: "Chat" charts: "Métricas"
perHour: "por hora" perHour: "por hora"
perDay: "por día" perDay: "por día"
stopActivityDelivery: "Dejar de enviar actividades" stopActivityDelivery: "Dejar de enviar actividades"
@ -226,40 +226,40 @@ metadata: "Metadatos"
withNFiles: "{n} archivos" withNFiles: "{n} archivos"
monitor: "Monitor" monitor: "Monitor"
jobQueue: "Cola de trabajos" jobQueue: "Cola de trabajos"
cpuAndMemory: "CPU y Memoria" cpuAndMemory: "CPU y memoria"
network: "Red" network: "Red"
disk: "Disco" disk: "Disco"
instanceInfo: "información de la instancia" instanceInfo: "Información de la instancia"
statistics: "Estadísticas" statistics: "Estadísticas"
clearQueue: "Limpiar cola" clearQueue: "Limpiar cola"
clearQueueConfirmTitle: "¿Desea limpiar la cola?" clearQueueConfirmTitle: "¿Quieres limpiar la cola?"
clearQueueConfirmText: "Las notas aún no entregadas no se federarán. Normalmente no se necesita ejecutar esta operación" clearQueueConfirmText: "Las notas aún no entregadas no se federarán. Normalmente no se necesita ejecutar esta operación"
clearCachedFiles: "Limpiar caché" clearCachedFiles: "Limpiar caché"
clearCachedFilesConfirm: "¿Desea borrar todos los archivos remotos cacheados?" clearCachedFilesConfirm: "¿Quieres borrar todos los archivos remotos en caché?"
blockedInstances: "Instancias bloqueadas" blockedInstances: "Instancias bloqueadas"
blockedInstancesDescription: "Seleccione los hosts de las instancias que desea bloquear, separadas por una linea nueva. Las instancias bloqueadas no podrán comunicarse con esta instancia." blockedInstancesDescription: "La lista de los dominios de las instancias que quieres bloquear, separadas por una linea nueva. Las instancias bloqueadas no podrán comunicarse con esta instancia."
silencedInstances: "Instancias silenciadas" silencedInstances: "Instancias silenciadas"
silencedInstancesDescription: "Listar los hostname de las instancias que quieres silenciar. Todas las cuentas de las instancias listadas serán tratadas como silenciadas, solo podrán hacer peticiones de seguimiento, y no podrán mencionar cuentas locales si no las siguen. Esto no afecta a las instancias bloqueadas." silencedInstancesDescription: "La lista de los dominios de las instancias que quieres silenciar. Todas las cuentas de las instancias listadas serán tratadas como silenciadas, solo podrán hacer peticiones de seguimiento, y no podrán mencionar cuentas locales si no las siguen. Esto no afecta a las instancias bloqueadas."
mediaSilencedInstances: "Servidores silenciados (Multimedia)" mediaSilencedInstances: "Servidores con multimedia silenciada"
mediaSilencedInstancesDescription: "Listar las instancias que quieres silenciar. Todas las cuentas de las instancias listadas serán tratadas como silenciadas, solo podrán hacer peticiones de seguimiento, y no podrán mencionar cuentas locales si no las siguen. Esto no afecta a las instancias bloqueadas." mediaSilencedInstancesDescription: "La lista de los dominios de las instancias cuya multimedia quieres silenciar. Todas las cuentas que pertenezcan a estas instancias serán marcadas como sensibles, y no podrán usar sus emojis personalizados. Esto no afectará a las instancias bloqueadas"
federationAllowedHosts: "Servidores federados" federationAllowedHosts: "Servidores federados"
federationAllowedHostsDescription: "Establezca los nombres de los servidores que pueden federarse, separados por una nueva línea." federationAllowedHostsDescription: "La lista de los dominios de las instancias cuya federación está permitida, separadas por saltos de línea."
muteAndBlock: "Silenciar y bloquear" muteAndBlock: "Silenciar y bloquear"
mutedUsers: "Usuarios silenciados" mutedUsers: "Usuarios silenciados"
blockedUsers: "Usuarios bloqueados" blockedUsers: "Usuarios bloqueados"
noUsers: "No hay usuarios" noUsers: "No hay usuarios"
editProfile: "Editar perfil" editProfile: "Editar perfil"
noteDeleteConfirm: "¿Desea borrar esta nota?" noteDeleteConfirm: "¿Quieres borrar esta nota?"
pinLimitExceeded: "Ya no se pueden fijar más posts" pinLimitExceeded: "Ya no se pueden fijar más notas"
done: "Terminado" done: "Terminado"
processing: "Procesando" processing: "Procesando..."
preview: "Vista previa" preview: "Vista previa"
default: "Predeterminado" default: "Predeterminado"
defaultValueIs: "Por defecto: {value}" defaultValueIs: "Por defecto: {value}"
noCustomEmojis: "No hay emojis personalizados" noCustomEmojis: "No hay emojis personalizados"
noJobs: "No hay trabajos" noJobs: "No hay trabajos"
federating: "Federando" federating: "Federando"
blocked: "Bloqueando" blocked: "Bloqueado"
suspended: "Suspendido" suspended: "Suspendido"
all: "Todo" all: "Todo"
subscribing: "Suscribiendo" subscribing: "Suscribiendo"
@ -1998,6 +1998,7 @@ _role:
uploadableFileTypes_caption: "Especifica los tipos MIME/archivos permitidos. Se pueden especificar varios tipos MIME separándolos con una nueva línea, y se pueden especificar comodines con un asterisco (*). (por ejemplo, image/*)" uploadableFileTypes_caption: "Especifica los tipos MIME/archivos permitidos. Se pueden especificar varios tipos MIME separándolos con una nueva línea, y se pueden especificar comodines con un asterisco (*). (por ejemplo, image/*)"
uploadableFileTypes_caption2: "Es posible que no se detecten algunos tipos de archivos. Para permitir estos archivos, añade {x} a la especificación." uploadableFileTypes_caption2: "Es posible que no se detecten algunos tipos de archivos. Para permitir estos archivos, añade {x} a la especificación."
noteDraftLimit: "Número de posibles borradores de notas del servidor" noteDraftLimit: "Número de posibles borradores de notas del servidor"
watermarkAvailable: "Disponibilidad de la función de marca de agua"
_condition: _condition:
roleAssignedTo: "Asignado a roles manuales" roleAssignedTo: "Asignado a roles manuales"
isLocal: "Usuario local" isLocal: "Usuario local"
@ -2806,6 +2807,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "Subido el" uploadedAt: "Subido el"
attachedNotes: "Notas adjuntas" attachedNotes: "Notas adjuntas"
usage: "Utilizado"
thisPageCanBeSeenFromTheAuthor: "Esta página solo puede ser vista por el autor." thisPageCanBeSeenFromTheAuthor: "Esta página solo puede ser vista por el autor."
_externalResourceInstaller: _externalResourceInstaller:
title: "Instalar desde sitio externo" title: "Instalar desde sitio externo"
@ -3182,7 +3184,7 @@ drafts: "Borrador"
_drafts: _drafts:
select: "Seleccionar borradores" select: "Seleccionar borradores"
cannotCreateDraftAnymore: "Se ha superado el número de borradores que se pueden crear." cannotCreateDraftAnymore: "Se ha superado el número de borradores que se pueden crear."
cannotCreateDraftOfRenote: "No se pueden crear borradores de renotas." cannotCreateDraft: "No se pueden crear borradores con este contenido."
delete: "Eliminar borrador" delete: "Eliminar borrador"
deleteAreYouSure: "¿Quieres borrar el borrador?" deleteAreYouSure: "¿Quieres borrar el borrador?"
noDrafts: "No hay borradores disponibles." noDrafts: "No hay borradores disponibles."

View File

@ -5,9 +5,13 @@ introMisskey: "Selamat datang! Misskey adalah perangkat mikroblog tercatu bersif
poweredByMisskeyDescription: "{name} adalah sebuah layanan (instance) yang menggunakan platform sumber terbuka <b>Misskey</b>." poweredByMisskeyDescription: "{name} adalah sebuah layanan (instance) yang menggunakan platform sumber terbuka <b>Misskey</b>."
monthAndDay: "{day} {month}" monthAndDay: "{day} {month}"
search: "Penelusuran" search: "Penelusuran"
reset: "Reset"
notifications: "Notifikasi" notifications: "Notifikasi"
username: "Nama Pengguna" username: "Nama Pengguna"
password: "Kata sandi" password: "Kata sandi"
initialPasswordForSetup: "Kata sandi untuk memulai konfigurasi awal"
initialPasswordIsIncorrect: "Kata sandi untuk memulai konfigurasi awal salah."
initialPasswordForSetupDescription: "Jika Anda menginstal Misskey sendiri, gunakan kata sandi yang Anda masukkan di berkas konfigurasi.\nJika Anda menggunakan layanan hosting Misskey, gunakan kata sandi yang diberikan.\nJika Anda belum mengatur kata sandi, biarkan kosong dan lanjutkan."
forgotPassword: "Lupa Kata Sandi" forgotPassword: "Lupa Kata Sandi"
fetchingAsApObject: "Mengambil data dari Fediverse..." fetchingAsApObject: "Mengambil data dari Fediverse..."
ok: "OK" ok: "OK"
@ -45,6 +49,7 @@ pin: "Sematkan ke profil"
unpin: "Lepas sematan dari profil" unpin: "Lepas sematan dari profil"
copyContent: "Salin konten" copyContent: "Salin konten"
copyLink: "Salin tautan" copyLink: "Salin tautan"
copyRemoteLink: "Salin tautan jarak jauh"
copyLinkRenote: "Salin tautan renote" copyLinkRenote: "Salin tautan renote"
delete: "Hapus" delete: "Hapus"
deleteAndEdit: "Hapus dan sunting" deleteAndEdit: "Hapus dan sunting"
@ -212,8 +217,10 @@ perDay: "per Hari"
stopActivityDelivery: "Berhenti mengirim aktivitas" stopActivityDelivery: "Berhenti mengirim aktivitas"
blockThisInstance: "Blokir instansi ini" blockThisInstance: "Blokir instansi ini"
silenceThisInstance: "Senyapkan instansi ini" silenceThisInstance: "Senyapkan instansi ini"
mediaSilenceThisInstance: "Server media senyap"
operations: "Tindakan" operations: "Tindakan"
software: "Perangkat lunak" software: "Perangkat lunak"
softwareName: "Nama Perangkat Lunak"
version: "Versi" version: "Versi"
metadata: "Metadata" metadata: "Metadata"
withNFiles: "{n} berkas" withNFiles: "{n} berkas"
@ -1040,7 +1047,7 @@ disableFederationConfirmWarn: "Mematikan federasi tidak membuat kiriman menjadi
disableFederationOk: "Matikan federasi" disableFederationOk: "Matikan federasi"
invitationRequiredToRegister: "Instansi ini dalam mode undangan-saja. Kamu harus memasukkan kode undangan yang valid untuk mendaftar." invitationRequiredToRegister: "Instansi ini dalam mode undangan-saja. Kamu harus memasukkan kode undangan yang valid untuk mendaftar."
emailNotSupported: "Instansi ini tidak mendukung mengirim surel" emailNotSupported: "Instansi ini tidak mendukung mengirim surel"
postToTheChannel: "Catat ke kanal" postToTheChannel: "Buat Catatan ke Kanal"
cannotBeChangedLater: "Hal ini nantinya tidak dapat diubah lagi." cannotBeChangedLater: "Hal ini nantinya tidak dapat diubah lagi."
reactionAcceptance: "Penerimaan reaksi" reactionAcceptance: "Penerimaan reaksi"
likeOnly: "Hanya suka" likeOnly: "Hanya suka"
@ -2400,7 +2407,7 @@ _deck:
main: "Utama" main: "Utama"
widgets: "Widget" widgets: "Widget"
notifications: "Notifikasi" notifications: "Notifikasi"
tl: "Lini masa" tl: "Beranda"
antenna: "Antena" antenna: "Antena"
list: "Daftar" list: "Daftar"
channel: "Kanal" channel: "Kanal"

10
locales/index.d.ts vendored
View File

@ -5231,7 +5231,7 @@ export interface Locale extends ILocale {
*/ */
"prohibitedWordsForNameOfUser": string; "prohibitedWordsForNameOfUser": string;
/** /**
* * (username)
*/ */
"prohibitedWordsForNameOfUserDescription": string; "prohibitedWordsForNameOfUserDescription": string;
/** /**
@ -7795,6 +7795,10 @@ export interface Locale extends ILocale {
* *
*/ */
"noteDraftLimit": string; "noteDraftLimit": string;
/**
* 使
*/
"watermarkAvailable": string;
}; };
"_condition": { "_condition": {
/** /**
@ -10890,6 +10894,10 @@ export interface Locale extends ILocale {
* *
*/ */
"attachedNotes": string; "attachedNotes": string;
/**
*
*/
"usage": string;
/** /**
* *
*/ */

View File

@ -1303,7 +1303,7 @@ messageToFollower: "フォロワーへのメッセージ"
target: "対象" target: "対象"
testCaptchaWarning: "CAPTCHAのテストを目的とした機能です。<strong>本番環境で使用しないでください。</strong>" testCaptchaWarning: "CAPTCHAのテストを目的とした機能です。<strong>本番環境で使用しないでください。</strong>"
prohibitedWordsForNameOfUser: "禁止ワード(ユーザーの名前)" prohibitedWordsForNameOfUser: "禁止ワード(ユーザーの名前)"
prohibitedWordsForNameOfUserDescription: "このリストに含まれる文字列がユーザーの名前に含まれる場合、ユーザーの名前の変更を拒否します。モデレーター権限を持つユーザーはこの制限の影響を受けません。" prohibitedWordsForNameOfUserDescription: "このリストに含まれる文字列がユーザーの名前に含まれる場合、ユーザーの名前の変更を拒否します。モデレーター権限を持つユーザーはこの制限の影響を受けません。ユーザー名(username)に対しても全て小文字に置き換えて検査します。"
yourNameContainsProhibitedWords: "変更しようとした名前に禁止された文字列が含まれています" yourNameContainsProhibitedWords: "変更しようとした名前に禁止された文字列が含まれています"
yourNameContainsProhibitedWordsDescription: "名前に禁止されている文字列が含まれています。この名前を使用したい場合は、サーバー管理者にお問い合わせください。" yourNameContainsProhibitedWordsDescription: "名前に禁止されている文字列が含まれています。この名前を使用したい場合は、サーバー管理者にお問い合わせください。"
thisContentsAreMarkedAsSigninRequiredByAuthor: "投稿者により、表示にはログインが必要と設定されています" thisContentsAreMarkedAsSigninRequiredByAuthor: "投稿者により、表示にはログインが必要と設定されています"
@ -2019,6 +2019,7 @@ _role:
uploadableFileTypes_caption: "MIMEタイプを指定します。改行で区切って複数指定できるほか、アスタリスク(*)でワイルドカード指定できます。(例: image/*)" uploadableFileTypes_caption: "MIMEタイプを指定します。改行で区切って複数指定できるほか、アスタリスク(*)でワイルドカード指定できます。(例: image/*)"
uploadableFileTypes_caption2: "ファイルによっては種別を判定できないことがあります。そのようなファイルを許可する場合は {x} を指定に追加してください。" uploadableFileTypes_caption2: "ファイルによっては種別を判定できないことがあります。そのようなファイルを許可する場合は {x} を指定に追加してください。"
noteDraftLimit: "サーバーサイドのノートの下書きの作成可能数" noteDraftLimit: "サーバーサイドのノートの下書きの作成可能数"
watermarkAvailable: "ウォーターマーク機能の使用可否"
_condition: _condition:
roleAssignedTo: "マニュアルロールにアサイン済み" roleAssignedTo: "マニュアルロールにアサイン済み"
isLocal: "ローカルユーザー" isLocal: "ローカルユーザー"
@ -2885,6 +2886,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "追加日" uploadedAt: "追加日"
attachedNotes: "添付されているノート" attachedNotes: "添付されているノート"
usage: "利用"
thisPageCanBeSeenFromTheAuthor: "このページは、このファイルをアップロードしたユーザーしか閲覧できません。" thisPageCanBeSeenFromTheAuthor: "このページは、このファイルをアップロードしたユーザーしか閲覧できません。"
_externalResourceInstaller: _externalResourceInstaller:

View File

@ -1998,6 +1998,7 @@ _role:
uploadableFileTypes_caption: "MIME 유형을 " uploadableFileTypes_caption: "MIME 유형을 "
uploadableFileTypes_caption2: "파일에 따라서는 유형을 검사하지 못하는 경우가 있습니다. 그러한 파일을 허가하는 경우에는 {x}를 지정으로 추가해주십시오." uploadableFileTypes_caption2: "파일에 따라서는 유형을 검사하지 못하는 경우가 있습니다. 그러한 파일을 허가하는 경우에는 {x}를 지정으로 추가해주십시오."
noteDraftLimit: "서버측 노트 초안 작성 가능 수" noteDraftLimit: "서버측 노트 초안 작성 가능 수"
watermarkAvailable: "워터마크 기능의 사용 여부"
_condition: _condition:
roleAssignedTo: "수동 역할에 이미 할당됨" roleAssignedTo: "수동 역할에 이미 할당됨"
isLocal: "로컬 유저" isLocal: "로컬 유저"
@ -2806,6 +2807,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "업로드 날짜" uploadedAt: "업로드 날짜"
attachedNotes: "첨부된 노트" attachedNotes: "첨부된 노트"
usage: "이용"
thisPageCanBeSeenFromTheAuthor: "이 페이지는 파일 소유자만 열람할 수 있습니다" thisPageCanBeSeenFromTheAuthor: "이 페이지는 파일 소유자만 열람할 수 있습니다"
_externalResourceInstaller: _externalResourceInstaller:
title: "외부 사이트로부터 설치" title: "외부 사이트로부터 설치"
@ -3182,7 +3184,7 @@ drafts: "초안"
_drafts: _drafts:
select: "초안 선택" select: "초안 선택"
cannotCreateDraftAnymore: "초안 작성 가능 수를 초과했습니다." cannotCreateDraftAnymore: "초안 작성 가능 수를 초과했습니다."
cannotCreateDraftOfRenote: "리노트 초안은 작성할 수 없습니다." cannotCreateDraft: "이 내용으로는 초안을 작성할 수 없습니다. "
delete: "초안 삭제\n" delete: "초안 삭제\n"
deleteAreYouSure: "초안을 삭제하시겠습니까?" deleteAreYouSure: "초안을 삭제하시겠습니까?"
noDrafts: "초안 없음\n" noDrafts: "초안 없음\n"

View File

@ -446,7 +446,7 @@ exploreUsersCount: "Há um utilizador de {count}"
exploreFediverse: "Explorar Fediverse" exploreFediverse: "Explorar Fediverse"
popularTags: "Tags populares" popularTags: "Tags populares"
userList: "Listas" userList: "Listas"
about: "Informações" about: "Sobre"
aboutMisskey: "Sobre Misskey" aboutMisskey: "Sobre Misskey"
administrator: "Administrador" administrator: "Administrador"
token: "Símbolo" token: "Símbolo"
@ -1339,7 +1339,7 @@ paste: "Colar"
emojiPalette: "Paleta de emojis" emojiPalette: "Paleta de emojis"
postForm: "Campo de postagem" postForm: "Campo de postagem"
textCount: "Contagem de caracteres" textCount: "Contagem de caracteres"
information: "Informações" information: "Sobre"
chat: "Conversas" chat: "Conversas"
migrateOldSettings: "Migrar configurações antigas de cliente" migrateOldSettings: "Migrar configurações antigas de cliente"
migrateOldSettings_description: "Isso deve ser feito automaticamente. Caso o processo de migração tenha falhado, você pode acioná-lo manualmente. As informações atuais de migração serão substituídas." migrateOldSettings_description: "Isso deve ser feito automaticamente. Caso o processo de migração tenha falhado, você pode acioná-lo manualmente. As informações atuais de migração serão substituídas."
@ -1998,6 +1998,7 @@ _role:
uploadableFileTypes_caption: "Especifica tipos MIME permitidos. Múltiplos tipos MIME podem ser especificados separando-os por linha. Curingas podem ser especificados com um asterisco (*). (exemplo, image/*)" uploadableFileTypes_caption: "Especifica tipos MIME permitidos. Múltiplos tipos MIME podem ser especificados separando-os por linha. Curingas podem ser especificados com um asterisco (*). (exemplo, image/*)"
uploadableFileTypes_caption2: "Alguns tipos de arquivos podem não ser detectados. Para permiti-los, adicione {x} à especificação." uploadableFileTypes_caption2: "Alguns tipos de arquivos podem não ser detectados. Para permiti-los, adicione {x} à especificação."
noteDraftLimit: "Limite de rascunhos possíveis" noteDraftLimit: "Limite de rascunhos possíveis"
watermarkAvailable: "Disponibilidade da função de marca d'água"
_condition: _condition:
roleAssignedTo: "Atribuído a cargos manuais" roleAssignedTo: "Atribuído a cargos manuais"
isLocal: "Usuário local" isLocal: "Usuário local"
@ -2806,6 +2807,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "Adicionado em" uploadedAt: "Adicionado em"
attachedNotes: "Notas anexadas" attachedNotes: "Notas anexadas"
usage: "Usado"
thisPageCanBeSeenFromTheAuthor: "Essa página só pode ser vista pelo usuário que enviou esse arquivo." thisPageCanBeSeenFromTheAuthor: "Essa página só pode ser vista pelo usuário que enviou esse arquivo."
_externalResourceInstaller: _externalResourceInstaller:
title: "Instalar de site externo" title: "Instalar de site externo"
@ -3182,6 +3184,14 @@ drafts: "Rascunhos"
_drafts: _drafts:
select: "Selecionar Rascunho" select: "Selecionar Rascunho"
cannotCreateDraftAnymore: "O número máximo de rascunhos foi excedido." cannotCreateDraftAnymore: "O número máximo de rascunhos foi excedido."
cannotCreateDraftOfRenote: "Você não pode criar o rascunho de uma repostagem." cannotCreateDraft: "Você não pode criar um rascunho com esse conteúdo."
delete: "Excluir Rascunho" delete: "Excluir Rascunho"
deleteAreYouSure: "Excluir rascunho?"
noDrafts: "Sem rascunhos"
replyTo: "Resposta a {user}"
quoteOf: "Citação à nota de {user}"
postTo: "Publicando em {channel}"
saveToDraft: "Salvar como Rascunho"
restoreFromDraft: "Restaurar de Rascunho"
restore: "Redefinir" restore: "Redefinir"
listDrafts: "Lista de Rascunhos"

View File

@ -146,7 +146,7 @@ enterFileName: "พิมพ์ชื่อไฟล์"
mute: "ปิดเสียง" mute: "ปิดเสียง"
unmute: "ยกเลิกการปิดเสียง" unmute: "ยกเลิกการปิดเสียง"
renoteMute: "ปิดเสียงรีโน้ต" renoteMute: "ปิดเสียงรีโน้ต"
renoteUnmute: "เปิดเสียง รีโน้ต" renoteUnmute: "เลิกปิดเสียงรีโน้ต"
block: "บล็อก" block: "บล็อก"
unblock: "เลิกบล็อก" unblock: "เลิกบล็อก"
suspend: "ระงับ" suspend: "ระงับ"
@ -242,8 +242,8 @@ silencedInstances: "ปิดปากเซิร์ฟเวอร์นี้
silencedInstancesDescription: "ระบุโฮสต์ของเซิร์ฟเวอร์ที่ต้องการปิดปาก คั่นด้วยการขึ้นบรรทัดใหม่, บัญชีทั้งหมดของเซิร์ฟเวอร์ดังกล่าวจะถือว่าถูกปิดปากเช่นกัน ทำได้เฉพาะคำขอติดตามเท่านั้น และไม่สามารถกล่าวถึงบัญชีในเซิร์ฟเวอร์นี้ได้หากไม่ได้ถูกติดตามกลับ | สิ่งนี้ไม่มีผลต่ออินสแตนซ์ที่ถูกบล็อก" silencedInstancesDescription: "ระบุโฮสต์ของเซิร์ฟเวอร์ที่ต้องการปิดปาก คั่นด้วยการขึ้นบรรทัดใหม่, บัญชีทั้งหมดของเซิร์ฟเวอร์ดังกล่าวจะถือว่าถูกปิดปากเช่นกัน ทำได้เฉพาะคำขอติดตามเท่านั้น และไม่สามารถกล่าวถึงบัญชีในเซิร์ฟเวอร์นี้ได้หากไม่ได้ถูกติดตามกลับ | สิ่งนี้ไม่มีผลต่ออินสแตนซ์ที่ถูกบล็อก"
mediaSilencedInstances: "เซิร์ฟเวอร์ที่ถูกปิดปากสื่อ" mediaSilencedInstances: "เซิร์ฟเวอร์ที่ถูกปิดปากสื่อ"
mediaSilencedInstancesDescription: "ระบุโฮสต์ของเซิร์ฟเวอร์ที่ต้องการปิดปากสื่อ คั่นด้วยการขึ้นบรรทัดใหม่, ไฟล์ที่ถูกส่งจากบัญชีของเซิร์ฟเวอร์ดังกล่าวจะถือว่าถูกปิดปาก แล้วจะถูกติดเครื่องหมายว่ามีเนื้อหาละเอียดอ่อน และเอโมจิแบบกำหนดเองก็จะใช้ไม่ได้ด้วย | สิ่งนี้ไม่มีผลต่ออินสแตนซ์ที่ถูกบล็อก" mediaSilencedInstancesDescription: "ระบุโฮสต์ของเซิร์ฟเวอร์ที่ต้องการปิดปากสื่อ คั่นด้วยการขึ้นบรรทัดใหม่, ไฟล์ที่ถูกส่งจากบัญชีของเซิร์ฟเวอร์ดังกล่าวจะถือว่าถูกปิดปาก แล้วจะถูกติดเครื่องหมายว่ามีเนื้อหาละเอียดอ่อน และเอโมจิแบบกำหนดเองก็จะใช้ไม่ได้ด้วย | สิ่งนี้ไม่มีผลต่ออินสแตนซ์ที่ถูกบล็อก"
federationAllowedHosts: "เซิร์ฟเวอร์ที่เปิดให้บริการแบบเฟเดอเรชั่น" federationAllowedHosts: "เซิร์ฟเวอร์ที่อนุญาตให้เชื่อมกับสหพันธ์"
federationAllowedHostsDescription: "ระบุชื่อโฮสต์ของเซิร์ฟเวอร์ที่คุณต้องการอนุญาตให้เชื่อมต่อแบบเฟเดอเรชั่น โดยต้องเว้นวรรคแต่ละบรรทัด" federationAllowedHostsDescription: "ระบุโฮสต์ของเซิร์ฟเวอร์ที่อนุญาตให้เชื่อมกับสหพันธ์ โดยแยกแต่ละรายการด้วยบรรทัดใหม่"
muteAndBlock: "ปิดเสียงและบล็อก" muteAndBlock: "ปิดเสียงและบล็อก"
mutedUsers: "ผู้ใช้ที่ถูกปิดเสียง" mutedUsers: "ผู้ใช้ที่ถูกปิดเสียง"
blockedUsers: "ผู้ใช้ที่ถูกบล็อก" blockedUsers: "ผู้ใช้ที่ถูกบล็อก"
@ -298,9 +298,11 @@ uploadFromUrl: "อัปโหลดจาก URL"
uploadFromUrlDescription: "URL ของไฟล์ที่คุณต้องการอัปโหลด" uploadFromUrlDescription: "URL ของไฟล์ที่คุณต้องการอัปโหลด"
uploadFromUrlRequested: "ร้องขอการอัปโหลดแล้ว" uploadFromUrlRequested: "ร้องขอการอัปโหลดแล้ว"
uploadFromUrlMayTakeTime: "การอัปโหลดอาจใช้เวลาสักครู่จึงจะเสร็จสมบูรณ์" uploadFromUrlMayTakeTime: "การอัปโหลดอาจใช้เวลาสักครู่จึงจะเสร็จสมบูรณ์"
uploadNFiles: "อัปโหลด {n} ไฟล์"
explore: "สำรวจ" explore: "สำรวจ"
messageRead: "อ่านแล้ว" messageRead: "อ่านแล้ว"
noMoreHistory: "ไม่มีประวัติเพิ่มเติม" noMoreHistory: "ไม่มีประวัติเพิ่มเติม"
startChat: "เริ่มแชต"
nUsersRead: "อ่านโดย {n}" nUsersRead: "อ่านโดย {n}"
agreeTo: "ฉันยอมรับ {0}" agreeTo: "ฉันยอมรับ {0}"
agree: "ยอมรับ" agree: "ยอมรับ"
@ -325,6 +327,7 @@ dark: "มืด"
lightThemes: "ธีมสว่าง" lightThemes: "ธีมสว่าง"
darkThemes: "ธีมมืด" darkThemes: "ธีมมืด"
syncDeviceDarkMode: "ซิงค์โหมดมืดกับการตั้งค่าอุปกรณ์ของคุณ" syncDeviceDarkMode: "ซิงค์โหมดมืดกับการตั้งค่าอุปกรณ์ของคุณ"
switchDarkModeManuallyWhenSyncEnabledConfirm: "“{x}” เปิดอยู่ ต้องการปิดการซิงค์และสลับโหมดด้วยตนเองหรือไม่?"
drive: "ไดรฟ์" drive: "ไดรฟ์"
fileName: "ชื่อไฟล์" fileName: "ชื่อไฟล์"
selectFile: "เลือกไฟล์" selectFile: "เลือกไฟล์"
@ -365,7 +368,7 @@ reject: "ปฏิเสธ"
normal: "ปกติ" normal: "ปกติ"
instanceName: "ชื่อเซิร์ฟเวอร์" instanceName: "ชื่อเซิร์ฟเวอร์"
instanceDescription: "คำอธิบายแนะนำเซิร์ฟเวอร์" instanceDescription: "คำอธิบายแนะนำเซิร์ฟเวอร์"
maintainerName: "ผู้ดูแล" maintainerName: "ชื่อผู้ดูแลระบบ"
maintainerEmail: "อีเมลผู้ดูแลระบบ" maintainerEmail: "อีเมลผู้ดูแลระบบ"
tosUrl: "URL เงื่อนไขการให้บริการ" tosUrl: "URL เงื่อนไขการให้บริการ"
thisYear: "ปีนี้" thisYear: "ปีนี้"
@ -423,6 +426,7 @@ antennaExcludeBots: "ยกเว้นบัญชีบอต"
antennaKeywordsDescription: "คั่นด้วยเว้นวรรคสำหรับเงื่อนไข AND, หรือขึ้นบรรทัดใหม่สำหรับเงื่อนไข OR" antennaKeywordsDescription: "คั่นด้วยเว้นวรรคสำหรับเงื่อนไข AND, หรือขึ้นบรรทัดใหม่สำหรับเงื่อนไข OR"
notifyAntenna: "แจ้งเตือนเกี่ยวกับโน้ตใหม่" notifyAntenna: "แจ้งเตือนเกี่ยวกับโน้ตใหม่"
withFileAntenna: "เฉพาะโน้ตที่มีไฟล์" withFileAntenna: "เฉพาะโน้ตที่มีไฟล์"
excludeNotesInSensitiveChannel: "ไม่รวมโน้ตจากช่องเนื้อหาละเอียดอ่อน"
enableServiceworker: "เปิดใช้งานการแจ้งเตือนแบบพุชไปยังเบราว์เซอร์ของคุณ" enableServiceworker: "เปิดใช้งานการแจ้งเตือนแบบพุชไปยังเบราว์เซอร์ของคุณ"
antennaUsersDescription: "ระบุหนึ่งชื่อผู้ใช้ต่อบรรทัด" antennaUsersDescription: "ระบุหนึ่งชื่อผู้ใช้ต่อบรรทัด"
caseSensitive: "อักษรพิมพ์ใหญ่-พิมพ์เล็กความหมายต่างกัน" caseSensitive: "อักษรพิมพ์ใหญ่-พิมพ์เล็กความหมายต่างกัน"
@ -453,17 +457,17 @@ totpDescription: "ใช้แอปยืนยันตัวตนเพื
moderator: "ผู้ควบคุม" moderator: "ผู้ควบคุม"
moderation: "การกลั่นกรอง" moderation: "การกลั่นกรอง"
moderationNote: "โน้ตการกลั่นกรอง" moderationNote: "โน้ตการกลั่นกรอง"
moderationNoteDescription: "คุณสามารถใส่โน้ตส่วนตัวที่เฉพาะผู้ดูแลระบบเท่านั้นที่สามารถเข้าถึงได้" moderationNoteDescription: "สามารถจดเมโมที่จะแบ่งปันเฉพาะระหว่างผู้ควบคุมได้"
addModerationNote: "เพิ่มโน้ตการกลั่นกรอง" addModerationNote: "เพิ่มโน้ตการกลั่นกรอง"
moderationLogs: "ปูมการควบคุมดูแล" moderationLogs: "ปูมการควบคุมดูแล"
nUsersMentioned: "กล่าวถึงโดยผู้ใช้ {n} ราย" nUsersMentioned: "กล่าวถึงโดยผู้ใช้ {n} ราย"
securityKeyAndPasskey: "ความปลอดภัยและรหัสผ่าน" securityKeyAndPasskey: "Security key และ Passkey"
securityKey: "กุญแจความปลอดภัย" securityKey: "Security Key"
lastUsed: "ใช้ล่าสุด" lastUsed: "ใช้ล่าสุด"
lastUsedAt: "ใช้งานครั้งล่าสุด: {t}" lastUsedAt: "ใช้งานครั้งล่าสุด: {t}"
unregister: "เลิกติดตาม" unregister: "เลิกติดตาม"
passwordLessLogin: "เข้าสู่ระบบแบบไม่ใช้รหัสผ่าน" passwordLessLogin: "เข้าสู่ระบบแบบไม่ใช้รหัสผ่าน"
passwordLessLoginDescription: "อนุญาตให้เข้าสู่ระบบโดยไม่ต้องใช้รหัสผ่านโดยใช้รหัสรักษาความปลอดภัยหรือรหัสผ่านเท่านั้น" passwordLessLoginDescription: "เข้าสู่ระบบโดยไม่ใช้รหัสผ่าน โดยใช้เฉพาะ Security Key หรือ Passkey เท่านั้น"
resetPassword: "รีเซ็ตรหัสผ่าน" resetPassword: "รีเซ็ตรหัสผ่าน"
newPasswordIs: "รหัสผ่านใหม่คือ “{password}”" newPasswordIs: "รหัสผ่านใหม่คือ “{password}”"
reduceUiAnimation: "ลดภาพเคลื่อนไหว UI" reduceUiAnimation: "ลดภาพเคลื่อนไหว UI"
@ -573,8 +577,10 @@ showFixedPostForm: "แสดงแบบฟอร์มการโพสต์
showFixedPostFormInChannel: "แสดงแบบฟอร์มการโพสต์ที่ด้านบนของไทม์ไลน์ (ช่อง)" showFixedPostFormInChannel: "แสดงแบบฟอร์มการโพสต์ที่ด้านบนของไทม์ไลน์ (ช่อง)"
withRepliesByDefaultForNewlyFollowed: "แสดงการตอบกลับจากผู้ใช้ที่คุณเพิ่งติดตามลงไทม์ไลน์ตามค่าเริ่มต้น" withRepliesByDefaultForNewlyFollowed: "แสดงการตอบกลับจากผู้ใช้ที่คุณเพิ่งติดตามลงไทม์ไลน์ตามค่าเริ่มต้น"
newNoteRecived: "มีโน้ตใหม่" newNoteRecived: "มีโน้ตใหม่"
newNote: "โน้ตใหม่"
sounds: "เสียง" sounds: "เสียง"
sound: "เสียง" sound: "เสียง"
notificationSoundSettings: "ตั้งค่าเสียงแจ้งเตือน"
listen: "ฟัง" listen: "ฟัง"
none: "ไม่มี" none: "ไม่มี"
showInPage: "แสดงในเพจ" showInPage: "แสดงในเพจ"
@ -606,8 +612,8 @@ output: "เอาท์พุต"
script: "สคริปต์" script: "สคริปต์"
disablePagesScript: "ปิดการใช้งาน AiScript บนเพจ" disablePagesScript: "ปิดการใช้งาน AiScript บนเพจ"
updateRemoteUser: "อัปเดตข้อมูลผู้ใช้งานระยะไกล" updateRemoteUser: "อัปเดตข้อมูลผู้ใช้งานระยะไกล"
unsetUserAvatar: "เลิกตั้งอวตาร" unsetUserAvatar: "เลิกตั้งไอคอน"
unsetUserAvatarConfirm: "ต้องการเลิกตั้งอวตารใข่ไหม?" unsetUserAvatarConfirm: "ต้องการเลิกตั้งไอคอนประจำตัวหรือไม่?"
unsetUserBanner: "เลิกตั้งแบนเนอร์" unsetUserBanner: "เลิกตั้งแบนเนอร์"
unsetUserBannerConfirm: "ต้องการเลิกตั้งแบนเนอร์?" unsetUserBannerConfirm: "ต้องการเลิกตั้งแบนเนอร์?"
deleteAllFiles: "ลบไฟล์ทั้งหมด" deleteAllFiles: "ลบไฟล์ทั้งหมด"
@ -682,13 +688,15 @@ smtpSecure: "ใช้โดยนัย SSL/TLS สำหรับการเ
smtpSecureInfo: "ปิดสิ่งนี้เมื่อใช้ STARTTLS" smtpSecureInfo: "ปิดสิ่งนี้เมื่อใช้ STARTTLS"
testEmail: "ทดสอบการส่งอีเมล" testEmail: "ทดสอบการส่งอีเมล"
wordMute: "ปิดเสียงคำ" wordMute: "ปิดเสียงคำ"
wordMuteDescription: "ย่อโน้ตที่มีวลีที่ระบุ สามารถดูโน้ตที่ย่อแล้วได้โดยคลิกที่โน้ตเหล่านั้น"
hardWordMute: "ปิดเสียงคำแบบแข็งโป๊ก" hardWordMute: "ปิดเสียงคำแบบแข็งโป๊ก"
hardWordMuteDescription: "ซ่อนหมายเหตุที่มีวลีที่ระบุ ต่างจากการปิดเสียงคำ โน้ตต่างๆ จะถูกซ่อนไว้อย่างสมบูรณ์" showMutedWord: "แสดงคำที่ถูกปิดเสียง"
hardWordMuteDescription: "จะซ่อนโน้ตที่มีคำที่ระบุไว้ ซึ่งไม่เหมือนการปิดเสียงคำ ในกรณีนี้โน้ตจะไม่แสดงเลย"
regexpError: "เกิดข้อผิดพลาดใน regular expression" regexpError: "เกิดข้อผิดพลาดใน regular expression"
regexpErrorDescription: "เกิดข้อผิดพลาดใน regular expression บรรทัดที่ {line} ของการปิดเสียงคำ {tab} :" regexpErrorDescription: "เกิดข้อผิดพลาดใน regular expression บรรทัดที่ {line} ของการปิดเสียงคำ {tab} :"
instanceMute: "ปิดเสียงเซิร์ฟเวอร์" instanceMute: "ปิดเสียงเซิร์ฟเวอร์"
userSaysSomething: "{name} พูดอะไรบางอย่าง" userSaysSomething: "{name} พูดอะไรบางอย่าง"
userSaysSomethingAbout: "{name} พูดอะไรบางอย่างเกี่ยวกับ \"{word}\"" userSaysSomethingAbout: "{name} พูดบางอย่างเกี่ยวกับ “{word}”"
makeActive: "เปิดใช้งาน" makeActive: "เปิดใช้งาน"
display: "แสดงผล" display: "แสดงผล"
copy: "คัดลอก" copy: "คัดลอก"
@ -758,7 +766,7 @@ yes: "ใช่"
no: "ไม่" no: "ไม่"
driveFilesCount: "จำนวนไฟล์ไดรฟ์" driveFilesCount: "จำนวนไฟล์ไดรฟ์"
driveUsage: "การใช้พื้นที่ไดรฟ์" driveUsage: "การใช้พื้นที่ไดรฟ์"
noCrawle: "ปฏิเสธการจัดทำดัชนีของโปรแกรมรวบรวมข้อมูล" noCrawle: "ปฏิเสธการจัดทำดัชนีของ Crawler (โปรแกรมรวบรวมข้อมูล)"
noCrawleDescription: "ขอให้เครื่องมือค้นหาไม่จัดทำดัชนีหน้าโปรไฟล์ โน้ต หน้าเพจ ฯลฯ" noCrawleDescription: "ขอให้เครื่องมือค้นหาไม่จัดทำดัชนีหน้าโปรไฟล์ โน้ต หน้าเพจ ฯลฯ"
lockedAccountInfo: "แม้ว่าการอนุมัติการติดตามถูกเปิดใช้งานอยู่ทุกคนก็ยังคงสามารถเห็นโน้ตของคุณได้ เว้นแต่ว่าคุณจะเปลี่ยนการเปิดเผยโน้ตของคุณเป็น “เฉพาะผู้ติดตาม”" lockedAccountInfo: "แม้ว่าการอนุมัติการติดตามถูกเปิดใช้งานอยู่ทุกคนก็ยังคงสามารถเห็นโน้ตของคุณได้ เว้นแต่ว่าคุณจะเปลี่ยนการเปิดเผยโน้ตของคุณเป็น “เฉพาะผู้ติดตาม”"
alwaysMarkSensitive: "ทำเครื่องหมายว่ามีเนื้อหาละเอียดอ่อนเป็นค่าเริ่มต้น" alwaysMarkSensitive: "ทำเครื่องหมายว่ามีเนื้อหาละเอียดอ่อนเป็นค่าเริ่มต้น"
@ -881,7 +889,7 @@ previewNoteText: "แสดงตัวอย่าง"
customCss: "CSS ที่กำหนดเอง" customCss: "CSS ที่กำหนดเอง"
customCssWarn: "ควรใช้การตั้งค่านี้เฉพาะต่อเมื่อคุณรู้มันใช้ทำอะไร การตั้งค่าที่ไม่เหมาะสมอาจทำให้ไคลเอ็นต์ไม่สามารถใช้งานได้อย่างถูกต้อง" customCssWarn: "ควรใช้การตั้งค่านี้เฉพาะต่อเมื่อคุณรู้มันใช้ทำอะไร การตั้งค่าที่ไม่เหมาะสมอาจทำให้ไคลเอ็นต์ไม่สามารถใช้งานได้อย่างถูกต้อง"
global: "ทั่วโลก" global: "ทั่วโลก"
squareAvatars: "แสดงผลอวตารเป็นสี่เหลี่ยม" squareAvatars: "แสดงไอคอนประจำตัวเป็นสี่เหลี่ยม"
sent: "ส่ง" sent: "ส่ง"
received: "ได้รับแล้ว" received: "ได้รับแล้ว"
searchResult: "ผลการค้นหา" searchResult: "ผลการค้นหา"
@ -948,6 +956,9 @@ oneHour: "1 ชั่วโมง"
oneDay: "1 วัน" oneDay: "1 วัน"
oneWeek: "1 สัปดาห์" oneWeek: "1 สัปดาห์"
oneMonth: "หนึ่งเดือน" oneMonth: "หนึ่งเดือน"
threeMonths: "3 เดือน"
oneYear: "1 ปี"
threeDays: "3 วัน"
reflectMayTakeTime: "อาจจำเป็นต้องใช้เวลาสักระยะหนึ่งจึงจะเห็นแสดงผลได้นะ" reflectMayTakeTime: "อาจจำเป็นต้องใช้เวลาสักระยะหนึ่งจึงจะเห็นแสดงผลได้นะ"
failedToFetchAccountInformation: "ไม่สามารถเรียกดึงข้อมูลบัญชีได้" failedToFetchAccountInformation: "ไม่สามารถเรียกดึงข้อมูลบัญชีได้"
rateLimitExceeded: "เกินขีดจำกัดอัตรา" rateLimitExceeded: "เกินขีดจำกัดอัตรา"
@ -972,6 +983,7 @@ document: "เอกสาร"
numberOfPageCache: "จำนวนหน้าเพจที่แคช" numberOfPageCache: "จำนวนหน้าเพจที่แคช"
numberOfPageCacheDescription: "การเพิ่มจำนวนนี้จะช่วยเพิ่มความสะดวกให้กับผู้ใช้งาน แต่จะทำให้เซิร์ฟเวอร์โหลดมากขึ้นและต้องใช้หน่วยความจำมากขึ้นอีกด้วย" numberOfPageCacheDescription: "การเพิ่มจำนวนนี้จะช่วยเพิ่มความสะดวกให้กับผู้ใช้งาน แต่จะทำให้เซิร์ฟเวอร์โหลดมากขึ้นและต้องใช้หน่วยความจำมากขึ้นอีกด้วย"
logoutConfirm: "ต้องการออกจากระบบใช่ไหม?" logoutConfirm: "ต้องการออกจากระบบใช่ไหม?"
logoutWillClearClientData: "เมื่อออกจากระบบ ข้อมูลการตั้งค่าของไคลเอนต์จะถูกลบออกจากเบราว์เซอร์ เพื่อให้สามารถกู้คืนข้อมูลการตั้งค่าได้เมื่อกลับมาเข้าสู่ระบบอีกครั้ง โปรดเปิดใช้งานการสำรองข้อมูลการตั้งค่าอัตโนมัติ"
lastActiveDate: "ใช้งานล่าสุดเมื่อ" lastActiveDate: "ใช้งานล่าสุดเมื่อ"
statusbar: "แถบสถานะ" statusbar: "แถบสถานะ"
pleaseSelect: "ตัวเลือก" pleaseSelect: "ตัวเลือก"
@ -990,6 +1002,7 @@ failedToUpload: "การอัปโหลดล้มเหลว"
cannotUploadBecauseInappropriate: "ไม่สามารถอัปโหลดไฟล์นี้ได้เนื่องจากระบบตรวจพบบางส่วนของไฟล์ว่านี้อาจจะเป็น NSFW" cannotUploadBecauseInappropriate: "ไม่สามารถอัปโหลดไฟล์นี้ได้เนื่องจากระบบตรวจพบบางส่วนของไฟล์ว่านี้อาจจะเป็น NSFW"
cannotUploadBecauseNoFreeSpace: "ไม่สามารถอัปโหลดได้เนื่องจากไม่มีพื้นที่ว่างในไดรฟ์เหลือแล้ว" cannotUploadBecauseNoFreeSpace: "ไม่สามารถอัปโหลดได้เนื่องจากไม่มีพื้นที่ว่างในไดรฟ์เหลือแล้ว"
cannotUploadBecauseExceedsFileSizeLimit: "ไม่สามารถอัปโหลดไฟล์นี้ได้แล้วเนื่องจากเกินขีดจำกัดของขนาดไฟล์แล้ว" cannotUploadBecauseExceedsFileSizeLimit: "ไม่สามารถอัปโหลดไฟล์นี้ได้แล้วเนื่องจากเกินขีดจำกัดของขนาดไฟล์แล้ว"
cannotUploadBecauseUnallowedFileType: "ไม่สามารถอัปโหลดได้เนื่องจากเป็นชนิดไฟล์ที่ไม่ได้รับอนุญาต"
beta: "เบต้า" beta: "เบต้า"
enableAutoSensitive: "ทำเครื่องหมายว่ามีเนื้อหาที่ละเอียดอ่อนโดยอัตโนมัติ" enableAutoSensitive: "ทำเครื่องหมายว่ามีเนื้อหาที่ละเอียดอ่อนโดยอัตโนมัติ"
enableAutoSensitiveDescription: "อนุญาตให้ตรวจหาและทำเครื่องหมายสื่อว่ามีเนื้อหาโดยละเอียดอ่อนโดยอัตโนมัติ ผ่าน Machine Learning หากเป็นไปได้ แม้ว่าคุณจะปิดคุณสมบัตินี้ ก็อาจถูกตั้งค่าโดยอัตโนมัติ ทั้งนี้ขึ้นอยู่กับเซิร์ฟเวอร์" enableAutoSensitiveDescription: "อนุญาตให้ตรวจหาและทำเครื่องหมายสื่อว่ามีเนื้อหาโดยละเอียดอ่อนโดยอัตโนมัติ ผ่าน Machine Learning หากเป็นไปได้ แม้ว่าคุณจะปิดคุณสมบัตินี้ ก็อาจถูกตั้งค่าโดยอัตโนมัติ ทั้งนี้ขึ้นอยู่กับเซิร์ฟเวอร์"
@ -1009,7 +1022,7 @@ windowMaximize: "ขยายใหญ่สุด"
windowMinimize: "ย่อเล็กที่สุด" windowMinimize: "ย่อเล็กที่สุด"
windowRestore: "เลิกทำ" windowRestore: "เลิกทำ"
caption: "คำอธิบาย" caption: "คำอธิบาย"
loggedInAsBot: "ล็อกอินเป็นบอตอยู่ในขณะนี้" loggedInAsBot: "เข้าสู่ระบบเป็นบอตอยู่ในขณะนี้"
tools: "เครื่องมือ" tools: "เครื่องมือ"
cannotLoad: "ไม่สามารถโหลดได้" cannotLoad: "ไม่สามารถโหลดได้"
numberOfProfileView: "มุมมองโปรไฟล์" numberOfProfileView: "มุมมองโปรไฟล์"
@ -1058,7 +1071,7 @@ exploreOtherServers: "มองหาเซิร์ฟเวอร์อื่
letsLookAtTimeline: "มาดูไทม์ไลน์กัน" letsLookAtTimeline: "มาดูไทม์ไลน์กัน"
disableFederationConfirm: "ปิดใช้งานสหพันธ์เลยใช่ไหม?" disableFederationConfirm: "ปิดใช้งานสหพันธ์เลยใช่ไหม?"
disableFederationConfirmWarn: "โพสต์จะยังคงเป็นสาธารณะต่อไป เว้นแต่จะตั้งค่าเป็นอย่างอื่น" disableFederationConfirmWarn: "โพสต์จะยังคงเป็นสาธารณะต่อไป เว้นแต่จะตั้งค่าเป็นอย่างอื่น"
disableFederationOk: "ปิดการใช้งาน" disableFederationOk: "ปิดการใช้งานสหพันธ์"
invitationRequiredToRegister: "เซิร์ฟเวอร์นี้เป็นแบบรับเชิญ เฉพาะผู้มีรหัสเชิญเท่านั้นถึงสามารถลงทะเบียนได้" invitationRequiredToRegister: "เซิร์ฟเวอร์นี้เป็นแบบรับเชิญ เฉพาะผู้มีรหัสเชิญเท่านั้นถึงสามารถลงทะเบียนได้"
emailNotSupported: "เซิร์ฟเวอร์นี้ไม่รองรับการส่งอีเมล" emailNotSupported: "เซิร์ฟเวอร์นี้ไม่รองรับการส่งอีเมล"
postToTheChannel: "โพสต์ลงช่อง" postToTheChannel: "โพสต์ลงช่อง"
@ -1088,7 +1101,7 @@ retryAllQueuesConfirmTitle: "ลองใหม่ทั้งหมดจริ
retryAllQueuesConfirmText: "สิ่งนี้จะเพิ่มการโหลดเซิร์ฟเวอร์ชั่วคราวนะ" retryAllQueuesConfirmText: "สิ่งนี้จะเพิ่มการโหลดเซิร์ฟเวอร์ชั่วคราวนะ"
enableChartsForRemoteUser: "สร้างแผนภูมิข้อมูลผู้ใช้ระยะไกล" enableChartsForRemoteUser: "สร้างแผนภูมิข้อมูลผู้ใช้ระยะไกล"
enableChartsForFederatedInstances: "สร้างแผนภูมิของเซิร์ฟเวอร์ระยะไกล" enableChartsForFederatedInstances: "สร้างแผนภูมิของเซิร์ฟเวอร์ระยะไกล"
enableStatsForFederatedInstances: "ดึงข้อมูลสถิติจากเซิร์ฟเวอร์ที่อยู่ห่างไกล" enableStatsForFederatedInstances: "ดึงข้อมูลจากเซิร์ฟเวอร์ระยะไกล"
showClipButtonInNoteFooter: "เพิ่ม “คลิป” ไปยังเมนูสั่งการของโน้ต" showClipButtonInNoteFooter: "เพิ่ม “คลิป” ไปยังเมนูสั่งการของโน้ต"
reactionsDisplaySize: "ขนาดของรีแอคชั่น" reactionsDisplaySize: "ขนาดของรีแอคชั่น"
limitWidthOfReaction: "จำกัดความกว้างสูงสุดของรีแอคชั่นและแสดงให้เล็กลง" limitWidthOfReaction: "จำกัดความกว้างสูงสุดของรีแอคชั่นและแสดงให้เล็กลง"
@ -1219,13 +1232,13 @@ impressumDescription: "การติดป้ายกำกับ (Impressum)
privacyPolicy: "นโยบายความเป็นส่วนตัว" privacyPolicy: "นโยบายความเป็นส่วนตัว"
privacyPolicyUrl: "URL นโยบายความเป็นส่วนตัว" privacyPolicyUrl: "URL นโยบายความเป็นส่วนตัว"
tosAndPrivacyPolicy: "เงื่อนไขในการให้บริการและนโยบายความเป็นส่วนตัว" tosAndPrivacyPolicy: "เงื่อนไขในการให้บริการและนโยบายความเป็นส่วนตัว"
avatarDecorations: "การตกแต่งอวตาร" avatarDecorations: "ของตกแต่งไอคอน"
attach: "แนบ" attach: "แนบ"
detach: "นำออก" detach: "นำออก"
detachAll: "เอาออกทั้งหมด" detachAll: "เอาออกทั้งหมด"
angle: "แองเกิล" angle: "แองเกิล"
flip: "พลิก" flip: "พลิก"
showAvatarDecorations: "แสดงตกแต่งอวตาร" showAvatarDecorations: "แสดงของตกแต่งไอคอน"
releaseToRefresh: "ปล่อยเพื่อรีเฟรช" releaseToRefresh: "ปล่อยเพื่อรีเฟรช"
refreshing: "กำลังรีเฟรช..." refreshing: "กำลังรีเฟรช..."
pullDownToRefresh: "ดึงลงเพื่อรีเฟรช" pullDownToRefresh: "ดึงลงเพื่อรีเฟรช"
@ -1281,51 +1294,208 @@ clipNoteLimitExceeded: "ไม่สามารถเพิ่มโน้ต
performance: "ประสิทธิภาพ​" performance: "ประสิทธิภาพ​"
modified: "แก้ไข" modified: "แก้ไข"
discard: "ละทิ้ง" discard: "ละทิ้ง"
thereAreNChanges: "มีอยู่ {n} เปลี่ยนแปลง(s)" thereAreNChanges: "มีการเปลี่ยนแปลง {n} รายการ"
signinWithPasskey: "ลงชื่อเข้าใช้ด้วย Passkey" signinWithPasskey: "ลงชื่อเข้าใช้ด้วย Passkey"
unknownWebAuthnKey: "พาสคีย์ไม่ถูกต้องค่ะ" unknownWebAuthnKey: "เป็น Passkey ที่ยังไม่ได้ลงทะเบียน"
passkeyVerificationFailed: "การยืนยันกุญแจดิจิทัลไม่สำเร็จค่ะ" passkeyVerificationFailed: "การยืนยัน Passkey ล้มเหลว"
passkeyVerificationSucceededButPasswordlessLoginDisabled: "การยืนยันพาสคีย์สำเร็จแล้ว แต่การลงชื่อเข้าใช้แบบไม่ต้องใส่รหัสผ่านถูกปิดใช้งานแล้ว" passkeyVerificationSucceededButPasswordlessLoginDisabled: "การยืนยัน Passkey สำเร็จ แต่การเข้าสู่ระบบแบบไม่ใช้รหัสผ่านถูกปิดใช้งานอยู่"
messageToFollower: "ข้อความถึงผู้ติดตาม" messageToFollower: "ข้อความถึงผู้ติดตาม"
target: "เป้า" target: "เป้า"
testCaptchaWarning: "ฟังก์ชันนี้มีไว้สำหรับทดสอบ CAPTCHA เท่านั้น\n<strong>ห้ามนำไปใช้ในระบบจริงโดยเด็ดขาด</strong>" testCaptchaWarning: "ฟังก์ชันนี้มีไว้สำหรับทดสอบ CAPTCHA เท่านั้น\n<strong>ห้ามนำไปใช้ในระบบจริงโดยเด็ดขาด</strong>"
prohibitedWordsForNameOfUser: "คำนี้ไม่สามารถใช้เป็นชื่อผู้ใช้ได้" prohibitedWordsForNameOfUser: "คำนี้ไม่สามารถใช้เป็นชื่อผู้ใช้ได้"
prohibitedWordsForNameOfUserDescription: "หากมีสตริงใดๆ ในรายการนี้ปรากฏอยู่ในชื่อของผู้ใช้ ชื่อนั้นจะถูกปฏิเสธ ผู้ใช้ที่มีสิทธิ์แต่ผู้ดูแลระบบนั้นจะไม่ได้รับผลกระทบใดๆจากข้อจำกัดนี้ค่ะ" prohibitedWordsForNameOfUserDescription: "จะไม่อนุญาตให้เปลี่ยนชื่อผู้ใช้หากชื่อของผู้ใช้มีข้อความที่อยู่ในรายการนี้ แต่ผู้ใช้ที่มีสิทธิ์เป็นผู้ควบคุมจะไม่ได้รับผลกระทบจากข้อจำกัดนี้"
yourNameContainsProhibitedWords: "ชื่อของคุณนั้นมีคำที่ต้องห้าม" yourNameContainsProhibitedWords: "ชื่อของคุณนั้นมีคำที่ต้องห้าม"
yourNameContainsProhibitedWordsDescription: "ถ้าหากคุณต้องการใช้ชื่อนี้ กรุณาติดต่อผู้ดูแลระบบของเซิร์ฟเวอร์นะค่ะ" yourNameContainsProhibitedWordsDescription: "ถ้าหากคุณต้องการใช้ชื่อนี้ กรุณาติดต่อผู้ดูแลระบบของเซิร์ฟเวอร์นะค่ะ"
federationDisabled: "เซิร์ฟเวอร์นี้ปิดการใช้งานการรวมกลุ่ม คุณไม่สามารถโต้ตอบกับผู้ใช้บนเซิร์ฟเวอร์อื่นได้" thisContentsAreMarkedAsSigninRequiredByAuthor: "ผู้โพสต์ได้ตั้งค่าว่าต้องเข้าสู่ระบบจึงจะสามารถดูได้"
reactAreYouSure: "คุณต้องการที่จะตอบสนองต่อ \" {emoji}\" หรือไม่?" lockdown: "ล็อกดาวน์"
markAsSensitiveConfirm: "คุณต้องการทำเครื่องหมายสื่อนี้ว่าละเอียดอ่อนหรือไม่?" pleaseSelectAccount: "โปรดเลือกบัญชี"
unmarkAsSensitiveConfirm: "คุณต้องการลบการกำหนดความไวของสื่อนี้หรือไม่?" availableRoles: "บทบาทที่ใช้ได้"
acknowledgeNotesAndEnable: "เปิดใช้งานหลังจากที่เข้าใจข้อควรระวังแล้ว"
federationSpecified: "เซิร์ฟเวอร์นี้ดำเนินงานในระบบกลุ่มไวท์ลิสต์ ไม่สามารถติดต่อกับเซิร์ฟเวอร์อื่นที่ไม่ได้รับอนุญาตจากผู้ดูแลระบบได้"
federationDisabled: "เซิร์ฟเวอร์นี้ปิดใช้งานสหพันธ์ ไม่สามารถติดต่อหรือแลกเปลี่ยนข้อมูลกับผู้ใช้จากเซิร์ฟเวอร์อื่นได้"
draft: "ร่าง"
confirmOnReact: "ยืนยันเมื่อทำการรีแอคชั่น"
reactAreYouSure: "ต้องการใส่รีแอคชั่นด้วย \"{emoji}\" หรือไม่?"
markAsSensitiveConfirm: "ต้องการตั้งค่าสื่อนี้ว่าเป็นเนื้อหาละเอียดอ่อนหรือไม่?"
unmarkAsSensitiveConfirm: "ต้องการยกเลิกการระบุว่าสื่อนี้มีเนื้อหาละเอียดอ่อนหรือไม่?"
preferences: "การตั้งค่าสภาพแวดล้อม" preferences: "การตั้งค่าสภาพแวดล้อม"
accessibility: "การช่วยการเข้าถึง"
preferencesProfile: "โปรไฟล์การกำหนดค่า" preferencesProfile: "โปรไฟล์การกำหนดค่า"
copyPreferenceId: "คัดลือก ID การตั้งค่า"
resetToDefaultValue: "คืนค่าเป็นค่าเริ่มต้น"
overrideByAccount: "เขียนทับด้วยบัญชี"
untitled: "ไม่มีชื่อ"
noName: "ไม่มีชื่อ"
skip: "ข้าม"
restore: "กู้คืน"
syncBetweenDevices: "ซิงค์ระหว่างอุปกรณ์"
preferenceSyncConflictTitle: "การตั้งค่ามีอยู่บนเซิร์ฟเวอร์" preferenceSyncConflictTitle: "การตั้งค่ามีอยู่บนเซิร์ฟเวอร์"
preferenceSyncConflictText: "รายการการตั้งค่าที่เปิดใช้งานการซิงโครไนซ์จะจัดเก็บค่าไว้บนเซิร์ฟเวอร์ และพบค่าที่จัดเก็บบนเซิร์ฟเวอร์สำหรับรายการการตั้งค่านี้ คุณต้องการทำอย่างไร?" preferenceSyncConflictText: "การตั้งค่าที่เปิดใช้งานการซิงค์จะบันทึกค่าลงในเซิร์ฟเวอร์ อย่างไรก็ดี พบว่ามีค่าการตั้งค่านี้ที่เคยบันทึกไว้ในเซิร์ฟเวอร์แล้ว ต้องการดำเนินการอย่างไร?"
preferenceSyncConflictChoiceMerge: "รวมเข้าด้วยกัน"
preferenceSyncConflictChoiceServer: "เขียนทับด้วยค่าการตั้งค่าเซิร์ฟเวอร์"
preferenceSyncConflictChoiceDevice: "เขียนทับด้วยค่าการตั้งค่าอุปกรณ์"
preferenceSyncConflictChoiceCancel: "ยกเลิกการเปิดใช้งานการซิงค์"
paste: "วาง"
emojiPalette: "จานสีเอโมจิ"
postForm: "แบบฟอร์มการโพสต์" postForm: "แบบฟอร์มการโพสต์"
textCount: "จำนวนอักขระ"
information: "เกี่ยวกับ" information: "เกี่ยวกับ"
chat: "แชต"
migrateOldSettings: "ย้ายข้อมูลการตั้งค่าเก่า"
migrateOldSettings_description: "โดยปกติจะทำโดยอัตโนมัติ แต่หากด้วยเหตุผลบางประการที่ไม่สามารถย้ายได้สำเร็จ สามารถสั่งย้ายด้วยตนเองได้ การตั้งค่าปัจจุบันจะถูกเขียนทับ"
compress: "บีบอัด"
right: "ขวา" right: "ขวา"
bottom: "ภายใต้" bottom: "ภายใต้"
top: "บน"
embed: "ฝัง"
settingsMigrating: "กำลังย้ายการตั้งค่า กรุณารอสักครู่... (สามารถย้ายด้วยตนเองภายหลังได้ที่ การตั้งค่า → อื่นๆ → ย้ายข้อมูลการตั้งค่าเก่า)"
readonly: "อ่านได้อย่างเดียว"
goToDeck: "กลับไปยังเด็ค"
federationJobs: "งานสหพันธ์"
driveAboutTip: "ในไดรฟ์จะแสดงรายการไฟล์ที่เคยอัปโหลดไว้ก่อนหน้า<br>\nสามารถนำมาใช้ซ้ำเมื่อแนบไฟล์ในโน้ต หรือตั้งค่าให้อัปโหลดไฟล์ล่วงหน้าเพื่อนำไปโพสต์ทีหลังได้<br>\n<b>โปรดระวัง เมื่อลบไฟล์ ไฟล์นั้นจะไม่แสดงในทุกที่ที่เคยใช้ไฟล์นี้ (โน้ต, หน้าเพจ, อวตาร, แบนเนอร์ ฯลฯ)</b><br>\nสามารถสร้างโฟลเดอร์เพื่อจัดระเบียบได้"
scrollToClose: "เลื่อนเพื่อปิด"
advice: "คำแนะนำ"
realtimeMode: "โหมดเรียลไทม์"
turnItOn: "เปิดใช้งาน"
turnItOff: "ปิดใช้งาน"
emojiMute: "ปิดเสียงเอโมจิ"
emojiUnmute: "เลิกปิดเสียงเอโมจิ"
muteX: "ปิดเสียง {x}"
unmuteX: "เลิกปิดเสียง {x}"
abort: "หยุดและยกเลิก"
tip: "คำแนะนำและเคล็ดลับ"
redisplayAllTips: "แสดงคำแนะนำและเคล็ดลับทั้งหมดอีกครั้ง"
hideAllTips: "ซ่อนคำแนะนำและเคล็ดลับทั้งหมด"
defaultImageCompressionLevel: "ความละเอียดเริ่มต้นสำหรับการบีบอัดภาพ"
defaultImageCompressionLevel_description: "หากตั้งค่าต่ำ จะรักษาคุณภาพภาพได้ดีขึ้นแต่ขนาดไฟล์จะเพิ่มขึ้น<br>หากตั้งค่าสูง จะลดขนาดไฟล์ได้ แต่คุณภาพภาพจะลดลง"
_order:
newest: "เรียงจากใหม่ไปเก่า"
oldest: "เรียงจากเก่าไปใหม่"
_chat: _chat:
noMessagesYet: "ยังไม่มีข้อความ"
newMessage: "ข้อความใหม่"
individualChat: "แชตส่วนตัว"
individualChat_description: "สามารถแชตแบบตัวต่อตัวกับผู้ใช้ที่ระบุไว้ได้"
roomChat: "ห้องแชต"
roomChat_description: "สามารถแชตแบบกลุ่มหลายคนได้\nและสามารถแชตกับผู้ใช้ที่ไม่ได้อนุญาตแชตส่วนตัวได้ หากอีกฝ่ายยอมรับ"
createRoom: "สร้างห้อง"
inviteUserToChat: "เชิญผู้ใช้และเริ่มแชตได้เลย"
yourRooms: "ห้องที่สร้างไว้"
joiningRooms: "ห้องที่เข้าร่วมอยู่"
invitations: "คำเชิญ" invitations: "คำเชิญ"
noInvitations: "ไม่มีคำเชิญ"
history: "ประวัติ"
noHistory: "ไม่มีประวัติ" noHistory: "ไม่มีประวัติ"
noRooms: "ไม่มีห้อง"
inviteUser: "เชิญผู้ใช้"
sentInvitations: "คำเชิญที่ส่งไปแล้ว"
join: "เข้าร่วม"
ignore: "ไม่สนใจ"
leave: "ออกจากห้อง"
members: "สมาชิก" members: "สมาชิก"
searchMessages: "ค้นหาข้อความ"
home: "หน้าหลัก" home: "หน้าหลัก"
send: "ส่ง" send: "ส่ง"
newline: "ขึ้นบรรทัดใหม่"
muteThisRoom: "ปิดเสียงห้องนี้"
deleteRoom: "ลบห้อง"
chatNotAvailableForThisAccountOrServer: "แชตไม่ได้เปิดใช้งานบนเซิร์ฟเวอร์นี้ หรือบัญชีนี้"
chatIsReadOnlyForThisAccountOrServer: "แชตบนเซิร์ฟเวอร์นี้ หรือบัญชีนี้ เป็นแบบอ่านอย่างเดียว ไม่สามารถส่งข้อความใหม่ สร้างหรือเข้าร่วมห้องแชตได้"
chatNotAvailableInOtherAccount: "บัญชีคู่สนทนาไม่สามารถใช้ฟังก์ชันแชตได้"
cannotChatWithTheUser: "ไม่สามารถเริ่มแชตกับผู้ใช้นี้ได้"
cannotChatWithTheUser_description: "แชตใช้งานไม่ได้ หรือคู่สนทนายังไม่ได้เปิดแชต"
youAreNotAMemberOfThisRoomButInvited: "คุณไม่ได้เป็นผู้เข้าร่วมห้องนี้ แต่มีคำเชิญส่งมา หากต้องการเข้าร่วม กรุณายืนยันคำเชิญ"
doYouAcceptInvitation: "ต้องการยอมรับคำเชิญหรือไม่?"
chatWithThisUser: "แชตเลย"
thisUserAllowsChatOnlyFromFollowers: "ผู้ใช้นี้รับแชตเฉพาะจากผู้ติดตามเท่านั้น"
thisUserAllowsChatOnlyFromFollowing: "ผู้ใช้นี้รับแชตเฉพาะจากผู้ที่เขาติดตามเท่านั้น"
thisUserAllowsChatOnlyFromMutualFollowing: "ผู้ใช้นี้รับแชตเฉพาะจากผู้ที่ติดตามซึ่งกันและกันทั้งสองฝ่ายเท่านั้น"
thisUserNotAllowedChatAnyone: "ผู้ใช้นี้ไม่รับแชตจากใครเลย"
chatAllowedUsers: "ผู้ที่อนุญาตให้แชตด้วย"
chatAllowedUsers_note: "ไม่ว่าจะตั้งค่ายังไง คุณยังสามารถแชตกับคนที่คุณส่งข้อความไปหาได้"
_chatAllowedUsers:
everyone: "ใครก็ได้หมด"
followers: "เฉพาะผู้ติดตามเท่านั้น"
following: "เฉพาะผู้ที่ตัวเองติดตามเท่านั้น"
mutual: "เฉพาะผู้ใช้ที่ติดตามซึ่งกันและกันทั้งสองฝ่ายเท่านั้น"
none: "ไม่อนุญาตให้ใครเลย"
_emojiPalette:
palettes: "จานสี"
enableSyncBetweenDevicesForPalettes: "เปิดใช้งานการซิงค์จานสีระหว่างอุปกรณ์"
paletteForMain: "จานสีหลักที่ใช้"
paletteForReaction: "จานสีที่ใช้ในการรีแอคชั่น"
_settings: _settings:
driveBanner: "สามารถจัดการและตั้งค่าไดรฟ์ ตรวจสอบการใช้งาน และตั้งค่าการอัปโหลดไฟล์ได้"
pluginBanner: "สามารถขยายความสามารถของไคลเอนต์ด้วยปลั๊กอินได้ ติดตั้ง ตั้งค่า และจัดการปลั๊กอินแต่ละตัวได้"
notificationsBanner: "สามารถตั้งค่าประเภทและขอบเขตของการแจ้งเตือนที่รับจากเซิร์ฟเวอร์ รวมถึงการแจ้งเตือนแบบพุช"
api: "API"
webhook: "Webhook" webhook: "Webhook"
serviceConnection: "การเชื่อมต่อกับบริการ"
serviceConnectionBanner: "สามารถจัดการและตั้งค่า Access Token และ Webhook เพื่อเชื่อมต่อกับแอปหรือบริการภายนอกได้"
accountData: "ข้อมูลบัญชี"
accountDataBanner: "สามารถจัดการข้อมูลบัญชีได้โดยส่งออกหรือนำเข้าไฟล์เก็บถาวร"
muteAndBlockBanner: "สามารถตั้งค่าการซ่อนเนื้อหา และจำกัดการกระทำจากผู้ใช้เฉพาะรายได้"
accessibilityBanner: "สามารถปรับแต่งรูปลักษณ์และพฤติกรรมของไคลเอนต์เพื่อให้เหมาะกับการใช้งานของตนเองมากขึ้น"
privacyBanner: "สามารถตั้งค่าความเป็นส่วนตัวของบัญชี เช่น ขอบเขตการเผยแพร่เนื้อหา ความสามารถในการค้นหา และการอนุมัติผู้ติดตาม"
securityBanner: "สามารถตั้งค่าความปลอดภัยของบัญชี เช่น รหัสผ่าน วิธีการเข้าสู่ระบบ แอปยืนยันตัวตน Passkey เป็นต้น"
preferencesBanner: "คุณสามารถกำหนดค่าพฤติกรรมโดยรวมของไคลเอนต์ได้ตามความต้องการของคุณ" preferencesBanner: "คุณสามารถกำหนดค่าพฤติกรรมโดยรวมของไคลเอนต์ได้ตามความต้องการของคุณ"
appearanceBanner: "สามารถตั้งค่ารูปลักษณ์และวิธีการแสดงผลของไคลเอนต์ตามความชอบได้"
soundsBanner: "สามารถตั้งค่าเสียงที่จะเล่นบนไคลเอนต์ได้"
timelineAndNote: "ไทม์ไลน์และโน้ต"
makeEveryTextElementsSelectable: "อนุญาตให้เลือกข้อความทั้งหมดได้"
makeEveryTextElementsSelectable_description: "หากเปิดใช้งาน อาจทำให้ความสะดวกในการใช้งานลดลงในบางสถานการณ์"
useStickyIcons: "ทำให้ไอคอนเคลื่อนตามการเลื่อน"
enableHighQualityImagePlaceholders: "แสดงภาพตัวแทนคุณภาพสูง"
uiAnimations: "ภาพเคลื่อนไหวของ UI"
showNavbarSubButtons: "แสดงปุ่มรองบนแถบนำทาง"
ifOn: "เมื่อเปิดใช้งาน"
ifOff: "เมื่อปิดใช้งาน"
enableSyncThemesBetweenDevices: "ซิงค์ธีมที่ติดตั้งระหว่างอุปกรณ์"
enablePullToRefresh: "ดึงเพื่ออัปเดต"
enablePullToRefresh_description: "สำหรับเมาส์ ให้กดปุ่มล้อกลางค้างไว้แล้วลาก"
realtimeMode_description: "เชื่อมต่อกับเซิร์ฟเวอร์และอัปเดตเนื้อหาแบบเรียลไทม์ อาจทำให้ใช้ปริมาณข้อมูลและแบตเตอรี่มากขึ้นได้"
contentsUpdateFrequency: "ความถี่ในการดึงข้อมูลเนื้อหา"
contentsUpdateFrequency_description: "ยิ่งตั้งค่าสูง เนื้อหาจะอัปเดตแบบเรียลไทม์มากขึ้น แต่ประสิทธิภาพอาจลดลง และการใช้ข้อมูลกับแบตเตอรี่จะเพิ่มมากขึ้น"
contentsUpdateFrequency_description2: "เมื่อโหมดเรียลไทม์เปิดอยู่ เนื้อหาจะอัปเดตแบบเรียลไทม์โดยไม่ขึ้นกับการตั้งค่านี้"
showUrlPreview: "แสดงตัวอย่าง URL"
showAvailableReactionsFirstInNote: "แสดงรีแอคชั่นที่ใช้ได้ไว้หน้าสุด"
_chat:
showSenderName: "แสดงชื่อผู้ส่ง"
sendOnEnter: "กด Enter เพื่อส่ง"
_preferencesProfile:
profileName: "ชื่อโปรไฟล์"
profileNameDescription: "กรุณาตั้งชื่อเพื่อระบุอุปกรณ์นี้"
profileNameDescription2: "เช่น: “คอมเครื่องหลัก”, “มือถือ” ฯลฯ"
manageProfiles: "จัดการโปรไฟล์"
_preferencesBackup:
autoBackup: "สำรองโดยอัตโนมัติ"
restoreFromBackup: "คืนค่าจากข้อมูลสำรอง"
noBackupsFoundTitle: "ไม่พบข้อมูลสำรอง"
noBackupsFoundDescription: "ไม่พบข้อมูลสำรองที่สร้างโดยอัตโนมัติ แต่หากมีข้อมูลสำรองที่บันทึกด้วยตนเอง สามารถนำเข้ามาเพื่อกู้คืนได้"
selectBackupToRestore: "กรุณาเลือกข้อมูลสำรองที่ต้องการกู้คืน"
youNeedToNameYourProfileToEnableAutoBackup: "จำเป็นต้องตั้งชื่อโปรไฟล์ก่อนจึงจะเปิดใช้งานการสำรองข้อมูลอัตโนมัติได้"
autoPreferencesBackupIsNotEnabledForThisDevice: "ยังไม่ได้เปิดใช้งานการสำรองข้อมูลอัตโนมัติบนอุปกรณ์นี้"
backupFound: "พบข้อมูลสำรองของการตั้งค่าแล้ว"
_accountSettings: _accountSettings:
requireSigninToViewContents: "ต้องเข้าสู่ระบบเพื่อดูเนื้อหา" requireSigninToViewContents: "ต้องเข้าสู่ระบบเพื่อดูเนื้อหา"
requireSigninToViewContentsDescription1: "ต้องเข้าสู่ระบบเพื่อดูบันทึกและเนื้อหาอื่น ๆ ทั้งหมดที่คุณสร้าง คาดว่าจะมีประสิทธิผลในการป้องกันไม่ให้ข้อมูลถูกเก็บรวบรวมโดยโปรแกรมรวบรวมข้อมูล" requireSigninToViewContentsDescription1: "กำหนดให้ต้องเข้าสู่ระบบก่อนจึงจะสามารถดูโน้ตหรือเนื้อหาทั้งหมดที่สร้างไว้ได้ ซึ่งช่วยป้องกันไม่ให้ข้อมูลถูกเก็บโดยบอตหรือ Crawler (โปรแกรมรวบรวมข้อมูล)"
requireSigninToViewContentsDescription2: "นอกจากนี้ จะไม่สามารถดูจากเซิร์ฟเวอร์ที่ไม่รองรับการดูตัวอย่าง URL (OGP), การฝังในหน้าเว็บ หรือการอ้างอิงหมายเหตุได้" requireSigninToViewContentsDescription2: "จะไม่สามารถแสดงผลจากเซิร์ฟเวอร์ที่ไม่รองรับการแสดงตัวอย่าง URL (OGP), การฝังในหน้าเว็บ, หรือการอ้างอิงโน้ตได้"
requireSigninToViewContentsDescription3: "เนื้อหาที่ถูกรวมเข้ากับเซิร์ฟเวอร์ระยะไกลอาจไม่อยู่ภายใต้ข้อจำกัดเหล่านี้" requireSigninToViewContentsDescription3: "เนื้อหาที่ถูกรวมผ่านสหพันธ์จากเซิร์ฟเวอร์ระยะไกลอาจไม่อยู่ภายใต้ข้อจำกัดเหล่านี้"
makeNotesFollowersOnlyBefore: "แสดงโน้ตเก่าเฉพาะกับผู้ติดตามเท่านั้น"
makeNotesFollowersOnlyBeforeDescription: "ขณะที่เปิดฟังก์ชันนี้ โน้ตที่เก่ากว่าหรือเลยเวลาที่กำหนดจะแสดงเฉพาะกับผู้ติดตามเท่านั้น หากปิดใช้งาน สถานะการเปิดเผยจะกลับไปเป็นแบบเดิม"
makeNotesHiddenBefore: "ทำให้โน้ตเก่าทั้งหมดเป็นแบบส่วนตัว"
makeNotesHiddenBeforeDescription: "ขณะที่เปิดฟังก์ชันนี้ โน้ตที่เก่ากว่าหรือเลยเวลาที่กำหนดจะแสดงเฉพาะกับตนเอง (กลายเป็นแบบส่วนตัว) หากปิดใช้งาน สถานะการเปิดเผยจะกลับไปเป็นแบบเดิม"
mayNotEffectForFederatedNotes: "โน้ตที่ถูกรวมผ่านสหพันธ์จากเซิร์ฟเวอร์ระยะไกลอาจไม่ได้รับผลจากการตั้งค่านี้"
mayNotEffectSomeSituations: "ข้อจำกัดเหล่านี้เป็นเพียงการกรองเบื้องต้น ในบางกรณี เช่น การดูจากเซิร์ฟเวอร์อื่นหรือในระหว่างการตรวจสอบโดยผู้ดูแล อาจไม่สามารถใช้งานได้"
notesHavePassedSpecifiedPeriod: "โน้ตที่เลยเวลาที่กำหนดไว้แล้ว"
notesOlderThanSpecifiedDateAndTime: "โน้ตก่อนเวลาที่กำหนดไว้"
_abuseUserReport: _abuseUserReport:
forward: "ส่ง​ต่อ" forward: "ส่ง​ต่อ"
forwardDescription: "ส่งรายงานไปยังเซิร์ฟเวอร์ระยะไกลโดยใช้บัญชีระบบที่ไม่ระบุตัวตน" forwardDescription: "ส่งรายงานไปยังเซิร์ฟเวอร์ระยะไกลโดยใช้บัญชีระบบที่ไม่ระบุตัวตน"
resolve: "แก้ไข" resolve: "แก้ไข"
accept: "ยอมรับ" accept: "ยอมรับ"
reject: "ปฏิเสธ" reject: "ปฏิเสธ"
resolveTutorial: "ถ้าหากรายงานนี้มีเนื้อหาถูกต้อง ให้เลือก \"ยอมรับ\" เพื่อปิดเคสกรณีนี้โดยถือว่าได้รับการแก้ไขแล้ว\nถ้าหากเนื้อหาในรายงานนี้นั้นไม่ถูกต้อง ให้เลือก \"ปฏิเสธ\" เพื่อปิดเคสกรณีนี้โดยถือว่าไม่ได้รับการแก้ไข" resolveTutorial: "ให้เลือก “ยอมรับ” หากรายงานนี้มีเนื้อหาชอบธรรม เพื่อทำเครื่องหมายว่ากรณีนี้ได้รับการแก้ไขในทางบวก\nให้เลือก “ปฏิเสธ” หากรายงานนี้มีเนื้อหาไม่สมเหตุผล เพื่อทำเครื่องหมายว่ากรณีนี้ได้รับการแก้ไขในทางลบ"
_delivery: _delivery:
status: "สถานะการจัดส่ง" status: "สถานะการจัดส่ง"
stop: "ระงับการส่ง" stop: "ระงับการส่ง"
@ -1335,6 +1505,7 @@ _delivery:
manuallySuspended: "หยุดชั่วคราวด้วยตนเอง" manuallySuspended: "หยุดชั่วคราวด้วยตนเอง"
goneSuspended: "เซิร์ฟเวอร์ถูกระงับเนื่องจากมีการลบเซิร์ฟเวอร์นี้" goneSuspended: "เซิร์ฟเวอร์ถูกระงับเนื่องจากมีการลบเซิร์ฟเวอร์นี้"
autoSuspendedForNotResponding: "เซิร์ฟเวอร์ถูกระงับเนื่องจากไม่ตอบสนอง" autoSuspendedForNotResponding: "เซิร์ฟเวอร์ถูกระงับเนื่องจากไม่ตอบสนอง"
softwareSuspended: "หยุดให้บริการ เนื่องจากเป็นซอฟต์แวร์ที่ถูกระงับการเผยแพร่"
_bubbleGame: _bubbleGame:
howToPlay: "วิธีเล่น" howToPlay: "วิธีเล่น"
hold: "ถือไว้" hold: "ถือไว้"
@ -1449,7 +1620,7 @@ _timelineDescription:
_serverRules: _serverRules:
description: "ชุดของกฎที่จะแสดงก่อนการลงทะเบียนเราขอแนะนำให้ตั้งค่าสรุปข้อกำหนดในการให้บริการ" description: "ชุดของกฎที่จะแสดงก่อนการลงทะเบียนเราขอแนะนำให้ตั้งค่าสรุปข้อกำหนดในการให้บริการ"
_serverSettings: _serverSettings:
iconUrl: "URL ไอคอน" iconUrl: "URL ของไอคอน"
appIconDescription: "ระบุไอคอนที่จะใช้เมื่อ {host} แสดงเป็นแอป" appIconDescription: "ระบุไอคอนที่จะใช้เมื่อ {host} แสดงเป็นแอป"
appIconUsageExample: "ตัวอย่างเช่น เมื่อถูกเพิ่มเป็น PWA หรือบุ๊กมาร์กบนหน้าจอหลักในสมาร์ทโฟน" appIconUsageExample: "ตัวอย่างเช่น เมื่อถูกเพิ่มเป็น PWA หรือบุ๊กมาร์กบนหน้าจอหลักในสมาร์ทโฟน"
appIconStyleRecommendation: "เนื่องจากอาจถูกครอบตัดเป็นสี่เหลี่ยมหรือวงกลม จึงแนะนำให้ใช้ภาพที่เผื่อพื้นที่รอบๆ ตัวโลโก้ไอคอนไว้" appIconStyleRecommendation: "เนื่องจากอาจถูกครอบตัดเป็นสี่เหลี่ยมหรือวงกลม จึงแนะนำให้ใช้ภาพที่เผื่อพื้นที่รอบๆ ตัวโลโก้ไอคอนไว้"
@ -1463,7 +1634,26 @@ _serverSettings:
reactionsBufferingDescription: "เมื่อเปิดใช้งานฟังก์ชันนี้ก็จะช่วยลด latency ในการสร้างปฏิกิริยา แต่อาจจะส่งผลให้ memory footprint ของ Redis เพิ่มขึ้นนะ" reactionsBufferingDescription: "เมื่อเปิดใช้งานฟังก์ชันนี้ก็จะช่วยลด latency ในการสร้างปฏิกิริยา แต่อาจจะส่งผลให้ memory footprint ของ Redis เพิ่มขึ้นนะ"
inquiryUrl: "URL สำหรับการติดต่อสอบถาม" inquiryUrl: "URL สำหรับการติดต่อสอบถาม"
inquiryUrlDescription: "ระบุ URL ของหน้าเว็บที่มีแบบฟอร์มสำหรับติดต่อผู้ดูแลเซิร์ฟเวอร์ หรือข้อมูลการติดต่อของผู้ดูแลเซิร์ฟเวอร์" inquiryUrlDescription: "ระบุ URL ของหน้าเว็บที่มีแบบฟอร์มสำหรับติดต่อผู้ดูแลเซิร์ฟเวอร์ หรือข้อมูลการติดต่อของผู้ดูแลเซิร์ฟเวอร์"
thisSettingWillAutomaticallyOffWhenModeratorsInactive: "ถ้าหากไม่มีการตรวจสอบจากผู้ดูแลระบบหรือไม่มีความเคลื่อนไหวมาเป็นระยะเวลาหนึ่ง ระบบจะทำการปิดใช้งานฟังก์ชันนี้โดยอัตโนมัติ เพื่อลดความเสี่ยงในการถูกโจมตีด้วยสแปมและอื่นๆ" openRegistration: "เปิดให้สร้างบัญชีได้"
openRegistrationWarning: "การเปิดให้ลงทะเบียนมีความเสี่ยง แนะนำให้เปิดใช้งานเฉพาะในกรณีที่สามารถตรวจสอบเซิร์ฟเวอร์อย่างสม่ำเสมอและมีระบบรับมือกับปัญหาได้ทันท่วงที"
thisSettingWillAutomaticallyOffWhenModeratorsInactive: "หากไม่พบกิจกรรมของผู้ควบคุมในช่วงระยะเวลาหนึ่ง การตั้งค่านี้จะถูกปิดโดยอัตโนมัติเพื่อป้องกันสแปม"
deliverSuspendedSoftware: "ซอฟต์แวร์ที่หยุดการเผยแพร่"
deliverSuspendedSoftwareDescription: "เนื่องจากเหตุผลด้านช่องโหว่ เป็นต้น สามารถหยุดการแจกจ่ายโดยระบุชื่อซอฟต์แวร์ของเซิร์ฟเวอร์และช่วงของเวอร์ชันได้ ข้อมูลเวอร์ชันนี้เป็นข้อมูลที่เซิร์ฟเวอร์ให้มา จึงไม่สามารถรับประกันความน่าเชื่อถือได้ สามารถใช้การระบุช่วงเวอร์ชันแบบ semver ได้ แต่ถ้าระบุเป็น >= 2024.3.1 จะไม่รวมเวอร์ชันแบบกำหนดเอง เช่น 2024.3.1-custom.0 จึงแนะนำให้ระบุเป็น >= 2024.3.1-0 ซึ่งเป็นการระบุแบบ prerelease"
singleUserMode: "โหมดผู้ใช้คนเดียว"
singleUserMode_description: "หากมีเพียงตัวเองคนเดียวที่ใช้เซิร์ฟเวอร์นี้ การเปิดใช้งานโหมดนี้จะช่วยปรับการทำงานให้เหมาะสมที่สุด"
signToActivityPubGet: "ลงนามในคำขอ GET"
signToActivityPubGet_description: "โดยปกติควรเปิดใช้งาน แต่หากพบปัญหาเกี่ยวกับการสื่อสารในสหพันธ์ การปิดใช้งานอาจช่วยแก้ไขได้ แต่ในบางกรณี เซิร์ฟเวอร์อาจไม่สามารถสื่อสารได้เลยหากปิดใช้งานนี้"
proxyRemoteFiles: "พร็อกซีไฟล์ระยะไกล"
proxyRemoteFiles_description: "เมื่อเปิดใช้งาน จะทำหน้าที่เป็นพร็อกซีสำหรับไฟล์จากระยะไกล ช่วยในการสร้างภาพขนาดย่อและปกป้องความเป็นส่วนตัวของผู้ใช้"
allowExternalApRedirect: "อนุญาตการเปลี่ยนเส้นทางการสืบค้นผ่าน ActivityPub"
allowExternalApRedirect_description: "เมื่อเปิดใช้งาน จะอนุญาตให้เซิร์ฟเวอร์อื่นสืบค้นเนื้อหาของบุคคลที่สามผ่านเซิร์ฟเวอร์นี้ได้ แต่มีความเสี่ยงที่อาจเกิดการปลอมแปลงเนื้อหา"
userGeneratedContentsVisibilityForVisitor: "ขอบเขตการเปิดเผยเนื้อหาที่ผู้ใช้สร้างต่อบุคคลที่ไม่ได้เข้าร่วม (แขก)"
userGeneratedContentsVisibilityForVisitor_description: "ช่วยป้องกันปัญหาที่อาจเกิดขึ้นจากเนื้อหาระยะไกลที่ไม่เหมาะสม ซึ่งอาจถูกเผยแพร่ออกสู่อินเทอร์เน็ตโดยไม่ตั้งใจผ่านเซิร์ฟเวอร์ของตนเอง โดยเฉพาะในกรณีที่การดูแลควบคุมไม่ทั่วถึง"
userGeneratedContentsVisibilityForVisitor_description2: "การเปิดเผยเนื้อหาทั้งหมดในเซิร์ฟเวอร์รวมทั้งเนื้อหาที่รับมาจากระยะไกลสู่สาธารณะบนอินเทอร์เน็ตโดยไม่มีข้อจำกัดใดๆ มีความเสี่ยงโดยเฉพาะอย่างยิ่งสำหรับผู้ชมที่ไม่เข้าใจลักษณะของระบบแบบกระจาย อาจทำให้เกิดความเข้าใจผิดคิดว่าเนื้อหาที่มาจากระยะไกลนั้นเป็นเนื้อหาที่สร้างขึ้นภายในเซิร์ฟเวอร์นี้ จึงควรใช้ความระมัดระวังอย่างมาก"
_userGeneratedContentsVisibilityForVisitor:
all: "ทั้งหมดสาธารณะ"
localOnly: "เผยแพร่เป็นสาธารณะเฉพาะเนื้อหาท้องถิ่น เนื้อหาระยะไกลให้เป็นส่วนตัว"
none: "ทั้งหมดส่วนตัว"
_accountMigration: _accountMigration:
moveFrom: "ย้ายจากบัญชีอื่นมาที่บัญชีนี้" moveFrom: "ย้ายจากบัญชีอื่นมาที่บัญชีนี้"
moveFromSub: "สร้างนามแฝงไปยังบัญชีอื่น" moveFromSub: "สร้างนามแฝงไปยังบัญชีอื่น"
@ -1753,13 +1943,15 @@ _role:
baseRole: "แม่แบบบทบาท" baseRole: "แม่แบบบทบาท"
useBaseValue: "ใช้ตามแม่แบบบทบาท" useBaseValue: "ใช้ตามแม่แบบบทบาท"
chooseRoleToAssign: "เลือกบทบาทที่ต้องการกำหนด" chooseRoleToAssign: "เลือกบทบาทที่ต้องการกำหนด"
iconUrl: "URL ไอคอน" iconUrl: "URL ของไอคอน"
asBadge: "แสดงเป็นตรา" asBadge: "แสดงเป็นตรา"
descriptionOfAsBadge: "เมื่อเปิดใช้งาน ไอคอนบทบาทจะปรากฏถัดจากชื่อผู้ใช้" descriptionOfAsBadge: "หากเปิดใช้งาน จะมีไอคอนของบทบาท แสดงถัดจากชื่อผู้ใช้"
isExplorable: "ค้นหาผู้ใช้ได้ง่ายขึ้นโดยดูจากบทบาท" isExplorable: "ค้นหาผู้ใช้ได้ง่ายขึ้นโดยดูจากบทบาท"
descriptionOfIsExplorable: "เมื่อเปิดใช้งาน ไทมไลน์บทบาทนี้และสมาชิกที่มีบทบาทนี้จะเปิดเผยเป็นสาธารณะ" descriptionOfIsExplorable: "เมื่อเปิดใช้งาน ไทมไลน์บทบาทนี้และสมาชิกที่มีบทบาทนี้จะเปิดเผยเป็นสาธารณะ"
displayOrder: "ลำดับการแสดงผล" displayOrder: "ลำดับการแสดงผล"
descriptionOfDisplayOrder: "เลขที่สูงกว่าจะแสดงบน UI ก่อน" descriptionOfDisplayOrder: "เลขที่สูงกว่าจะแสดงบน UI ก่อน"
preserveAssignmentOnMoveAccount: "โอนสถานะการมอบหมายไปยังบัญชีที่ย้ายไป"
preserveAssignmentOnMoveAccount_description: "เมื่อเปิดใช้งาน บัญชีที่ได้รับบทบาทนี้เมื่อถูกย้ายไปบัญชีใหม่ บทบาทนี้จะถูกถ่ายทอดไปยังบัญชีปลายทางด้วย"
canEditMembersByModerator: "อนุญาตให้ผู้ควบคุมแก้ไขสมาชิก" canEditMembersByModerator: "อนุญาตให้ผู้ควบคุมแก้ไขสมาชิก"
descriptionOfCanEditMembersByModerator: "เมื่อเปิดใช้ นอกเหนือจากผู้ควบคุมและผู้ดูแลระบบแล้ว จะสามารถเพิ่มถอนบทบาทนี้แก่ผู้ใช้ได้ แต่เมื่อปิดใช้ จะมีเฉพาะผู้ดูแลระบบเท่านั้นที่จะสามารถดำเนินการได้" descriptionOfCanEditMembersByModerator: "เมื่อเปิดใช้ นอกเหนือจากผู้ควบคุมและผู้ดูแลระบบแล้ว จะสามารถเพิ่มถอนบทบาทนี้แก่ผู้ใช้ได้ แต่เมื่อปิดใช้ จะมีเฉพาะผู้ดูแลระบบเท่านั้นที่จะสามารถดำเนินการได้"
priority: "ลำดับความสำคัญ" priority: "ลำดับความสำคัญ"
@ -1779,8 +1971,9 @@ _role:
canManageCustomEmojis: "จัดการเอโมจิที่กำหนดเอง" canManageCustomEmojis: "จัดการเอโมจิที่กำหนดเอง"
canManageAvatarDecorations: "จัดการตกแต่งอวตาร" canManageAvatarDecorations: "จัดการตกแต่งอวตาร"
driveCapacity: "ความจุของไดรฟ์" driveCapacity: "ความจุของไดรฟ์"
maxFileSize: "ขนาดไฟล์สูงสุดที่สามารถอัปโหลดได้"
alwaysMarkNsfw: "ทำเครื่องหมายไฟล์ว่าเป็น NSFW เสมอ" alwaysMarkNsfw: "ทำเครื่องหมายไฟล์ว่าเป็น NSFW เสมอ"
canUpdateBioMedia: "อนุญาตให้ปรับปรุงไอคอนและแบนเนอร์" canUpdateBioMedia: "อนุญาตให้เปลี่ยนไอคอนประจำตัวและแบนเนอร์"
pinMax: "จํานวนสูงสุดของโน้ตที่ปักหมุดไว้" pinMax: "จํานวนสูงสุดของโน้ตที่ปักหมุดไว้"
antennaMax: "จำนวนสูงสุดของเสาอากาศ" antennaMax: "จำนวนสูงสุดของเสาอากาศ"
wordMuteMax: "จำนวนอักขระสูงสุดที่อนุญาตในการปิดเสียงคำ" wordMuteMax: "จำนวนอักขระสูงสุดที่อนุญาตในการปิดเสียงคำ"
@ -1794,12 +1987,18 @@ _role:
canHideAds: "ซ่อนโฆษณา" canHideAds: "ซ่อนโฆษณา"
canSearchNotes: "การใช้การค้นหาโน้ต" canSearchNotes: "การใช้การค้นหาโน้ต"
canUseTranslator: "การใช้งานแปล" canUseTranslator: "การใช้งานแปล"
avatarDecorationLimit: "จำนวนการตกแต่งไอคอนสูงสุดที่สามารถติดตั้งได้" avatarDecorationLimit: "จำนวนของตกแต่งไอคอนสูงสุดที่สามารถติดตั้งได้"
canImportAntennas: "อนุญาตให้นำเข้าเสาอากาศ" canImportAntennas: "อนุญาตให้นำเข้าเสาอากาศ"
canImportBlocking: "อนุญาตให้นำเข้าการบล็อก" canImportBlocking: "อนุญาตให้นำเข้าการบล็อก"
canImportFollowing: "อนุญาตให้นำเข้ารายการต่อไปนี้" canImportFollowing: "อนุญาตให้นำเข้ารายการต่อไปนี้"
canImportMuting: "อนุญาตให้นำเข้าการปิดกั้น" canImportMuting: "อนุญาตให้นำเข้าการปิดเสียง"
canImportUserLists: "อนุญาตให้นำเข้ารายการ" canImportUserLists: "อนุญาตให้นำเข้ารายการ"
chatAvailability: "อนุญาตให้แชต"
uploadableFileTypes: "ประเภทไฟล์ที่สามารถอัปโหลดได้"
uploadableFileTypes_caption: "สามารถระบุ MIME type ได้ โดยใช้การขึ้นบรรทัดใหม่เพื่อแยกหลายรายการ และสามารถใช้ดอกจัน (*) เพื่อระบุแบบไวลด์การ์ดได้ (เช่น: image/*)"
uploadableFileTypes_caption2: "ไฟล์บางประเภทอาจไม่สามารถระบุชนิดได้ หากต้องการอนุญาตไฟล์ลักษณะนั้น กรุณาเพิ่ม {x} ลงในรายการที่อนุญาต"
noteDraftLimit: "จำนวนโน้ตฉบับร่างที่สามารถสร้างได้บนฝั่งเซิร์ฟเวอร์"
watermarkAvailable: "มีฟังก์ชั่นลายน้ำให้เลือกใช้"
_condition: _condition:
roleAssignedTo: "มอบหมายให้มีบทบาทแบบทำมือ" roleAssignedTo: "มอบหมายให้มีบทบาทแบบทำมือ"
isLocal: "ผู้ใช้ท้องถิ่น" isLocal: "ผู้ใช้ท้องถิ่น"
@ -1959,10 +2158,12 @@ _theme:
install: "ติดตั้งธีม" install: "ติดตั้งธีม"
manage: "จัดการธีม" manage: "จัดการธีม"
code: "โค้ดธีม" code: "โค้ดธีม"
description: "รายละเอียด" copyThemeCode: "คัดลอกรหัสธีม"
description: "คำอธิบาย"
installed: "{name} ได้รับการติดตั้ง" installed: "{name} ได้รับการติดตั้ง"
installedThemes: "ธีมที่ติดตั้ง" installedThemes: "ธีมที่ติดตั้ง"
builtinThemes: "ธีมในตัว" builtinThemes: "ธีมในตัว"
instanceTheme: "ธีมของเซิร์ฟเวอร์"
alreadyInstalled: "ธีมนี้ได้รับการติดตั้งแล้ว" alreadyInstalled: "ธีมนี้ได้รับการติดตั้งแล้ว"
invalid: "รูปแบบของธีมนี้ไม่ถูกต้องนะ" invalid: "รูปแบบของธีมนี้ไม่ถูกต้องนะ"
make: "ทำธีม" make: "ทำธีม"
@ -1990,7 +2191,7 @@ _theme:
fg: "ข้อความ" fg: "ข้อความ"
focus: "โฟกัส" focus: "โฟกัส"
indicator: "ตัวบ่งชี้" indicator: "ตัวบ่งชี้"
panel: "แผงควบคุม" panel: "แผง"
shadow: "เงา" shadow: "เงา"
header: "ส่วนหัว" header: "ส่วนหัว"
navBg: "พื้นหลังแถบด้านข้าง" navBg: "พื้นหลังแถบด้านข้าง"
@ -2000,7 +2201,7 @@ _theme:
link: "ลิงก์" link: "ลิงก์"
hashtag: "แฮชแท็ก" hashtag: "แฮชแท็ก"
mention: "กล่าวถึง" mention: "กล่าวถึง"
mentionMe: "ได้กล่าวถึง (ฉัน)" mentionMe: "ได้กล่าวถึงคุณ"
renote: "รีโน้ต" renote: "รีโน้ต"
modalBg: "พื้นหลังโมดอล" modalBg: "พื้นหลังโมดอล"
divider: "ตัวแบ่ง" divider: "ตัวแบ่ง"
@ -2024,6 +2225,7 @@ _sfx:
noteMy: "โน้ตของตัวเอง" noteMy: "โน้ตของตัวเอง"
notification: "การเเจ้งเตือน" notification: "การเเจ้งเตือน"
reaction: "เมื่อเลือกรีแอคชั่น" reaction: "เมื่อเลือกรีแอคชั่น"
chatMessage: "ข้อความของแชต"
_soundSettings: _soundSettings:
driveFile: "ใช้เสียงจากไดรฟ์" driveFile: "ใช้เสียงจากไดรฟ์"
driveFileWarn: "เลือกไฟล์ในไดรฟ์ของคุณ" driveFileWarn: "เลือกไฟล์ในไดรฟ์ของคุณ"
@ -2066,15 +2268,15 @@ _2fa:
step3: "ป้อนโทเค็นที่แอปของคุณให้มาเพื่อเสร็จสิ้นการตั้งค่า" step3: "ป้อนโทเค็นที่แอปของคุณให้มาเพื่อเสร็จสิ้นการตั้งค่า"
setupCompleted: "ตั้งค่าสำเร็จแล้ว" setupCompleted: "ตั้งค่าสำเร็จแล้ว"
step4: "นับจากนี้เป็นต้นไปการพยายามเข้าสู่ระบบในอนาคตนั้น อาจจะต้องขอโทเค็นในการเข้าสู่ระบบดังกล่าว" step4: "นับจากนี้เป็นต้นไปการพยายามเข้าสู่ระบบในอนาคตนั้น อาจจะต้องขอโทเค็นในการเข้าสู่ระบบดังกล่าว"
securityKeyNotSupported: "เบราว์เซอร์ของคุณไม่รองรับคีย์ความปลอดภัยนะ" securityKeyNotSupported: "เว็บเบราว์เซอร์ที่ใช้งานอยู่ไม่รองรับ Security Key"
registerTOTPBeforeKey: "กรุณาตั้งค่าแอปยืนยันตัวตนเพื่อลงทะเบียนรหัสความปลอดภัยหรือรหัสผ่าน" registerTOTPBeforeKey: "ก่อนลงทะเบียน Security Key หรือ Passkey กรุณาตั้งค่าแอปยืนยันตัวตนก่อน"
securityKeyInfo: "นอกจากนี้การตรวจสอบความถูกต้องด้วยลายนิ้วมือหรือ PIN แล้ว คุณยังสามารถตั้งค่าการตรวจสอบสิทธิ์ผ่านคีย์ความปลอดภัยของฮาร์ดแวร์ที่รองรับ FIDO2 เพื่อเพิ่มความปลอดภัยให้กับบัญชีของคุณ" securityKeyInfo: "ลงทะเบียนกุญแจที่มาจาก WebAuthn เช่น Security Key แบบฮาร์ดแวร์ที่รองรับ FIDO2 การยืนยันตัวตนด้วยชีวมิติหรือ PIN บนอุปกรณ์ และ Passkey"
registerSecurityKey: "ลงทะเบียนรหัสความปลอดภัยหรือรหัสผ่าน" registerSecurityKey: "ลงทะเบียน Security Key หรือ Passkey"
securityKeyName: "ป้อนชื่อคีย์" securityKeyName: "ป้อนชื่อคีย์"
tapSecurityKey: "กรุณาทำตามเบราว์เซอร์ของคุณเพื่อลงทะเบียนรหัสความปลอดภัยหรือรหัสผ่าน" tapSecurityKey: "กรุณาทำตามคำแนะนำของเบราว์เซอร์เพื่อลงทะเบียน Security Key หรือ Passkey"
removeKey: "ลบคีย์ความปลอดภัยออก" removeKey: "ลบ Security Key ออก"
removeKeyConfirm: "ลบข้อมูลสำรอง {name} มั้ย?" removeKeyConfirm: "ลบข้อมูลสำรอง {name} มั้ย?"
whyTOTPOnlyRenew: "ไม่สามารถลบแอปตัวรับรองความถูกต้องได้ตราบใดที่มีการลงทะเบียนคีย์ความปลอดภัยไว้แล้ว" whyTOTPOnlyRenew: "ไม่สามารถลบแอปตัวรับรองความถูกต้องได้ตราบใดที่ยังมีการลงทะเบียน Security Key อยู่"
renewTOTP: "ตั้งค่าแอปยืนยันตัวตน" renewTOTP: "ตั้งค่าแอปยืนยันตัวตน"
renewTOTPConfirm: "วิธีการแบบนี้จะทําให้รหัสยืนยันจากแอพก่อนหน้าของคุณหยุดทํางานเลยนะ" renewTOTPConfirm: "วิธีการแบบนี้จะทําให้รหัสยืนยันจากแอพก่อนหน้าของคุณหยุดทํางานเลยนะ"
renewTOTPOk: "ตั้งค่าคอนฟิกใหม่" renewTOTPOk: "ตั้งค่าคอนฟิกใหม่"
@ -2171,6 +2373,7 @@ _permissions:
"read:federation": "รับข้อมูลเกี่ยวกับสหพันธ์" "read:federation": "รับข้อมูลเกี่ยวกับสหพันธ์"
"write:report-abuse": "รายงานการละเมิด" "write:report-abuse": "รายงานการละเมิด"
"write:chat": "เขียนหรือลบข้อความแชท" "write:chat": "เขียนหรือลบข้อความแชท"
"read:chat": "อ่านแชต"
_auth: _auth:
shareAccessTitle: "การให้สิทธิ์แอปพลิเคชัน" shareAccessTitle: "การให้สิทธิ์แอปพลิเคชัน"
shareAccess: "คุณต้องการอนุญาตให้ \"{name}\" เข้าถึงบัญชีนี้เลยมั้ย?" shareAccess: "คุณต้องการอนุญาตให้ \"{name}\" เข้าถึงบัญชีนี้เลยมั้ย?"
@ -2179,8 +2382,11 @@ _auth:
permissionAsk: "แอปพลิเคชันนี้ขอสิทธิ์ดังต่อไปนี้" permissionAsk: "แอปพลิเคชันนี้ขอสิทธิ์ดังต่อไปนี้"
pleaseGoBack: "กรุณากลับไปที่แอปพลิเคชัน" pleaseGoBack: "กรุณากลับไปที่แอปพลิเคชัน"
callback: "กำลังกลับไปที่แอปพลิเคชัน" callback: "กำลังกลับไปที่แอปพลิเคชัน"
accepted: "การเข้าถึงได้รับอนุญาต"
denied: "ปฏิเสธการเข้าใช้" denied: "ปฏิเสธการเข้าใช้"
scopeUser: "กำลังดำเนินการในฐานะผู้ใช้ต่อไปนี้"
pleaseLogin: "กรุณาเข้าสู่ระบบเพื่ออนุมัติแอปพลิเคชัน" pleaseLogin: "กรุณาเข้าสู่ระบบเพื่ออนุมัติแอปพลิเคชัน"
byClickingYouWillBeRedirectedToThisUrl: "หากอนุญาตการเข้าถึง ระบบจะเปลี่ยนเส้นทางไปยัง URL ด้านล่างโดยอัตโนมัติ"
_antennaSources: _antennaSources:
all: "โน้ตทั้งหมด" all: "โน้ตทั้งหมด"
homeTimeline: "โน้ตจากผู้ใช้ที่ติดตาม" homeTimeline: "โน้ตจากผู้ใช้ที่ติดตาม"
@ -2226,6 +2432,7 @@ _widgets:
chooseList: "เลือกรายชื่อ" chooseList: "เลือกรายชื่อ"
clicker: "คลิกเกอร์" clicker: "คลิกเกอร์"
birthdayFollowings: "วันเกิดผู้ใช้ในวันนี้" birthdayFollowings: "วันเกิดผู้ใช้ในวันนี้"
chat: "แชต"
_cw: _cw:
hide: "ซ่อน" hide: "ซ่อน"
show: "โหลดเพิ่มเติม" show: "โหลดเพิ่มเติม"
@ -2265,6 +2472,8 @@ _visibility:
disableFederation: "การปิดใช้งานสหพันธ์" disableFederation: "การปิดใช้งานสหพันธ์"
disableFederationDescription: "อย่าส่งข้อมูลไปยังเซิร์ฟเวอร์อื่น" disableFederationDescription: "อย่าส่งข้อมูลไปยังเซิร์ฟเวอร์อื่น"
_postForm: _postForm:
quitInspiteOfThereAreUnuploadedFilesConfirm: "มีไฟล์ที่ยังไม่ได้อัปโหลด ต้องการละทิ้งและปิดฟอร์มหรือไม่?"
uploaderTip: "ไฟล์ยังไม่ได้อัปโหลด สามารถตั้งค่าต่างๆ ได้จากเมนูของไฟล์ เช่น การเปลี่ยนชื่อ การครอปรูป การใส่ลายน้ำ และการบีบอัด ไฟล์จะถูกอัปโหลดโดยอัตโนมัติเมื่อโพสต์โน้ต"
replyPlaceholder: "ตอบกลับโน้ตนี้..." replyPlaceholder: "ตอบกลับโน้ตนี้..."
quotePlaceholder: "อ้างโน้ตนี้..." quotePlaceholder: "อ้างโน้ตนี้..."
channelPlaceholder: "โพสต์ลงช่อง..." channelPlaceholder: "โพสต์ลงช่อง..."
@ -2285,7 +2494,7 @@ _profile:
metadataDescription: "ใช้สิ่งเหล่านี้ คุณสามารถแสดงฟิลด์ข้อมูลเพิ่มเติมในโปรไฟล์ของคุณ" metadataDescription: "ใช้สิ่งเหล่านี้ คุณสามารถแสดงฟิลด์ข้อมูลเพิ่มเติมในโปรไฟล์ของคุณ"
metadataLabel: "ป้ายชื่อ" metadataLabel: "ป้ายชื่อ"
metadataContent: "เนื้อหา" metadataContent: "เนื้อหา"
changeAvatar: "เปลี่ยนอวาตาร์" changeAvatar: "เปลี่ยนไอคอนประจำตัว"
changeBanner: "เปลี่ยนแบนเนอร์" changeBanner: "เปลี่ยนแบนเนอร์"
verifiedLinkDescription: "หากป้อน URL ที่มีลิงก์ไปยังโปรไฟล์ของคุณ ไอคอนการยืนยันความเป็นเจ้าของจะแสดงถัดจากฟิลด์นั้น ๆ" verifiedLinkDescription: "หากป้อน URL ที่มีลิงก์ไปยังโปรไฟล์ของคุณ ไอคอนการยืนยันความเป็นเจ้าของจะแสดงถัดจากฟิลด์นั้น ๆ"
avatarDecorationMax: "คุณสามารถเพิ่มการตกแต่งได้สูงสุด {max}" avatarDecorationMax: "คุณสามารถเพิ่มการตกแต่งได้สูงสุด {max}"
@ -2298,7 +2507,7 @@ _exportOrImport:
clips: "คลิป" clips: "คลิป"
followingList: "กำลังติดตาม" followingList: "กำลังติดตาม"
muteList: "ปิดเสียง" muteList: "ปิดเสียง"
blockingList: "บล็อ" blockingList: "บล็อ"
userLists: "รายชื่อ" userLists: "รายชื่อ"
excludeMutingUsers: "ยกเว้นผู้ใช้ที่ปิดเสียง" excludeMutingUsers: "ยกเว้นผู้ใช้ที่ปิดเสียง"
excludeInactiveUsers: "ยกเว้นผู้ใช้ที่ไม่ได้ใช้งาน" excludeInactiveUsers: "ยกเว้นผู้ใช้ที่ไม่ได้ใช้งาน"
@ -2368,7 +2577,7 @@ _pages:
featured: "เป็นที่นิยม" featured: "เป็นที่นิยม"
inspector: "ตัวตรวจสอบ" inspector: "ตัวตรวจสอบ"
contents: "เนื้อหา" contents: "เนื้อหา"
content: "บล็อหน้าเพจ" content: "บล็อหน้าเพจ"
variables: "ตัวแปร" variables: "ตัวแปร"
title: "หัวข้อ" title: "หัวข้อ"
url: "URL ของหน้า" url: "URL ของหน้า"
@ -2380,7 +2589,7 @@ _pages:
fontSansSerif: "Sans Serif" fontSansSerif: "Sans Serif"
eyeCatchingImageSet: "ตั้งค่าภาพขนาดย่อ" eyeCatchingImageSet: "ตั้งค่าภาพขนาดย่อ"
eyeCatchingImageRemove: "ลบภาพขนาดย่อ" eyeCatchingImageRemove: "ลบภาพขนาดย่อ"
chooseBlock: "เพิ่มบล็อ" chooseBlock: "เพิ่มบล็อ"
enterSectionTitle: "ป้อนชื่อหัวข้อ" enterSectionTitle: "ป้อนชื่อหัวข้อ"
selectType: "เลือกชนิด" selectType: "เลือกชนิด"
contentBlocks: "เนื้อหา" contentBlocks: "เนื้อหา"
@ -2416,6 +2625,7 @@ _notification:
newNote: "โพสต์ใหม่" newNote: "โพสต์ใหม่"
unreadAntennaNote: "เสาอากาศ {name}" unreadAntennaNote: "เสาอากาศ {name}"
roleAssigned: "ได้รับบทบาท" roleAssigned: "ได้รับบทบาท"
chatRoomInvitationReceived: "ได้รับคำเชิญเข้าร่วมห้องแชต"
emptyPushNotificationMessage: "อัปเดตการแจ้งเตือนแบบพุชแล้ว" emptyPushNotificationMessage: "อัปเดตการแจ้งเตือนแบบพุชแล้ว"
achievementEarned: "รับความสำเร็จ" achievementEarned: "รับความสำเร็จ"
testNotification: "ทดสอบการแจ้งเตือน" testNotification: "ทดสอบการแจ้งเตือน"
@ -2428,7 +2638,9 @@ _notification:
followedBySomeUsers: "มีผู้ติดตาม {n} ราย" followedBySomeUsers: "มีผู้ติดตาม {n} ราย"
flushNotification: "ล้างประวัติการแจ้งเตือน" flushNotification: "ล้างประวัติการแจ้งเตือน"
exportOfXCompleted: "การดำเนินการส่งออก {x} ได้เสร็จสิ้นลงแล้ว" exportOfXCompleted: "การดำเนินการส่งออก {x} ได้เสร็จสิ้นลงแล้ว"
login: "มีคนล็อกอิน" login: "มีการเข้าสู่ระบบ"
createToken: "สร้างโทเค็นการเข้าถึงแล้ว"
createTokenDescription: "หากไม่ทราบสาเหตุของคำเชิญ กรุณาลบโทเค็นการเข้าถึงผ่านทาง “{text}”"
_types: _types:
all: "ทั้งหมด" all: "ทั้งหมด"
note: "โน้ตใหม่" note: "โน้ตใหม่"
@ -2442,9 +2654,11 @@ _notification:
receiveFollowRequest: "ได้รับคำร้องขอติดตาม" receiveFollowRequest: "ได้รับคำร้องขอติดตาม"
followRequestAccepted: "อนุมัติให้ติดตามแล้ว" followRequestAccepted: "อนุมัติให้ติดตามแล้ว"
roleAssigned: "ให้บทบาท" roleAssigned: "ให้บทบาท"
chatRoomInvitationReceived: "เชิญเข้าห้องแชต"
achievementEarned: "ปลดล็อกความสำเร็จแล้ว" achievementEarned: "ปลดล็อกความสำเร็จแล้ว"
exportCompleted: "กระบวนการส่งออกข้อมูลได้เสร็จสิ้นสมบูรณ์แล้ว" exportCompleted: "กระบวนการส่งออกข้อมูลได้เสร็จสิ้นสมบูรณ์แล้ว"
login: "เข้าสู่ระบบ" login: "เข้าสู่ระบบ"
createToken: "สร้างโทเค็นการเข้าถึง"
test: "ทดสอบระบบแจ้งเตือน" test: "ทดสอบระบบแจ้งเตือน"
app: "การแจ้งเตือนจากแอปที่มีลิงก์" app: "การแจ้งเตือนจากแอปที่มีลิงก์"
_actions: _actions:
@ -2454,6 +2668,9 @@ _notification:
_deck: _deck:
alwaysShowMainColumn: "แสดงคอลัมน์หลักเสมอ" alwaysShowMainColumn: "แสดงคอลัมน์หลักเสมอ"
columnAlign: "จัดแนวคอลัมน์" columnAlign: "จัดแนวคอลัมน์"
columnGap: "ช่องห่างระว่างคอลัมน์"
deckMenuPosition: "ตำแหน่งเมนูเด็ค"
navbarPosition: "ตำแหน่งของแถบนำทาง"
addColumn: "เพิ่มคอลัมน์" addColumn: "เพิ่มคอลัมน์"
newNoteNotificationSettings: "ตั้งค่าการแจ้งเตือนเมื่อมีโน้ตใหม่" newNoteNotificationSettings: "ตั้งค่าการแจ้งเตือนเมื่อมีโน้ตใหม่"
configureColumn: "ตั้งค่าคอลัมน์" configureColumn: "ตั้งค่าคอลัมน์"
@ -2472,6 +2689,7 @@ _deck:
useSimpleUiForNonRootPages: "แสดง UI ของ Root Page อย่างง่าย " useSimpleUiForNonRootPages: "แสดง UI ของ Root Page อย่างง่าย "
usedAsMinWidthWhenFlexible: "ความกว้างขั้นต่ำนั้นจะถูกใช้งานสำหรับสิ่งนี้เมื่อเปิดใช้งานตัวเลือก \"ปรับความกว้างอัตโนมัติ\" หากเลือกเปิดใช้งานแล้ว" usedAsMinWidthWhenFlexible: "ความกว้างขั้นต่ำนั้นจะถูกใช้งานสำหรับสิ่งนี้เมื่อเปิดใช้งานตัวเลือก \"ปรับความกว้างอัตโนมัติ\" หากเลือกเปิดใช้งานแล้ว"
flexible: "ปรับความกว้างอัตโนมัติ" flexible: "ปรับความกว้างอัตโนมัติ"
enableSyncBetweenDevicesForProfiles: "เปิดใช้งานการซิงค์ข้อมูลโปรไฟล์ระหว่างอุปกรณ์"
_columns: _columns:
main: "หลัก" main: "หลัก"
widgets: "วิดเจ็ต" widgets: "วิดเจ็ต"
@ -2483,6 +2701,7 @@ _deck:
mentions: "กล่าวถึงคุณ" mentions: "กล่าวถึงคุณ"
direct: "ไดเร็กต์" direct: "ไดเร็กต์"
roleTimeline: "บทบาทไทม์ไลน์" roleTimeline: "บทบาทไทม์ไลน์"
chat: "แชต"
_dialog: _dialog:
charactersExceeded: "คุณกำลังมีตัวอักขระเกินขีดจำกัดสูงสุดแล้วนะ! ปัจจุบันอยู่ที่ {current} จาก {max}" charactersExceeded: "คุณกำลังมีตัวอักขระเกินขีดจำกัดสูงสุดแล้วนะ! ปัจจุบันอยู่ที่ {current} จาก {max}"
charactersBelow: "คุณกำลังใช้อักขระต่ำกว่าขีดจำกัดขั้นต่ำเลยนะ! ปัจจุบันอยู่ที่ {current} จาก {min}" charactersBelow: "คุณกำลังใช้อักขระต่ำกว่าขีดจำกัดขั้นต่ำเลยนะ! ปัจจุบันอยู่ที่ {current} จาก {min}"
@ -2511,8 +2730,8 @@ _webhookSettings:
abuseReport: "เมื่อมีการรายงานจากผู้ใช้" abuseReport: "เมื่อมีการรายงานจากผู้ใช้"
abuseReportResolved: "เมื่อมีการจัดการกับการรายงานจากผู้ใช้" abuseReportResolved: "เมื่อมีการจัดการกับการรายงานจากผู้ใช้"
userCreated: "เมื่อผู้ใช้ถูกสร้างขึ้น" userCreated: "เมื่อผู้ใช้ถูกสร้างขึ้น"
inactiveModeratorsWarning: "เมื่อผู้ดูแลระบบไม่ได้ใช้งานมานานระยะหนึ่ง" inactiveModeratorsWarning: "เมื่อผู้ควบคุมไม่มีความเคลื่อนไหวในช่วงระยะเวลาหนึ่ง"
inactiveModeratorsInvitationOnlyChanged: "เมื่อผู้ดูแลระบบที่ไม่ได้ใช้งานมานาน และเซิร์ฟเวอร์เปลี่ยนเป็นแบบเชิญเข้าร่วมเท่านั้น" inactiveModeratorsInvitationOnlyChanged: "เมื่อผู้ควบคุมไม่มีความเคลื่อนไหวในช่วงระยะเวลาหนึ่ง ระบบจะเปลี่ยนเป็นแบบใช้คำเชิญโดยอัตโนมัติ"
deleteConfirm: "ต้องการลบ Webhook ใช่ไหม?" deleteConfirm: "ต้องการลบ Webhook ใช่ไหม?"
testRemarks: "คลิกปุ่มทางด้านขวาของสวิตช์เพื่อส่ง Webhook ทดสอบที่มีข้อมูลจำลอง" testRemarks: "คลิกปุ่มทางด้านขวาของสวิตช์เพื่อส่ง Webhook ทดสอบที่มีข้อมูลจำลอง"
_abuseReport: _abuseReport:
@ -2564,10 +2783,10 @@ _moderationLogTypes:
createAd: "สร้างโฆษณาแล้ว" createAd: "สร้างโฆษณาแล้ว"
deleteAd: "ลบโฆษณาออกแล้ว" deleteAd: "ลบโฆษณาออกแล้ว"
updateAd: "อัปเดตโฆษณาแล้ว" updateAd: "อัปเดตโฆษณาแล้ว"
createAvatarDecoration: "สร้างการตกแต่งไอคอนแล้ว" createAvatarDecoration: "สร้างของตกแต่งไอคอนแล้ว"
updateAvatarDecoration: "อัปเดตการตกแต่งไอคอนแล้ว" updateAvatarDecoration: "อัปเดตของตกแต่งไอคอนแล้ว"
deleteAvatarDecoration: "ลบการตกแต่งไอคอนแล้ว" deleteAvatarDecoration: "ลบของตกแต่งไอคอนแล้ว"
unsetUserAvatar: "ลบไอคอนผู้ใช้" unsetUserAvatar: "เลิกตั้งไอคอนประจำตัวแล้ว"
unsetUserBanner: "ลบแบนเนอร์ผู้ใช้" unsetUserBanner: "ลบแบนเนอร์ผู้ใช้"
createSystemWebhook: "สร้าง SystemWebhook" createSystemWebhook: "สร้าง SystemWebhook"
updateSystemWebhook: "อัปเดต SystemWebhook" updateSystemWebhook: "อัปเดต SystemWebhook"
@ -2579,6 +2798,8 @@ _moderationLogTypes:
deletePage: "เพจถูกลบออกไปแล้ว" deletePage: "เพจถูกลบออกไปแล้ว"
deleteFlash: "Play ถูกลบออกไปแล้ว" deleteFlash: "Play ถูกลบออกไปแล้ว"
deleteGalleryPost: "โพสต์แกลเลอรี่ถูกลบออกแล้ว" deleteGalleryPost: "โพสต์แกลเลอรี่ถูกลบออกแล้ว"
deleteChatRoom: "ลบห้องแชต"
updateProxyAccountDescription: "อัปเดตคำอธิบายของบัญชีพร็อกซี"
_fileViewer: _fileViewer:
title: "รายละเอียดไฟล์" title: "รายละเอียดไฟล์"
type: "ประเภทไฟล์" type: "ประเภทไฟล์"
@ -2586,6 +2807,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "วันที่เข้าร่วม" uploadedAt: "วันที่เข้าร่วม"
attachedNotes: "โน้ตที่แนบมาด้วย" attachedNotes: "โน้ตที่แนบมาด้วย"
usage: "ใช้แล้ว"
thisPageCanBeSeenFromTheAuthor: "หน้าเพจนี้จะสามารถปรากฏได้โดยผู้ใช้ที่อัปโหลดไฟล์นี้เท่านั้น" thisPageCanBeSeenFromTheAuthor: "หน้าเพจนี้จะสามารถปรากฏได้โดยผู้ใช้ที่อัปโหลดไฟล์นี้เท่านั้น"
_externalResourceInstaller: _externalResourceInstaller:
title: "ติดตั้งจากไซต์ภายนอก" title: "ติดตั้งจากไซต์ภายนอก"
@ -2631,8 +2853,14 @@ _dataSaver:
title: "โหลดสื่อ" title: "โหลดสื่อ"
description: "กันไม่ให้ภาพและวิดีโอโหลดโดยอัตโนมัติ แตะรูปภาพ/วิดีโอที่ซ่อนอยู่เพื่อโหลด" description: "กันไม่ให้ภาพและวิดีโอโหลดโดยอัตโนมัติ แตะรูปภาพ/วิดีโอที่ซ่อนอยู่เพื่อโหลด"
_avatar: _avatar:
title: "รูปไอคอน" title: "ปิดใช้งานภาพเคลื่อนไหวของไอคอนประจำตัว"
description: "ระงับการเคลื่อนไหวของภาพไอคอน ภาพเคลื่อนไหวอาจมีขนาดไฟล์ใหญ่กว่าภาพปกติ ดังนั้นจึงสามารถช่วยในการลดการใช้ข้อมูล" description: "ภาพเคลื่อนไหวของไอคอนประจำตัวจะหยุดทำงาน ภาพแบบเคลื่อนไหวมักมีขนาดไฟล์ใหญ่กว่าภาพปกติ จึงช่วยลดปริมาณการใช้ข้อมูลได้มากขึ้น"
_urlPreviewThumbnail:
title: "ซ่อนภาพขนาดย่อของการแสดงตัวอย่าง URL"
description: "ภาพขนาดย่อของการตัวอย่าง URL จะไม่ถูกโหลดอีกต่อไป"
_disableUrlPreview:
title: "ปิดการใช้งานแสดงตัวอย่าง URL"
description: "ปิดฟังก์ชันแสดงตัวอย่าง URL แตกต่างจากการซ่อนเพียงภาพขนาดย่อ ฟังก์ชันนี้จะช่วยลดการโหลดข้อมูลจากลิงก์ปลายทางทั้งหมด"
_code: _code:
title: "ไฮไลต์โค้ด" title: "ไฮไลต์โค้ด"
description: "หากใช้สัญลักษณ์ไฮไลต์โค้ดใน MFM ฯลฯ สัญลักษณ์เหล่านั้นจะไม่โหลดจนกว่าจะแตะ การไฮไลต์ไวยากรณ์(syntax)จำเป็นต้องดาวน์โหลดไฟล์คำจำกัดความของไฮไลต์สำหรับแต่ละภาษา ดังนั้นการปิดใช้งานการโหลดไฟล์เหล่านี้โดยอัตโนมัติจึงคาดว่าจะช่วยลดปริมาณข้อมูลการสื่อสารได้" description: "หากใช้สัญลักษณ์ไฮไลต์โค้ดใน MFM ฯลฯ สัญลักษณ์เหล่านั้นจะไม่โหลดจนกว่าจะแตะ การไฮไลต์ไวยากรณ์(syntax)จำเป็นต้องดาวน์โหลดไฟล์คำจำกัดความของไฮไลต์สำหรับแต่ละภาษา ดังนั้นการปิดใช้งานการโหลดไฟล์เหล่านี้โดยอัตโนมัติจึงคาดว่าจะช่วยลดปริมาณข้อมูลการสื่อสารได้"
@ -2683,13 +2911,15 @@ _reversi:
allowIrregularRules: "อนุญาตกฎที่ไม่ปรกติ (โหมดฟรีทุกอย่าง)" allowIrregularRules: "อนุญาตกฎที่ไม่ปรกติ (โหมดฟรีทุกอย่าง)"
disallowIrregularRules: "ไม่อนุญาตกฎที่ไม่ปรกติ" disallowIrregularRules: "ไม่อนุญาตกฎที่ไม่ปรกติ"
showBoardLabels: "แสดงหมายเลขแถว/คอลัมน์บนกระดาน" showBoardLabels: "แสดงหมายเลขแถว/คอลัมน์บนกระดาน"
useAvatarAsStone: "ใช้รูปอวตารเป็นหมาก" useAvatarAsStone: "ใช้ไอคอนประจำตัวเป็นหมาก"
_offlineScreen: _offlineScreen:
title: "ออฟไลน์ - ไม่สามารถเชื่อมต่อกับเซิร์ฟเวอร์ได้" title: "ออฟไลน์ - ไม่สามารถเชื่อมต่อกับเซิร์ฟเวอร์ได้"
header: "ไม่สามารถเชื่อมต่อกับเซิร์ฟเวอร์ได้" header: "ไม่สามารถเชื่อมต่อกับเซิร์ฟเวอร์ได้"
_urlPreviewSetting: _urlPreviewSetting:
title: "การตั้งค่าการแสดงตัวอย่าง URL" title: "การตั้งค่าการแสดงตัวอย่าง URL"
enable: "เปิดใช้งานการแสดงตัวอย่าง URL" enable: "เปิดใช้งานการแสดงตัวอย่าง URL"
allowRedirect: "อนุญาตการเปลี่ยนเส้นทางไปยังปลายทางของการแสดงตัวอย่าง"
allowRedirectDescription: "ตั้งค่าว่าจะติดตามลิงก์ที่เปลี่ยนเส้นทาง (redirect) เพื่อแสดงตัวอย่างหรือไม่ เมื่อมีการป้อน URL ที่มีการเปลี่ยนเส้นทาง หากปิดการใช้งาน จะช่วยประหยัดทรัพยากรของเซิร์ฟเวอร์ แต่จะไม่สามารถแสดงเนื้อหาจากปลายทางที่เปลี่ยนเส้นทางได้"
timeout: "เวลาจำกัดในการโหลดตัวอย่าง URL (ms)" timeout: "เวลาจำกัดในการโหลดตัวอย่าง URL (ms)"
timeoutDescription: "หากเวลาที่ใช้ในการโหลดเกินค่านี้ จะไม่มีการสร้างการแสดงตัวอย่าง" timeoutDescription: "หากเวลาที่ใช้ในการโหลดเกินค่านี้ จะไม่มีการสร้างการแสดงตัวอย่าง"
maximumContentLength: "ค่าสูงสุดของ Content-Length (byte)" maximumContentLength: "ค่าสูงสุดของ Content-Length (byte)"
@ -2710,6 +2940,62 @@ _contextMenu:
app: "แอปพลิเคชัน" app: "แอปพลิเคชัน"
appWithShift: "แอปฟลิเคชันด้วยปุ่มยกแคร่ (Shift)" appWithShift: "แอปฟลิเคชันด้วยปุ่มยกแคร่ (Shift)"
native: "UI ของเบราว์เซอร์" native: "UI ของเบราว์เซอร์"
_gridComponent:
_error:
requiredValue: "ค่านี้จำเป็นต้องกรอก"
columnTypeNotSupport: "การตรวจสอบค่าด้วย regex รองรับเฉพาะคอลัมน์ที่เป็น type:text"
patternNotMatch: "ค่านี้ไม่ตรงกับรูปแบบ {pattern}"
notUnique: "ค่านี้ต้องไม่ซ้ำกับค่าที่มีอยู่"
_roleSelectDialog:
notSelected: "ยังไม่มีการเลือก"
_customEmojisManager:
_gridCommon:
copySelectionRows: "คัดลอกแถวที่เลือกไว้"
copySelectionRanges: "คัดลือกที่เลือกไว้"
deleteSelectionRows: "ลบแถวที่เลือกไว้"
deleteSelectionRanges: "ล้างค่าช่วงที่เลือก"
searchSettings: "ตั้งค่าการค้นหา"
searchSettingCaption: "ตั้งค่าเงื่อนไขการค้นหาอย่างละเอียด"
searchLimit: "จำนวนรายการที่แสดง"
sortOrder: "ลำดับการเรียง"
registrationLogs: "ปูมการลงทะเบียน"
registrationLogsCaption: "จะแสดงปูมเมื่อมีการอัปเดตหรือลบเอโมจิ หากดำเนินการอัปเดต/ลบ หรือเปลี่ยนหน้า/รีโหลด หน้านี้ ปูมจะหายไป"
alertEmojisRegisterFailedDescription: "การอัปเดตหรือลบเอโมจิล้มเหลว กรุณาตรวจสอบรายละเอียดในปูมการลงทะเบียน"
_logs:
showSuccessLogSwitch: "แสดงปูมที่สำเร็จ"
failureLogNothing: "ไม่มีปูมความล้มเหลว"
logNothing: "ไม่มีปูม"
_remote:
selectionRowDetail: "รายละเอียดของแถวที่เลือก"
importSelectionRows: "นำเข้าแถวที่เลือก"
importSelectionRangesRows: "นำเข้าแถวในช่วงที่เลือก"
importEmojisButton: "นำเข้าเอโมจิที่ทำเครื่องหมายไว้"
confirmImportEmojisTitle: "นำเข้าเอโมจิ"
confirmImportEmojisDescription: "จะนำเข้าเอโมจิ {count} รายการที่ได้รับจากระยะไกล ทั้งนี้โปรดระมัดระวังเรื่องสิทธิ์การใช้งานเอโมจิ ดำเนินการหรือไม่?"
_local:
tabTitleList: "รายการเอโมจิที่ลงทะเบียนไว้แล้ว"
tabTitleRegister: "ลงทะเบียนเอโมจิ"
_list:
emojisNothing: "ยังไม่มีเอโมจิที่ลงทะเบียนไว้"
markAsDeleteTargetRows: "กำหนดแถวที่เลือกให้เป็นรายการสำหรับลบ"
markAsDeleteTargetRanges: "กำหนดช่วงแถวที่เลือกให้เป็นรายการสำหรับลบ"
alertUpdateEmojisNothingDescription: "ไม่มีการเปลี่ยนแปลงเอโมจิ"
alertDeleteEmojisNothingDescription: "ไม่มีเอโมจิที่อยู่ในรายการสำหรับลบ"
confirmMovePage: "ต้องการเปลี่ยนหน้าหรือไม่?"
confirmChangeView: "ต้องการเปลี่ยนการแสดงผลหรือไม่?"
confirmUpdateEmojisDescription: "จะอัปเดตเอโมจิ {count} รายการ ดำเนินการหรือไม่?"
confirmDeleteEmojisDescription: "จะลบเอโมจิที่ถูกทำเครื่องหมายไว้ {count} รายการ ดำเนินการหรือไม่?"
confirmResetDescription: "การเปลี่ยนแปลงทั้งหมดที่ทำมาจะถูกรีเซ็ต"
confirmMovePageDesciption: "มีการเปลี่ยนแปลงเอโมจิในหน้านี้ หากเปลี่ยนหน้าโดยไม่บันทึก การเปลี่ยนแปลงทั้งหมดจะถูกละทิ้ง"
dialogSelectRoleTitle: "ค้นหาบทบาทที่ตั้งค่าไว้ด้วยเอโมจิ"
_register:
uploadSettingTitle: "ตั้งค่าการอัปโหลด"
uploadSettingDescription: "สามารถกำหนดพฤติกรรมขณะอัปโหลดเอโมจิจากหน้าจอนี้ได้"
directoryToCategoryLabel: "ป้อนชื่อไดเรกทอรีเป็น \"category\""
directoryToCategoryCaption: "เมื่อทำการลากและวางไดเรกทอรี ชื่อจะถูกป้อนเป็น \"category\""
confirmRegisterEmojisDescription: "จะลงทะเบียนเอโมจิที่แสดงในรายการเป็นเอโมจิแบบกำหนดเองใหม่\nดำเนินการต่อหรือไม่? (เพื่อหลีกเลี่ยงภาระโหลดหนัก ระบบจะสามารถลงทะเบียนอีโมจิได้สูงสุด {count} รายการต่อครั้ง)"
confirmClearEmojisDescription: "ต้องการยกเลิกการแก้ไขและล้างรายการเอโมจิที่แสดงอยู่หรือไม่?"
confirmUploadEmojisDescription: "จะอัปโหลดไฟล์ {count} รายการที่ลากและวางไปยังไดรฟ์ ดำเนินการหรือไม่?"
_embedCodeGen: _embedCodeGen:
title: "ปรับแต่งโค้ดฝัง" title: "ปรับแต่งโค้ดฝัง"
header: "แสดงส่วนหัว" header: "แสดงส่วนหัว"
@ -2724,15 +3010,137 @@ _embedCodeGen:
generateCode: "สร้างโค้ดสำหรับการฝัง" generateCode: "สร้างโค้ดสำหรับการฝัง"
codeGenerated: "รหัสถูกสร้างขึ้นแล้ว" codeGenerated: "รหัสถูกสร้างขึ้นแล้ว"
codeGeneratedDescription: "นำโค้ดที่สร้างแล้วไปวางในเว็บไซต์ของคุณเพื่อฝังเนื้อหา" codeGeneratedDescription: "นำโค้ดที่สร้างแล้วไปวางในเว็บไซต์ของคุณเพื่อฝังเนื้อหา"
_selfXssPrevention:
warning: "คำเตือน"
title: "“ข้อความที่บอกให้วางบางอย่างในหน้าจอนี้” ทั้งหมดเป็นการหลอกลวง"
description1: "ถ้าวางบางอย่างที่นี่ อาจทำให้ผู้ไม่หวังดีเข้าควบคุมบัญชี หรือขโมยข้อมูลส่วนตัวได้"
description2: "ถ้าไม่เข้าใจอย่างชัดเจนว่าสิ่งที่กำลังจะวางคืออะไร %cให้หยุดการทำงานทันทีแล้วปิดหน้าต่างนี้"
description3: "ดูรายละเอียดเพิ่มเติมได้ที่นี่: {link}"
_followRequest:
recieved: "คำขอที่ได้รับ"
sent: "คำที่ส่งไป"
_remoteLookupErrors: _remoteLookupErrors:
_federationNotAllowed:
title: "ไม่สามารถสื่อสารกับเซิร์ฟเวอร์นี้ได้"
description: "การสื่อสารกับเซิร์ฟเวอร์นี้อาจถูกปิดใช้งาน หรือเซิร์ฟเวอร์นี้อาจจะได้บล็อกคุณ หรือคุณอาจจะได้บล็อกเซิร์ฟเวอร์นี้อยู่\nกรุณาติดต่อผู้ดูแลระบบเซิร์ฟเวอร์เพื่อสอบถามรายละเอียดเพิ่มเติม"
_uriInvalid:
title: "URI ไม่ถูกต้อง"
description: "มีปัญหาเกี่ยวกับ URI ที่ป้อน โปรดตรวจสอบว่าไม่มีอักขระที่ไม่สามารถใช้กับ URI"
_requestFailed:
title: "การร้องขอล้มเหลว"
description: "การสื่อสารกับเซิร์ฟเวอร์นี้ล้มเหลว เซิร์ฟเวอร์ปลายทางอาจล่ม หรืออาจป้อน URI ที่ไม่ถูกต้องหรือไม่มีอยู่"
_responseInvalid:
title: "ข้อมูลตอบสนองกลับไม่ถูกต้อง"
description: "สามารถเชื่อมต่อกับเซิร์ฟเวอร์นี้ได้ แต่ข้อมูลที่ได้รับไม่ถูกต้อง หากกำลังดึงข้อมูลจากเซิร์ฟเวอร์บุคคลที่สาม โปรดใช้ URI ที่สามารถดึงข้อมูลได้จากเซิร์ฟเวอร์ต้นทางโดยตรง"
_noSuchObject: _noSuchObject:
title: "ไม่พบหน้าที่ต้องการ" title: "ไม่พบหน้าที่ต้องการ"
description: "ไม่พบทรัพยากรที่ร้องขอ กรุณาตรวจสอบ URI อีกครั้ง"
_captcha:
verify: "กรุณาผ่าน CAPTCHA"
testSiteKeyMessage: "สามารถดูตัวอย่างได้โดยป้อนค่าทดสอบใน site key และ secret key\nดูรายละเอียดเพิ่มเติมได้ที่หน้าด้านล่างนี้"
_error:
_requestFailed:
title: "การร้องขอ CAPTCHA ล้มเหลว"
text: "โปรดลองใหม่ภายหลัง หรือ ตรวจสอบการตั้งค่าอีกครั้ง"
_verificationFailed:
title: "การยืนยัน CAPTCHA ล้มเหลว"
text: "กรุณาตรวจสอบอีกครั้งว่าการตั้งค่าถูกต้องหรือไม่"
_unknown:
title: "CAPTCHA เกิดข้อผิดพลาด"
text: "เกิดข้อผิดพลาดที่ไม่คาดคิด"
_bootErrors:
title: "การโหลดล้มเหลว"
serverError: "หากปัญหายังคงอยู่แม้ว่าจะรอสักครู่แล้วโหลดหน้าใหม่อีกครั้ง โปรดติดต่อผู้ดูแลระบบเซิร์ฟเวอร์พร้อมรหัสข้อผิดพลาดต่อไปนี้"
solution: "สิ่งต่อไปนี้อาจช่วยแก้ไขปัญหาได้"
solution1: "อัปเดตเบราว์เซอร์และระบบปฏิบัติการเป็นรุ่นล่าสุด"
solution2: "ปิดใช้งานตัวบล็อกโฆษณา"
solution3: "ล้างแคชเบราว์เซอร์"
solution4: "(Tor Browser) ตั้งค่า dom.webaudio.enabled เป็น true"
otherOption: "ตัวเลือกเพิ่มเติม"
otherOption1: "ลบการตั้งค่าและแคชของไคลเอนต์"
otherOption2: "เริ่มใช้งานไคลเอนต์แบบง่าย"
otherOption3: "เปิดเครื่องมือซ่อมแซม"
_search: _search:
searchScopeAll: "ทั้งหมด" searchScopeAll: "ทั้งหมด"
searchScopeLocal: "ท้องถิ่น" searchScopeLocal: "ท้องถิ่น"
searchScopeServer: "ระบุเซิร์ฟเวอร์"
searchScopeUser: "ผู้ใช้เฉพาะ" searchScopeUser: "ผู้ใช้เฉพาะ"
pleaseEnterServerHost: "กรุณากรอกโฮสต์ของเซิร์ฟเวอร์"
pleaseSelectUser: "กรุณาเลือกผู้ใช้"
serverHostPlaceholder: "ตัวอย่าง: misskey.example.com"
_serverSetupWizard:
installCompleted: "การติดตั้ง Misskey เสร็จสมบูรณ์แล้ว!"
firstCreateAccount: "ขั้นแรก ให้สร้างบัญชีผู้ดูแลระบบ"
accountCreated: "บัญชีผู้ดูแลระบบถูกสร้างขึ้นแล้ว!"
serverSetting: "การตั้งค่าเซิร์ฟเวอร์"
youCanEasilyConfigureOptimalServerSettingsWithThisWizard: "สามารถตั้งค่าเซิร์ฟเวอร์ได้อย่างง่ายดายด้วยวิซาร์ดนี้"
settingsYouMakeHereCanBeChangedLater: "สามารถเปลี่ยนแปลงการตั้งค่าเหล่านี้ในภายหลังได้"
howWillYouUseMisskey: "ต้องการใช้ Misskey อย่างไร?"
_use:
single: "เซิร์ฟเวอร์คนเดียว"
single_description: "ใช้งานเป็นเซิร์ฟเวอร์ส่วนตัวสำหรับตัวเองคนเดียว"
single_youCanCreateMultipleAccounts: "แม้จะใช้งานเป็นเซิร์ฟเวอร์ส่วนตัวสำหรับคนเดียว ก็สามารถสร้างบัญชีผู้ใช้หลายบัญชีได้ตามความจำเป็น"
group: "เซิร์ฟเวอร์กลุ่ม"
group_description: "เชิญผู้ใช้ที่เชื่อถือได้ มาเข้าร่วมใช้งานแบบหลายคน"
open: "เซิร์ฟเวอร์สาธารณะ"
open_description: "เปิดรับผู้ใช้จำนวนมากแบบไม่จำกัด"
openServerAdvice: "การเปิดรับผู้ใช้จำนวนมากมีความเสี่ยง ควรบริหารจัดการด้วยระบบดูแลที่เข้มงวดเพื่อรับมือกับปัญหาที่อาจเกิดขึ้น"
openServerAntiSpamAdvice: "เพื่อป้องกันไม่ให้เซิร์ฟเวอร์ของตนกลายเป็นแหล่งส่งสแปม ควรเปิดใช้งานฟีเจอร์ป้องกันบอต เช่น reCAPTCHA และใส่ใจเรื่องความปลอดภัยอย่างเคร่งครัด"
howManyUsersDoYouExpect: "คาดว่าจะมีผู้ใช้งานประมาณกี่คน?"
_scale:
small: "น้อยกว่า 100 คน (ขนาดเล็ก)"
medium: "เกิน 100 คน แต่น้อยกว่า 1000 คน (ขนาดกลาง)"
large: "เกิน 1000 คน (ขนาดใหญ่)"
largeScaleServerAdvice: "เซิร์ฟเวอร์ขนาดใหญ่อาจต้องการความรู้ด้านโครงสร้างพื้นฐานขั้นสูง เช่น การบาลานซ์โหลด หรือการทำสำเนาฐานข้อมูล"
doYouConnectToFediverse: "เชื่อมต่อกับ Fediverse หรือไม่?"
doYouConnectToFediverse_description1: "หากเชื่อมต่อกับเครือข่ายที่ประกอบด้วยเซิร์ฟเวอร์แบบกระจาย (Fediverse) จะสามารถแลกเปลี่ยนเนื้อหากับเซิร์ฟเวอร์อื่นๆ ได้"
doYouConnectToFediverse_description2: "การเชื่อมต่อกับ Fediverse เรียกว่า “สหพันธ์”"
youCanConfigureMoreFederationSettingsLater: "หลังจากนี้ยังสามารถตั้งค่าแบบขั้นสูง เช่น การกำหนดเซิร์ฟเวอร์ที่อนุญาตให้สหพันธ์ต่อกันได้เพิ่มเติม"
adminInfo: "ข้อมูลผู้ดูแลระบ"
adminInfo_description: "ตั้งค่าข้อมูลผู้ดูแลระบบที่จะใช้รับคำถามและติดต่อ"
adminInfo_mustBeFilled: "หากเปิดใช้เซิร์ฟเวอร์สาธารณะ หรือเปิดใช้งานสหพันธ์ จะต้องกรอกข้อมูลนี้"
followingSettingsAreRecommended: "แนะนำให้ตั้งค่าตามด้านล่างนี้"
applyTheseSettings: "ใช้การตั้งค่านี้"
skipSettings: "ข้ามการตั้งค่า"
settingsCompleted: "การตั้งค่าเสร็จสมบูรณ์แล้ว!"
settingsCompleted_description: "ขอบคุณที่สละเวลามาตั้งค่า ตอนนี้เซิร์ฟเวอร์พร้อมใช้งานได้ทันที"
settingsCompleted_description2: "การตั้งค่าเซิร์ฟเวอร์อย่างละเอียดสามารถทำได้จาก “แผงควบคุม”"
donationRequest: "คำขอรับบริจาค"
_donationRequest:
text1: "Misskey เป็นซอฟต์แวร์ฟรีที่พัฒนาโดยอาสาสมัคร"
text2: "เพื่อให้การพัฒนางานนี้สามารถดำเนินต่อไปได้ในอนาคต หากไม่เป็นการรบกวน รบกวนพิจารณาร่วมสมทบทุนด้วยนะคะ"
text3: "นอกจากนี้ยังมีสิทธิพิเศษสำหรับผู้สนับสนุนอีกด้วยค่ะ"
_uploader:
editImage: "แก้ไขรูปภาพ"
compressedToX: "บีบอัดเป็น {x}"
savedXPercent: "ประหยัดไป {x}%"
abortConfirm: "มีไฟล์ที่ยังไม่ได้อัปโหลด ต้องการยกเลิกหรือไม่?"
doneConfirm: "มีไฟล์ที่ยังไม่ได้อัปโหลด ต้องการดำเนินการให้เสร็จสิ้นหรือไม่?"
maxFileSizeIsX: "ขนาดไฟล์สูงสุดที่สามารถอัปโหลดได้คือ {x}"
allowedTypes: "ประเภทไฟล์ที่สามารถอัปโหลดได้"
tip: "ยังไม่มีไฟล์ถูกอัปโหลด สามารถ ตรวจสอบ ลบชื่อไฟล์ บีบอัด หรือครอปตัดภาพ ก่อนอัปโหลดได้ในหน้านี้ เมื่อพร้อมแล้วให้กดปุ่ม “อัปโหลด” เพื่อเริ่มการอัปโหลด"
_clientPerformanceIssueTip:
title: "หากรู้สึกว่าแบตเตอรี่หมดเร็ว"
makeSureDisabledAdBlocker: "โปรดปิดการใช้งานตัวบล็อกโฆษณา"
makeSureDisabledAdBlocker_description: "ตัวบล็อกโฆษณาอาจส่งผลต่อประสิทธิภาพ โปรดตรวจสอบว่าไม่ได้เปิดใช้งานผ่านฟังก์ชันของระบบปฏิบัติการ เบราว์เซอร์ หรือส่วนเสริมใดๆ"
makeSureDisabledCustomCss: "โปรดปิดการใช้งาน CSS แบบกำหนดเอง"
makeSureDisabledCustomCss_description: "การเขียนทับสไตล์อาจส่งผลต่อประสิทธิภาพ โปรดตรวจสอบว่าไม่มี CSS แบบกำหนดเองหรือส่วนเสริมที่แก้ไขสไตล์เปิดใช้งานอยู่"
makeSureDisabledAddons: "โปรดปิดการใช้งานส่วนเสริม"
makeSureDisabledAddons_description: "ส่วนเสริมบางตัวอาจรบกวนการทำงานของไคลเอนต์และทำให้ประสิทธิภาพลดลง กรุณาลองปิดส่วนเสริมในเบราว์เซอร์แล้วตรวจสอบอีกครั้ง"
_clip:
tip: "คลิปเป็นฟังก์ชันที่สามารถรวมโน้ตเข้าด้วยกัน"
_userLists:
tip: "สามารถสร้างรายชื่อที่มีผู้ใช้ใดก็ได้ เมื่อสร้างแล้ว รายชื่อนั้นจะแสดงเป็นไทม์ไลน์ได้"
watermark: "ลายน้ำ"
defaultPreset: "พรีเซ็ตเริ่มต้น"
_watermarkEditor: _watermarkEditor:
tip: "สามารถเพิ่มลายน้ำ เช่น ข้อมูลเครดิต ลงในภาพได้"
quitWithoutSaveConfirm: "ต้องการออกโดยไม่บันทึกหรือไม่?"
driveFileTypeWarn: "ไม่รองรับไฟล์นี้" driveFileTypeWarn: "ไม่รองรับไฟล์นี้"
driveFileTypeWarnDescription: "กรุณาเลือกไฟล์ภาพ"
title: "แก้ไขลายน้ำ"
cover: "ซ้อนทับทั่วทั้งพื้นที่"
repeat: "ปูให้เต็มพื้นที่"
opacity: "ความทึบแสง" opacity: "ความทึบแสง"
scale: "ขนาด" scale: "ขนาด"
text: "ข้อความ" text: "ข้อความ"
@ -2740,4 +3148,50 @@ _watermarkEditor:
type: "รูปแบบ" type: "รูปแบบ"
image: "รูปภาพ" image: "รูปภาพ"
advanced: "ขั้นสูง" advanced: "ขั้นสูง"
stripe: "ริ้ว"
stripeWidth: "ความกว้างเส้น"
stripeFrequency: "จำนวนเส้น"
angle: "แองเกิล" angle: "แองเกิล"
polkadot: "ลายจุด"
checker: "ช่องตาราง"
polkadotMainDotOpacity: "ความทึบของจุดหลัก"
polkadotMainDotRadius: "ขนาดของจุดหลัก"
polkadotSubDotOpacity: "ความทึบของจุดรอง"
polkadotSubDotRadius: "ขนาดของจุดรอง"
polkadotSubDotDivisions: "จำนวนจุดรอง"
_imageEffector:
title: "เอฟเฟกต์"
addEffect: "เพิ่มเอฟเฟกต์"
discardChangesConfirm: "ต้องการทิ้งการเปลี่ยนแปลงแล้วออกหรือไม่?"
_fxs:
chromaticAberration: "ความคลาดสี"
glitch: "กลิตช์"
mirror: "กระจก"
invert: "กลับสี"
grayscale: "ขาวดำเทา"
colorAdjust: "ปรับแก้สี"
colorClamp: "บีบอัดสี"
colorClampAdvanced: "บีบอัดสี (ขั้นสูง)"
distort: "บิดเบี้ยว"
threshold: "สองสี"
zoomLines: "เส้นความเข้มข้น"
stripe: "ริ้ว"
polkadot: "ลายจุด"
checker: "ช่องตาราง"
blockNoise: "บล็อกที่มีการรบกวน"
tearing: "ฉีกขาด"
drafts: "ร่าง"
_drafts:
select: "เลือกฉบับร่าง"
cannotCreateDraftAnymore: "ถึงจำนวนจำกัดที่ฉบับร่างที่สามารถสร้างได้แล้ว"
cannotCreateDraft: "ไม่สามารถสร้างฉบับร่างด้วยเนื้อหานี้ได้"
delete: "ลบฉบับร่าง"
deleteAreYouSure: "ต้องการลบฉบับร่างหรือไม่?"
noDrafts: "ไม่มีฉบับร่าง"
replyTo: "ตอบกลับ {user}"
quoteOf: "อ้างอิงถึงโน้ตของ {user}"
postTo: "โพสต์ไปยัง {channel}"
saveToDraft: "บันทึกเป็นฉบับร่าง"
restoreFromDraft: "คืนค่าจากฉบับร่าง"
restore: "กู้คืน"
listDrafts: "รายการฉบับร่าง"

View File

@ -8,6 +8,9 @@ search: "Пошук"
notifications: "Сповіщення" notifications: "Сповіщення"
username: "Ім'я користувача" username: "Ім'я користувача"
password: "Пароль" password: "Пароль"
initialPasswordForSetup: "Початковий пароль для налаштування"
initialPasswordIsIncorrect: "Початковий пароль для налаштування неправильний"
initialPasswordForSetupDescription: "Використайте пароль, вказаний у конфігураційному файлі, якщо ви встановлювали Misskey власноруч.\nЯкщо використовуєте сервіси хостингу Misskey, використайте наданий пароль.\nЯкщо ви не маєте паролю, лишіть порожнім щоб продовжити. "
forgotPassword: "Я забув пароль" forgotPassword: "Я забув пароль"
fetchingAsApObject: "Отримуємо з федіверсу..." fetchingAsApObject: "Отримуємо з федіверсу..."
ok: "OK" ok: "OK"
@ -45,6 +48,7 @@ pin: "Закріпити"
unpin: "Відкріпити" unpin: "Відкріпити"
copyContent: "Скопіювати контент" copyContent: "Скопіювати контент"
copyLink: "Скопіювати посилання" copyLink: "Скопіювати посилання"
copyRemoteLink: "Копіювати віддалене посилання"
delete: "Видалити" delete: "Видалити"
deleteAndEdit: "Видалити й редагувати" deleteAndEdit: "Видалити й редагувати"
deleteAndEditConfirm: "Ви впевнені, що хочете видалити цю нотатку та відредагувати її? Ви втратите всі реакції, поширення та відповіді на неї." deleteAndEditConfirm: "Ви впевнені, що хочете видалити цю нотатку та відредагувати її? Ви втратите всі реакції, поширення та відповіді на неї."
@ -57,6 +61,7 @@ copyUserId: "Копіювати ID користувача"
copyNoteId: "блокнот ID користувача" copyNoteId: "блокнот ID користувача"
copyFileId: "Скопіювати ідентифікатор файлу." copyFileId: "Скопіювати ідентифікатор файлу."
searchUser: "Пошук користувачів" searchUser: "Пошук користувачів"
searchThisUsersNotes: "Пошук нотаток користувача"
reply: "Відповісти" reply: "Відповісти"
loadMore: "Показати більше" loadMore: "Показати більше"
showMore: "Показати більше" showMore: "Показати більше"
@ -105,9 +110,11 @@ enterEmoji: "Введіть емодзі"
renote: "Поширити" renote: "Поширити"
unrenote: "Відміна поширення" unrenote: "Відміна поширення"
renoted: "Поширити запис." renoted: "Поширити запис."
renotedToX: "Поширено до {name}"
cantRenote: "Неможливо поширити." cantRenote: "Неможливо поширити."
cantReRenote: "Поширення не можливо поширити." cantReRenote: "Поширення не можливо поширити."
quote: "Цитата" quote: "Цитата"
inChannelRenote: "Поширено у канал"
pinnedNote: "Закріплений запис" pinnedNote: "Закріплений запис"
pinned: "Закріпити" pinned: "Закріпити"
you: "Ви" you: "Ви"
@ -116,6 +123,7 @@ sensitive: "NSFW"
add: "Додати" add: "Додати"
reaction: "Реакції" reaction: "Реакції"
reactions: "Реакції" reactions: "Реакції"
emojiPicker: "Вибір реакції"
reactionSettingDescription2: "Перемістити щоб змінити порядок, Клацнути мишою щоб видалити, Натиснути \"+\" щоб додати." reactionSettingDescription2: "Перемістити щоб змінити порядок, Клацнути мишою щоб видалити, Натиснути \"+\" щоб додати."
rememberNoteVisibility: "Пам’ятати параметри видимісті" rememberNoteVisibility: "Пам’ятати параметри видимісті"
attachCancel: "Видалити вкладення" attachCancel: "Видалити вкладення"
@ -289,7 +297,9 @@ folderName: "Ім'я теки"
createFolder: "Створити теку" createFolder: "Створити теку"
renameFolder: "Перейменувати теку" renameFolder: "Перейменувати теку"
deleteFolder: "Видалити теку" deleteFolder: "Видалити теку"
folder: "Тека"
addFile: "Додати файл" addFile: "Додати файл"
showFile: "Показати файл"
emptyDrive: "Диск порожній" emptyDrive: "Диск порожній"
emptyFolder: "Тека порожня" emptyFolder: "Тека порожня"
unableToDelete: "Видалення неможливе" unableToDelete: "Видалення неможливе"
@ -302,6 +312,7 @@ copyUrl: "Копіювати URL"
rename: "Перейменувати" rename: "Перейменувати"
avatar: "Аватар" avatar: "Аватар"
banner: "Банер" banner: "Банер"
displayOfSensitiveMedia: "Показ чутливого медіа"
whenServerDisconnected: "Коли зв’язок із сервером втрачено" whenServerDisconnected: "Коли зв’язок із сервером втрачено"
disconnectedFromServer: "Зв’язок із сервером було перервано" disconnectedFromServer: "Зв’язок із сервером було перервано"
reload: "Оновити" reload: "Оновити"
@ -348,8 +359,11 @@ hcaptcha: "hCaptcha"
enableHcaptcha: "Увімкнути hCaptcha" enableHcaptcha: "Увімкнути hCaptcha"
hcaptchaSiteKey: "Ключ сайту" hcaptchaSiteKey: "Ключ сайту"
hcaptchaSecretKey: "Секретний ключ" hcaptchaSecretKey: "Секретний ключ"
mcaptcha: "MCaptcha"
enableMcaptcha: "Увімкнути MCaptcha"
mcaptchaSiteKey: "Ключ сайту" mcaptchaSiteKey: "Ключ сайту"
mcaptchaSecretKey: "Секретний ключ" mcaptchaSecretKey: "Секретний ключ"
mcaptchaInstanceUrl: "Посилання на сервер MCaptcha"
recaptcha: "reCAPTCHA" recaptcha: "reCAPTCHA"
enableRecaptcha: "Увімкнути reCAPTCHA" enableRecaptcha: "Увімкнути reCAPTCHA"
recaptchaSiteKey: "Ключ сайту" recaptchaSiteKey: "Ключ сайту"

View File

@ -1998,6 +1998,7 @@ _role:
uploadableFileTypes_caption: "指定 MIME 类型。可用换行指定多个类型,也可以用星号(*)作为通配符。(如 image/*" uploadableFileTypes_caption: "指定 MIME 类型。可用换行指定多个类型,也可以用星号(*)作为通配符。(如 image/*"
uploadableFileTypes_caption2: "文件根据文件的不同,可能无法判断其类型。若要允许此类文件,请在指定中添加 {x}。" uploadableFileTypes_caption2: "文件根据文件的不同,可能无法判断其类型。若要允许此类文件,请在指定中添加 {x}。"
noteDraftLimit: "可在服务器上创建多少草稿" noteDraftLimit: "可在服务器上创建多少草稿"
watermarkAvailable: "能否使用水印功能"
_condition: _condition:
roleAssignedTo: "已分配给手动角色" roleAssignedTo: "已分配给手动角色"
isLocal: "是本地用户" isLocal: "是本地用户"
@ -2806,6 +2807,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "添加日期" uploadedAt: "添加日期"
attachedNotes: "附加到的帖子" attachedNotes: "附加到的帖子"
usage: "使用"
thisPageCanBeSeenFromTheAuthor: "此页只能被该文件的上传者查看。" thisPageCanBeSeenFromTheAuthor: "此页只能被该文件的上传者查看。"
_externalResourceInstaller: _externalResourceInstaller:
title: "从外部站点安装" title: "从外部站点安装"
@ -3182,7 +3184,7 @@ drafts: "草稿"
_drafts: _drafts:
select: "选择草稿" select: "选择草稿"
cannotCreateDraftAnymore: "已超过可创建的草稿数量。" cannotCreateDraftAnymore: "已超过可创建的草稿数量。"
cannotCreateDraftOfRenote: "无法创建转帖草稿。" cannotCreateDraft: "此内容无法创建草稿。"
delete: "删除草稿" delete: "删除草稿"
deleteAreYouSure: "要删除草稿吗?" deleteAreYouSure: "要删除草稿吗?"
noDrafts: "没有草稿" noDrafts: "没有草稿"

View File

@ -1998,6 +1998,7 @@ _role:
uploadableFileTypes_caption: "請指定 MIME 類型。可以用換行區隔多個類型,也可以使用星號(*作為萬用字元進行指定。例如image/*\n" uploadableFileTypes_caption: "請指定 MIME 類型。可以用換行區隔多個類型,也可以使用星號(*作為萬用字元進行指定。例如image/*\n"
uploadableFileTypes_caption2: "有些檔案可能無法判斷其類型。若要允許這類檔案,請在指定中加入 {x}。" uploadableFileTypes_caption2: "有些檔案可能無法判斷其類型。若要允許這類檔案,請在指定中加入 {x}。"
noteDraftLimit: "伺服器端可建立的貼文草稿數量上限\n" noteDraftLimit: "伺服器端可建立的貼文草稿數量上限\n"
watermarkAvailable: "浮水印功能是否可用"
_condition: _condition:
roleAssignedTo: "手動指派角色完成" roleAssignedTo: "手動指派角色完成"
isLocal: "本地使用者" isLocal: "本地使用者"
@ -2806,6 +2807,7 @@ _fileViewer:
url: "URL" url: "URL"
uploadedAt: "加入日期" uploadedAt: "加入日期"
attachedNotes: "含有附件的貼文" attachedNotes: "含有附件的貼文"
usage: "使用情況"
thisPageCanBeSeenFromTheAuthor: "本頁面僅限上傳了這個檔案的使用者可以檢視。" thisPageCanBeSeenFromTheAuthor: "本頁面僅限上傳了這個檔案的使用者可以檢視。"
_externalResourceInstaller: _externalResourceInstaller:
title: "從外部網站安裝" title: "從外部網站安裝"
@ -3182,7 +3184,7 @@ drafts: "草稿\n"
_drafts: _drafts:
select: "選擇草槁" select: "選擇草槁"
cannotCreateDraftAnymore: "已超出可建立的草稿數量上限。\n" cannotCreateDraftAnymore: "已超出可建立的草稿數量上限。\n"
cannotCreateDraftOfRenote: "無法建立轉發的草稿。\n" cannotCreateDraft: "無法以此內容建立草稿。\n"
delete: "刪除草稿" delete: "刪除草稿"
deleteAreYouSure: "確定要刪除草稿嗎?\n" deleteAreYouSure: "確定要刪除草稿嗎?\n"
noDrafts: "沒有草稿。\n" noDrafts: "沒有草稿。\n"

View File

@ -1,12 +1,12 @@
{ {
"name": "misskey", "name": "misskey",
"version": "2025.7.0-beta.0", "version": "2025.7.0",
"codename": "nasubi", "codename": "nasubi",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/misskey-dev/misskey.git" "url": "https://github.com/misskey-dev/misskey.git"
}, },
"packageManager": "pnpm@10.12.1", "packageManager": "pnpm@10.13.1",
"workspaces": [ "workspaces": [
"packages/frontend-shared", "packages/frontend-shared",
"packages/frontend", "packages/frontend",
@ -52,29 +52,29 @@
"lodash": "4.17.21" "lodash": "4.17.21"
}, },
"dependencies": { "dependencies": {
"cssnano": "7.0.7", "cssnano": "7.1.0",
"esbuild": "0.25.5", "esbuild": "0.25.6",
"execa": "9.6.0", "execa": "9.6.0",
"fast-glob": "3.3.3", "fast-glob": "3.3.3",
"glob": "11.0.2", "glob": "11.0.3",
"ignore-walk": "7.0.0", "ignore-walk": "7.0.0",
"js-yaml": "4.1.0", "js-yaml": "4.1.0",
"postcss": "8.5.4", "postcss": "8.5.6",
"tar": "7.4.3", "tar": "7.4.3",
"terser": "5.42.0", "terser": "5.43.1",
"typescript": "5.8.3" "typescript": "5.8.3"
}, },
"devDependencies": { "devDependencies": {
"@misskey-dev/eslint-plugin": "2.1.0", "@misskey-dev/eslint-plugin": "2.1.0",
"@types/node": "22.15.31", "@types/node": "22.16.4",
"@typescript-eslint/eslint-plugin": "8.34.0", "@typescript-eslint/eslint-plugin": "8.37.0",
"@typescript-eslint/parser": "8.34.0", "@typescript-eslint/parser": "8.37.0",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"cypress": "14.4.1", "cypress": "14.5.2",
"eslint": "9.28.0", "eslint": "9.31.0",
"globals": "16.2.0", "globals": "16.3.0",
"ncp": "2.0.0", "ncp": "2.0.0",
"pnpm": "10.12.1", "pnpm": "10.13.1",
"start-server-and-test": "2.0.12" "start-server-and-test": "2.0.12"
}, },
"optionalDependencies": { "optionalDependencies": {
@ -83,6 +83,9 @@
"pnpm": { "pnpm": {
"overrides": { "overrides": {
"@aiscript-dev/aiscript-languageserver": "-" "@aiscript-dev/aiscript-languageserver": "-"
},
"patchedDependencies": {
"typeorm": "patches/typeorm.patch"
} }
} }
} }

View File

@ -0,0 +1,24 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class NoActionOnDraftRelation1752502434151 {
name = 'NoActionOnDraftRelation1752502434151'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "note_draft" DROP CONSTRAINT "FK_NOTE_DRAFT_CHANNEL_ID"`);
await queryRunner.query(`ALTER TABLE "note_draft" DROP CONSTRAINT "FK_NOTE_DRAFT_USER_ID"`);
await queryRunner.query(`ALTER TABLE "note_draft" DROP CONSTRAINT "FK_NOTE_DRAFT_RENOTE_ID"`);
await queryRunner.query(`ALTER TABLE "note_draft" DROP CONSTRAINT "FK_NOTE_DRAFT_REPLY_ID"`);
await queryRunner.query(`ALTER TABLE "note_draft" ADD CONSTRAINT "FK_e4983f28b4b18b03491536052f5" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "note_draft" DROP CONSTRAINT "FK_e4983f28b4b18b03491536052f5"`);
await queryRunner.query(`ALTER TABLE "note_draft" ADD CONSTRAINT "FK_NOTE_DRAFT_REPLY_ID" FOREIGN KEY ("replyId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
await queryRunner.query(`ALTER TABLE "note_draft" ADD CONSTRAINT "FK_NOTE_DRAFT_RENOTE_ID" FOREIGN KEY ("renoteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
await queryRunner.query(`ALTER TABLE "note_draft" ADD CONSTRAINT "FK_NOTE_DRAFT_USER_ID" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
await queryRunner.query(`ALTER TABLE "note_draft" ADD CONSTRAINT "FK_NOTE_DRAFT_CHANNEL_ID" FOREIGN KEY ("channelId") REFERENCES "channel"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
}
}

View File

@ -0,0 +1,79 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class MigrationCleanup1752509043847 {
name = 'MigrationCleanup1752509043847'
async up(queryRunner) {
// 1745378064470-composite-note-index.js created a index ON "note" ("userId", "id" DESC) as IDX_724b311e6f883751f261ebe378 but should be named IDX_a6f649630f55af3888e5a42919
await queryRunner.query(`ALTER INDEX "IDX_724b311e6f883751f261ebe378" RENAME TO "IDX_a6f649630f55af3888e5a42919"`);
// 1713656541000-abuse-report-notification.js generated system_webhook with hand-written SQL with CURRENT_TIMESTAMP as the default value, but its representation in TypeORM is `now()`
// see https://github.com/typeorm/typeorm/blob/f351757a15b9d2bd9d4222c69dcfd2316f46b5d1/src/driver/postgres/PostgresDriver.ts#L1575
await queryRunner.query(`ALTER TABLE "system_webhook" ALTER COLUMN "updatedAt" SET DEFAULT now()`);
// 1702718871541-ffVisibility.js defined a enum type "user_profile_followersVisibility_enum" but it should be "user_profile_followersvisibility_enum" (lowercase 'v') in typeorm
await queryRunner.query(`ALTER TYPE "public"."user_profile_followersVisibility_enum" RENAME TO "user_profile_followersvisibility_enum"`);
// 1713656541000-abuse-report-notification.js generated abuse_report_notification_recipient with hand-written SQL with CURRENT_TIMESTAMP as the default value, but its representation in TypeORM is `now()`
await queryRunner.query(`ALTER TABLE "abuse_report_notification_recipient" ALTER COLUMN "updatedAt" SET DEFAULT now()`);
// 1690796169261-play-visibility.js added visibility column to flash table but it forgot to set NOT NULL constraint
await queryRunner.query(`ALTER TABLE "flash" ALTER COLUMN "visibility" SET NOT NULL`);
// 1736686850345-createNoteDraft.js created note_draft with hand-written SQL but several types and comments are not correctly defined
await queryRunner.query(`CREATE TYPE "public"."note_draft_visibility_enum" AS ENUM('public', 'home', 'followers', 'specified')`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "id" SET DATA TYPE character varying(32)`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "replyId" SET DATA TYPE character varying(32)`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "renoteId" SET DATA TYPE character varying(32)`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "userId" SET DATA TYPE character varying(32)`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "channelId" SET DATA TYPE character varying(32)`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "fileIds" SET DATA TYPE character varying(32) array`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "visibleUserIds" SET DATA TYPE character varying(32) array`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "visibility" SET DATA TYPE "public"."note_draft_visibility_enum" USING visibility::note_draft_visibility_enum`);
await queryRunner.query(`COMMENT ON COLUMN "note_draft"."replyId" IS 'The ID of reply target.'`);
await queryRunner.query(`COMMENT ON COLUMN "note_draft"."renoteId" IS 'The ID of renote target.'`);
await queryRunner.query(`COMMENT ON COLUMN "note_draft"."userId" IS 'The ID of author.'`);
await queryRunner.query(`COMMENT ON COLUMN "note_draft"."channelId" IS 'The ID of source channel.'`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "fileIds" SET NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "hasPoll" SET NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "pollChoices" SET NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "pollMultiple" SET NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "localOnly" SET NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "visibleUserIds" SET NOT NULL`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "visibleUserIds" DROP NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "localOnly" DROP NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "pollMultiple" DROP NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "pollChoices" DROP NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "hasPoll" DROP NOT NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "fileIds" DROP NOT NULL`);
await queryRunner.query(`COMMENT ON COLUMN "note_draft"."channelId" IS NULL`);
await queryRunner.query(`COMMENT ON COLUMN "note_draft"."userId" IS 'The ID of author.'`);
await queryRunner.query(`COMMENT ON COLUMN "note_draft"."renoteId" IS NULL`);
await queryRunner.query(`COMMENT ON COLUMN "note_draft"."replyId" IS NULL`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "visibility" SET DATA TYPE varchar`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "visibleUserIds" SET DATA TYPE varchar[]`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "fileIds" SET DATA TYPE varchar[]`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "channelId" SET DATA TYPE varchar`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "userId" SET DATA TYPE varchar`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "renoteId" SET DATA TYPE varchar`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "replyId" SET DATA TYPE varchar`);
await queryRunner.query(`ALTER TABLE "note_draft" ALTER COLUMN "id" SET DATA TYPE varchar`);
await queryRunner.query(`DROP TYPE "public"."note_draft_visibility_enum"`);
await queryRunner.query(`ALTER TABLE "flash" ALTER COLUMN "visibility" DROP NOT NULL`);
await queryRunner.query(`ALTER TABLE "abuse_report_notification_recipient" ALTER COLUMN "updatedAt" SET DEFAULT CURRENT_TIMESTAMP`);
await queryRunner.query(`ALTER TYPE "public"."user_profile_followersvisibility_enum" RENAME TO "user_profile_followersVisibility_enum"`);
await queryRunner.query(`ALTER TABLE "system_webhook" ALTER COLUMN "updatedAt" SET DEFAULT CURRENT_TIMESTAMP`);
await queryRunner.query(`ALTER INDEX "IDX_a6f649630f55af3888e5a42919" RENAME TO "IDX_724b311e6f883751f261ebe378"`);
}
}

View File

@ -4,7 +4,7 @@
"private": true, "private": true,
"type": "module", "type": "module",
"engines": { "engines": {
"node": "^20.10.0 || ^22.0.0" "node": "^20.18.1 || ^22.0.0"
}, },
"scripts": { "scripts": {
"start": "node ./built/boot/entry.js", "start": "node ./built/boot/entry.js",
@ -33,6 +33,7 @@
"test:fed": "pnpm jest:fed", "test:fed": "pnpm jest:fed",
"test-and-coverage": "pnpm jest-and-coverage", "test-and-coverage": "pnpm jest-and-coverage",
"test-and-coverage:e2e": "pnpm build && pnpm build:test && pnpm jest-and-coverage:e2e", "test-and-coverage:e2e": "pnpm build && pnpm build:test && pnpm jest-and-coverage:e2e",
"check-migrations": "node scripts/check_migrations_clean.js",
"generate-api-json": "node ./scripts/generate_api_json.js" "generate-api-json": "node ./scripts/generate_api_json.js"
}, },
"optionalDependencies": { "optionalDependencies": {

View File

@ -0,0 +1,26 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
// This script checks if the database migrations has been generated correctly.
import dataSource from '../ormconfig.js';
await dataSource.initialize();
const sqlInMemory = await dataSource.driver.createSchemaBuilder().log();
if (sqlInMemory.upQueries.length > 0 || sqlInMemory.downQueries.length > 0) {
console.error('There are several pending migrations. Please make sure you have generated the migrations correctly, or configured entities class correctly.');
for (const query of sqlInMemory.upQueries) {
console.error(`- ${query.query}`);
}
for (const query of sqlInMemory.downQueries) {
console.error(`- ${query.query}`);
}
process.exit(1);
} else {
console.log('All migrations are clean.');
process.exit(0);
}

View File

@ -145,7 +145,10 @@ export class EmailService {
try { try {
// TODO: htmlサニタイズ // TODO: htmlサニタイズ
const info = await transporter.sendMail({ const info = await transporter.sendMail({
from: this.meta.email!, from: this.meta.name ? {
name: this.meta.name,
address: this.meta.email!,
} : this.meta.email!,
to: to, to: to,
subject: subject, subject: subject,
text: text, text: text,

View File

@ -67,6 +67,7 @@ export type RolePolicies = {
chatAvailability: 'available' | 'readonly' | 'unavailable'; chatAvailability: 'available' | 'readonly' | 'unavailable';
uploadableFileTypes: string[]; uploadableFileTypes: string[];
noteDraftLimit: number; noteDraftLimit: number;
watermarkAvailable: boolean;
}; };
export const DEFAULT_POLICIES: RolePolicies = { export const DEFAULT_POLICIES: RolePolicies = {
@ -111,6 +112,7 @@ export const DEFAULT_POLICIES: RolePolicies = {
'audio/*', 'audio/*',
], ],
noteDraftLimit: 10, noteDraftLimit: 10,
watermarkAvailable: true,
}; };
@Injectable() @Injectable()
@ -433,6 +435,7 @@ export class RoleService implements OnApplicationShutdown, OnModuleInit {
return [...set]; return [...set];
}), }),
noteDraftLimit: calc('noteDraftLimit', vs => Math.max(...vs)), noteDraftLimit: calc('noteDraftLimit', vs => Math.max(...vs)),
watermarkAvailable: calc('watermarkAvailable', vs => vs.some(v => v === true)),
}; };
} }

View File

@ -93,6 +93,11 @@ export class SignupService {
if (isPreserved) { if (isPreserved) {
throw new Error('USED_USERNAME'); throw new Error('USED_USERNAME');
} }
const hasProhibitedWords = this.utilityService.isKeyWordIncluded(username.toLowerCase(), this.meta.prohibitedWordsForNameOfUser);
if (hasProhibitedWords) {
throw new Error('USED_USERNAME');
}
} }
const keyPair = await new Promise<string[]>((res, rej) => const keyPair = await new Promise<string[]>((res, rej) =>

View File

@ -5,6 +5,7 @@
import { Inject, Injectable } from '@nestjs/common'; import { Inject, Injectable } from '@nestjs/common';
import { ModuleRef } from '@nestjs/core'; import { ModuleRef } from '@nestjs/core';
import { EntityNotFoundError } from 'typeorm';
import { DI } from '@/di-symbols.js'; import { DI } from '@/di-symbols.js';
import type { Packed } from '@/misc/json-schema.js'; import type { Packed } from '@/misc/json-schema.js';
import { awaitAll } from '@/misc/prelude/await-all.js'; import { awaitAll } from '@/misc/prelude/await-all.js';
@ -90,6 +91,17 @@ export class NoteDraftEntityService implements OnModuleInit {
const packedFiles = options?._hint_?.packedFiles; const packedFiles = options?._hint_?.packedFiles;
const packedUsers = options?._hint_?.packedUsers; const packedUsers = options?._hint_?.packedUsers;
async function nullIfEntityNotFound<T>(promise: Promise<T>): Promise<T | null> {
try {
return await promise;
} catch (err) {
if (err instanceof EntityNotFoundError) {
return null;
}
throw err;
}
}
const packed: Packed<'NoteDraft'> = await awaitAll({ const packed: Packed<'NoteDraft'> = await awaitAll({
id: noteDraft.id, id: noteDraft.id,
createdAt: this.idService.parse(noteDraft.id).date.toISOString(), createdAt: this.idService.parse(noteDraft.id).date.toISOString(),
@ -117,15 +129,15 @@ export class NoteDraftEntityService implements OnModuleInit {
} : undefined, } : undefined,
...(opts.detail ? { ...(opts.detail ? {
reply: noteDraft.replyId ? this.noteEntityService.pack(noteDraft.replyId, me, { reply: noteDraft.replyId ? nullIfEntityNotFound(this.noteEntityService.pack(noteDraft.replyId, me, {
detail: false, detail: false,
skipHide: opts.skipHide, skipHide: opts.skipHide,
}) : undefined, })) : undefined,
renote: noteDraft.renoteId ? this.noteEntityService.pack(noteDraft.renoteId, me, { renote: noteDraft.renoteId ? nullIfEntityNotFound(this.noteEntityService.pack(noteDraft.renoteId, me, {
detail: true, detail: true,
skipHide: opts.skipHide, skipHide: opts.skipHide,
}) : undefined, })) : undefined,
poll: noteDraft.hasPoll ? { poll: noteDraft.hasPoll ? {
choices: noteDraft.pollChoices, choices: noteDraft.pollChoices,

View File

@ -22,7 +22,7 @@ export class MiAbuseReportNotificationRecipient {
/** /**
* . * .
*/ */
@Index() @Index('IDX_abuse_report_notification_recipient_isActive')
@Column('boolean', { @Column('boolean', {
default: true, default: true,
}) })
@ -47,7 +47,7 @@ export class MiAbuseReportNotificationRecipient {
/** /**
* . * .
*/ */
@Index() @Index('IDX_abuse_report_notification_recipient_method')
@Column('varchar', { @Column('varchar', {
length: 64, length: 64,
}) })
@ -56,10 +56,11 @@ export class MiAbuseReportNotificationRecipient {
/** /**
* ID. * ID.
*/ */
@Index() @Index('IDX_abuse_report_notification_recipient_userId')
@Column({ @Column({
...id(), ...id(),
nullable: true, nullable: true,
default: null,
}) })
public userId: MiUser['id'] | null; public userId: MiUser['id'] | null;
@ -75,17 +76,20 @@ export class MiAbuseReportNotificationRecipient {
/** /**
* . * .
*/ */
@ManyToOne(type => MiUserProfile, {}) @ManyToOne(type => MiUserProfile, {
onDelete: 'CASCADE',
})
@JoinColumn({ name: 'userId', referencedColumnName: 'userId', foreignKeyConstraintName: 'FK_abuse_report_notification_recipient_userId2' }) @JoinColumn({ name: 'userId', referencedColumnName: 'userId', foreignKeyConstraintName: 'FK_abuse_report_notification_recipient_userId2' })
public userProfile: MiUserProfile | null; public userProfile: MiUserProfile | null;
/** /**
* WebhookId. * WebhookId.
*/ */
@Index() @Index('IDX_abuse_report_notification_recipient_systemWebhookId')
@Column({ @Column({
...id(), ...id(),
nullable: true, nullable: true,
default: null,
}) })
public systemWebhookId: string | null; public systemWebhookId: string | null;
@ -95,6 +99,6 @@ export class MiAbuseReportNotificationRecipient {
@ManyToOne(type => MiSystemWebhook, { @ManyToOne(type => MiSystemWebhook, {
onDelete: 'CASCADE', onDelete: 'CASCADE',
}) })
@JoinColumn() @JoinColumn({ name: 'systemWebhookId', referencedColumnName: 'id', foreignKeyConstraintName: 'FK_abuse_report_notification_recipient_systemWebhookId' })
public systemWebhook: MiSystemWebhook | null; public systemWebhook: MiSystemWebhook | null;
} }

View File

@ -8,6 +8,7 @@ import { id } from './util/id.js';
@Entity('emoji') @Entity('emoji')
@Index(['name', 'host'], { unique: true }) @Index(['name', 'host'], { unique: true })
@Index('IDX_EMOJI_ROLE_IDS', { synchronize: false }) // GIN for roleIdsThatCanBeUsedThisEmojiAsReaction in production
export class MiEmoji { export class MiEmoji {
@PrimaryColumn(id()) @PrimaryColumn(id())
public id: string; public id: string;
@ -32,6 +33,7 @@ export class MiEmoji {
@Column('varchar', { @Column('varchar', {
length: 128, nullable: true, length: 128, nullable: true,
}) })
@Index('IDX_EMOJI_CATEGORY')
public category: string | null; public category: string | null;
@Column('varchar', { @Column('varchar', {

View File

@ -59,7 +59,7 @@ export class MiMeta {
public maintainerEmail: string | null; public maintainerEmail: string | null;
@Column('boolean', { @Column('boolean', {
default: false, default: true,
}) })
public disableRegistration: boolean; public disableRegistration: boolean;
@ -570,7 +570,7 @@ export class MiMeta {
public bannedEmailDomains: string[]; public bannedEmailDomains: string[];
@Column('varchar', { @Column('varchar', {
length: 1024, array: true, default: '{ "admin", "administrator", "root", "system", "maintainer", "host", "mod", "moderator", "owner", "superuser", "staff", "auth", "i", "me", "everyone", "all", "mention", "mentions", "example", "user", "users", "account", "accounts", "official", "help", "helps", "support", "supports", "info", "information", "informations", "announce", "announces", "announcement", "announcements", "notice", "notification", "notifications", "dev", "developer", "developers", "tech", "misskey" }', length: 1024, array: true, default: ['admin', 'administrator', 'root', 'system', 'maintainer', 'host', 'mod', 'moderator', 'owner', 'superuser', 'staff', 'auth', 'i', 'me', 'everyone', 'all', 'mention', 'mentions', 'example', 'user', 'users', 'account', 'accounts', 'official', 'help', 'helps', 'support', 'supports', 'info', 'information', 'informations', 'announce', 'announces', 'announcement', 'announcements', 'notice', 'notification', 'notifications', 'dev', 'developer', 'developers', 'tech', 'misskey'],
}) })
public preservedUsernames: string[]; public preservedUsernames: string[];
@ -635,7 +635,7 @@ export class MiMeta {
public urlPreviewMaximumContentLength: number; public urlPreviewMaximumContentLength: number;
@Column('boolean', { @Column('boolean', {
default: true, default: false,
}) })
public urlPreviewRequireContentLength: boolean; public urlPreviewRequireContentLength: boolean;
@ -648,6 +648,7 @@ export class MiMeta {
@Column('varchar', { @Column('varchar', {
length: 1024, length: 1024,
nullable: true, nullable: true,
default: null,
}) })
public urlPreviewUserAgent: string | null; public urlPreviewUserAgent: string | null;

View File

@ -20,7 +20,8 @@ import type { MiDriveFile } from './DriveFile.js';
// You should not use `@Index({ concurrent: true })` decorator because database initialization for test will fail // You should not use `@Index({ concurrent: true })` decorator because database initialization for test will fail
// because it will always run CREATE INDEX in transaction based on decorators. // because it will always run CREATE INDEX in transaction based on decorators.
// Not appending `{ concurrent: true }` to `@Index` will not cause any problem in production, // Not appending `{ concurrent: true }` to `@Index` will not cause any problem in production,
@Index(['userId', 'id'])
@Index(['userId', 'id']) // Note: this index is ("userId", "id" DESC) in production, but not in test.
@Entity('note') @Entity('note')
export class MiNote { export class MiNote {
@PrimaryColumn(id()) @PrimaryColumn(id())

View File

@ -12,11 +12,13 @@ import { MiNote } from './Note.js';
import type { MiDriveFile } from './DriveFile.js'; import type { MiDriveFile } from './DriveFile.js';
@Entity('note_draft') @Entity('note_draft')
@Index('IDX_NOTE_DRAFT_FILE_IDS', { synchronize: false }) // GIN for fileIds in production
@Index('IDX_NOTE_DRAFT_VISIBLE_USER_IDS', { synchronize: false }) // GIN for visibleUserIds in production
export class MiNoteDraft { export class MiNoteDraft {
@PrimaryColumn(id()) @PrimaryColumn(id())
public id: string; public id: string;
@Index() @Index('IDX_NOTE_DRAFT_REPLY_ID')
@Column({ @Column({
...id(), ...id(),
nullable: true, nullable: true,
@ -24,13 +26,14 @@ export class MiNoteDraft {
}) })
public replyId: MiNote['id'] | null; public replyId: MiNote['id'] | null;
// There is a possibility that replyId is not null but reply is null when the reply note is deleted.
@ManyToOne(type => MiNote, { @ManyToOne(type => MiNote, {
onDelete: 'CASCADE', createForeignKeyConstraints: false,
}) })
@JoinColumn() @JoinColumn()
public reply: MiNote | null; public reply: MiNote | null;
@Index() @Index('IDX_NOTE_DRAFT_RENOTE_ID')
@Column({ @Column({
...id(), ...id(),
nullable: true, nullable: true,
@ -38,8 +41,9 @@ export class MiNoteDraft {
}) })
public renoteId: MiNote['id'] | null; public renoteId: MiNote['id'] | null;
// There is a possibility that renoteId is not null but renote is null when the renote note is deleted.
@ManyToOne(type => MiNote, { @ManyToOne(type => MiNote, {
onDelete: 'CASCADE', createForeignKeyConstraints: false,
}) })
@JoinColumn() @JoinColumn()
public renote: MiNote | null; public renote: MiNote | null;
@ -55,7 +59,7 @@ export class MiNoteDraft {
}) })
public cw: string | null; public cw: string | null;
@Index() @Index('IDX_NOTE_DRAFT_USER_ID')
@Column({ @Column({
...id(), ...id(),
comment: 'The ID of author.', comment: 'The ID of author.',
@ -106,7 +110,7 @@ export class MiNoteDraft {
}) })
public hashtag: string | null; public hashtag: string | null;
@Index() @Index('IDX_NOTE_DRAFT_CHANNEL_ID')
@Column({ @Column({
...id(), ...id(),
nullable: true, nullable: true,
@ -114,8 +118,10 @@ export class MiNoteDraft {
}) })
public channelId: MiChannel['id'] | null; public channelId: MiChannel['id'] | null;
// There is a possibility that channelId is not null but channel is null when the channel is deleted.
// (deleting channel is not implemented so it's not happening now but may happen in the future)
@ManyToOne(type => MiChannel, { @ManyToOne(type => MiChannel, {
onDelete: 'CASCADE', createForeignKeyConstraints: false,
}) })
@JoinColumn() @JoinColumn()
public channel: MiChannel | null; public channel: MiChannel | null;

View File

@ -29,7 +29,7 @@ export class MiUserProfile {
}) })
public location: string | null; public location: string | null;
@Index() // Note: There's index named IDX_de22cd2b445eee31ae51cdbe99 for SUBSTR("birthday", 6, 5)
@Column('char', { @Column('char', {
length: 10, nullable: true, length: 10, nullable: true,
comment: 'The birthday (YYYY-MM-DD) of the User.', comment: 'The birthday (YYYY-MM-DD) of the User.',

View File

@ -51,7 +51,7 @@ export const packedFlashSchema = {
}, },
likedCount: { likedCount: {
type: 'number', type: 'number',
optional: false, nullable: true, optional: false, nullable: false,
}, },
isLiked: { isLiked: {
type: 'boolean', type: 'boolean',

View File

@ -51,11 +51,13 @@ export const packedNoteDraftSchema = {
type: 'object', type: 'object',
optional: true, nullable: true, optional: true, nullable: true,
ref: 'Note', ref: 'Note',
description: 'The reply target note contents if exists. If the reply target has been deleted since the draft was created, this will be null while replyId is not null.',
}, },
renote: { renote: {
type: 'object', type: 'object',
optional: true, nullable: true, optional: true, nullable: true,
ref: 'Note', ref: 'Note',
description: 'The renote target note contents if exists. If the renote target has been deleted since the draft was created, this will be null while renoteId is not null.',
}, },
visibility: { visibility: {
type: 'string', type: 'string',

View File

@ -313,6 +313,10 @@ export const packedRolePoliciesSchema = {
type: 'integer', type: 'integer',
optional: false, nullable: false, optional: false, nullable: false,
}, },
watermarkAvailable: {
type: 'boolean',
optional: false, nullable: false,
},
}, },
} as const; } as const;

View File

@ -129,7 +129,8 @@ export class SignupApiService {
let ticket: MiRegistrationTicket | null = null; let ticket: MiRegistrationTicket | null = null;
if (this.meta.disableRegistration) { // テスト時はこの機構は障害となるため無効にする
if (process.env.NODE_ENV !== 'test' && this.meta.disableRegistration) {
if (invitationCode == null || typeof invitationCode !== 'string') { if (invitationCode == null || typeof invitationCode !== 'string') {
reply.code(400); reply.code(400);
return; return;

View File

@ -168,6 +168,7 @@ export * as 'clips/update' from './endpoints/clips/update.js';
export * as 'drive' from './endpoints/drive.js'; export * as 'drive' from './endpoints/drive.js';
export * as 'drive/files' from './endpoints/drive/files.js'; export * as 'drive/files' from './endpoints/drive/files.js';
export * as 'drive/files/attached-notes' from './endpoints/drive/files/attached-notes.js'; export * as 'drive/files/attached-notes' from './endpoints/drive/files/attached-notes.js';
export * as 'drive/files/attached-chat-messages' from './endpoints/drive/files/attached-chat-messages.js';
export * as 'drive/files/check-existence' from './endpoints/drive/files/check-existence.js'; export * as 'drive/files/check-existence' from './endpoints/drive/files/check-existence.js';
export * as 'drive/files/create' from './endpoints/drive/files/create.js'; export * as 'drive/files/create' from './endpoints/drive/files/create.js';
export * as 'drive/files/delete' from './endpoints/drive/files/delete.js'; export * as 'drive/files/delete' from './endpoints/drive/files/delete.js';

View File

@ -0,0 +1,85 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { Inject, Injectable } from '@nestjs/common';
import { Endpoint } from '@/server/api/endpoint-base.js';
import type { DriveFilesRepository, ChatMessagesRepository } from '@/models/_.js';
import { QueryService } from '@/core/QueryService.js';
import { DI } from '@/di-symbols.js';
import { RoleService } from '@/core/RoleService.js';
import { ChatEntityService } from '@/core/entities/ChatEntityService.js';
import { ApiError } from '../../../error.js';
export const meta = {
tags: ['drive', 'chat'],
requireCredential: true,
kind: 'read:drive',
res: {
type: 'array',
optional: false, nullable: false,
items: {
type: 'object',
optional: false, nullable: false,
ref: 'ChatMessage',
},
},
errors: {
noSuchFile: {
message: 'No such file.',
code: 'NO_SUCH_FILE',
id: '485ce26d-f5d2-4313-9783-e689d131eafb',
},
},
} as const;
export const paramDef = {
type: 'object',
properties: {
sinceId: { type: 'string', format: 'misskey:id' },
untilId: { type: 'string', format: 'misskey:id' },
sinceDate: { type: 'integer' },
untilDate: { type: 'integer' },
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },
fileId: { type: 'string', format: 'misskey:id' },
},
required: ['fileId'],
} as const;
@Injectable()
export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-disable-line import/no-default-export
constructor(
@Inject(DI.driveFilesRepository)
private driveFilesRepository: DriveFilesRepository,
@Inject(DI.chatMessagesRepository)
private chatMessagesRepository: ChatMessagesRepository,
private chatEntityService: ChatEntityService,
private queryService: QueryService,
private roleService: RoleService,
) {
super(meta, paramDef, async (ps, me) => {
const file = await this.driveFilesRepository.findOneBy({
id: ps.fileId,
userId: await this.roleService.isModerator(me) ? undefined : me.id,
});
if (file == null) {
throw new ApiError(meta.errors.noSuchFile);
}
const query = this.queryService.makePaginationQuery(this.chatMessagesRepository.createQueryBuilder('message'), ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate);
query.andWhere('message.fileId = :fileId', { fileId: file.id });
const messages = await query.limit(ps.limit).getMany();
return await this.chatEntityService.packMessagesDetailed(messages, me);
});
}
}

View File

@ -74,6 +74,10 @@ services:
source: ../../../pnpm-workspace.yaml source: ../../../pnpm-workspace.yaml
target: /misskey/pnpm-workspace.yaml target: /misskey/pnpm-workspace.yaml
read_only: true read_only: true
- type: bind
source: ../../../patches
target: /misskey/patches
read_only: true
- type: bind - type: bind
source: ./certificates/rootCA.crt source: ./certificates/rootCA.crt
target: /usr/local/share/ca-certificates/rootCA.crt target: /usr/local/share/ca-certificates/rootCA.crt

View File

@ -74,6 +74,10 @@ services:
source: ../../../pnpm-workspace.yaml source: ../../../pnpm-workspace.yaml
target: /misskey/pnpm-workspace.yaml target: /misskey/pnpm-workspace.yaml
read_only: true read_only: true
- type: bind
source: ../../../patches
target: /misskey/patches
read_only: true
- type: bind - type: bind
source: ./certificates/rootCA.crt source: ./certificates/rootCA.crt
target: /usr/local/share/ca-certificates/rootCA.crt target: /usr/local/share/ca-certificates/rootCA.crt
@ -118,6 +122,10 @@ services:
source: ../../../pnpm-workspace.yaml source: ../../../pnpm-workspace.yaml
target: /misskey/pnpm-workspace.yaml target: /misskey/pnpm-workspace.yaml
read_only: true read_only: true
- type: bind
source: ../../../patches
target: /misskey/patches
read_only: true
working_dir: /misskey working_dir: /misskey
command: > command: >
bash -c " bash -c "

View File

@ -21,73 +21,73 @@ describe('ReactionService', () => {
}); });
describe('normalize', () => { describe('normalize', () => {
test('絵文字リアクションはそのまま', async () => { test('絵文字リアクションはそのまま', () => {
assert.strictEqual(await reactionService.normalize('👍'), '👍'); assert.strictEqual(reactionService.normalize('👍'), '👍');
assert.strictEqual(await reactionService.normalize('🍅'), '🍅'); assert.strictEqual(reactionService.normalize('🍅'), '🍅');
}); });
test('既存のリアクションは絵文字化する pudding', async () => { test('既存のリアクションは絵文字化する pudding', () => {
assert.strictEqual(await reactionService.normalize('pudding'), '🍮'); assert.strictEqual(reactionService.normalize('pudding'), '🍮');
}); });
test('既存のリアクションは絵文字化する like', async () => { test('既存のリアクションは絵文字化する like', () => {
assert.strictEqual(await reactionService.normalize('like'), '👍'); assert.strictEqual(reactionService.normalize('like'), '👍');
}); });
test('既存のリアクションは絵文字化する love', async () => { test('既存のリアクションは絵文字化する love', () => {
assert.strictEqual(await reactionService.normalize('love'), '❤'); assert.strictEqual(reactionService.normalize('love'), '❤');
}); });
test('既存のリアクションは絵文字化する laugh', async () => { test('既存のリアクションは絵文字化する laugh', () => {
assert.strictEqual(await reactionService.normalize('laugh'), '😆'); assert.strictEqual(reactionService.normalize('laugh'), '😆');
}); });
test('既存のリアクションは絵文字化する hmm', async () => { test('既存のリアクションは絵文字化する hmm', () => {
assert.strictEqual(await reactionService.normalize('hmm'), '🤔'); assert.strictEqual(reactionService.normalize('hmm'), '🤔');
}); });
test('既存のリアクションは絵文字化する surprise', async () => { test('既存のリアクションは絵文字化する surprise', () => {
assert.strictEqual(await reactionService.normalize('surprise'), '😮'); assert.strictEqual(reactionService.normalize('surprise'), '😮');
}); });
test('既存のリアクションは絵文字化する congrats', async () => { test('既存のリアクションは絵文字化する congrats', () => {
assert.strictEqual(await reactionService.normalize('congrats'), '🎉'); assert.strictEqual(reactionService.normalize('congrats'), '🎉');
}); });
test('既存のリアクションは絵文字化する angry', async () => { test('既存のリアクションは絵文字化する angry', () => {
assert.strictEqual(await reactionService.normalize('angry'), '💢'); assert.strictEqual(reactionService.normalize('angry'), '💢');
}); });
test('既存のリアクションは絵文字化する confused', async () => { test('既存のリアクションは絵文字化する confused', () => {
assert.strictEqual(await reactionService.normalize('confused'), '😥'); assert.strictEqual(reactionService.normalize('confused'), '😥');
}); });
test('既存のリアクションは絵文字化する rip', async () => { test('既存のリアクションは絵文字化する rip', () => {
assert.strictEqual(await reactionService.normalize('rip'), '😇'); assert.strictEqual(reactionService.normalize('rip'), '😇');
}); });
test('既存のリアクションは絵文字化する star', async () => { test('既存のリアクションは絵文字化する star', () => {
assert.strictEqual(await reactionService.normalize('star'), '⭐'); assert.strictEqual(reactionService.normalize('star'), '⭐');
}); });
test('異体字セレクタ除去', async () => { test('異体字セレクタ除去', () => {
assert.strictEqual(await reactionService.normalize('㊗️'), '㊗'); assert.strictEqual(reactionService.normalize('㊗️'), '㊗');
}); });
test('異体字セレクタ除去 必要なし', async () => { test('異体字セレクタ除去 必要なし', () => {
assert.strictEqual(await reactionService.normalize('㊗'), '㊗'); assert.strictEqual(reactionService.normalize('㊗'), '㊗');
}); });
test('fallback - null', async () => { test('fallback - null', () => {
assert.strictEqual(await reactionService.normalize(null), '❤'); assert.strictEqual(reactionService.normalize(null), '❤');
}); });
test('fallback - empty', async () => { test('fallback - empty', () => {
assert.strictEqual(await reactionService.normalize(''), '❤'); assert.strictEqual(reactionService.normalize(''), '❤');
}); });
test('fallback - unknown', async () => { test('fallback - unknown', () => {
assert.strictEqual(await reactionService.normalize('unknown'), '❤'); assert.strictEqual(reactionService.normalize('unknown'), '❤');
}); });
}); });

View File

@ -13,10 +13,10 @@
"@discordapp/twemoji": "15.1.0", "@discordapp/twemoji": "15.1.0",
"@rollup/plugin-json": "6.1.0", "@rollup/plugin-json": "6.1.0",
"@rollup/plugin-replace": "6.0.2", "@rollup/plugin-replace": "6.0.2",
"@rollup/pluginutils": "5.1.4", "@rollup/pluginutils": "5.2.0",
"@twemoji/parser": "15.1.1", "@twemoji/parser": "15.1.1",
"@vitejs/plugin-vue": "5.2.4", "@vitejs/plugin-vue": "5.2.4",
"@vue/compiler-sfc": "3.5.16", "@vue/compiler-sfc": "3.5.17",
"astring": "1.9.0", "astring": "1.9.0",
"buraha": "0.0.1", "buraha": "0.0.1",
"estree-walker": "3.0.3", "estree-walker": "3.0.3",
@ -26,46 +26,46 @@
"mfm-js": "0.24.0", "mfm-js": "0.24.0",
"misskey-js": "workspace:*", "misskey-js": "workspace:*",
"punycode.js": "2.3.1", "punycode.js": "2.3.1",
"rollup": "4.42.0", "rollup": "4.45.1",
"sass": "1.89.2", "sass": "1.89.2",
"shiki": "3.6.0", "shiki": "3.8.0",
"tinycolor2": "1.6.0", "tinycolor2": "1.6.0",
"tsc-alias": "1.8.16", "tsc-alias": "1.8.16",
"tsconfig-paths": "4.2.0", "tsconfig-paths": "4.2.0",
"typescript": "5.8.3", "typescript": "5.8.3",
"uuid": "11.1.0", "uuid": "11.1.0",
"vite": "6.3.5", "vite": "6.3.5",
"vue": "3.5.16" "vue": "3.5.17"
}, },
"devDependencies": { "devDependencies": {
"@misskey-dev/summaly": "5.2.1", "@misskey-dev/summaly": "5.2.2",
"@tabler/icons-webfont": "3.34.0", "@tabler/icons-webfont": "3.34.0",
"@testing-library/vue": "8.1.0", "@testing-library/vue": "8.1.0",
"@types/estree": "1.0.8", "@types/estree": "1.0.8",
"@types/micromatch": "4.0.9", "@types/micromatch": "4.0.9",
"@types/node": "22.15.31", "@types/node": "22.16.4",
"@types/punycode.js": "npm:@types/punycode@2.1.4", "@types/punycode.js": "npm:@types/punycode@2.1.4",
"@types/tinycolor2": "1.4.6", "@types/tinycolor2": "1.4.6",
"@types/ws": "8.18.1", "@types/ws": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.34.0", "@typescript-eslint/eslint-plugin": "8.37.0",
"@typescript-eslint/parser": "8.34.0", "@typescript-eslint/parser": "8.37.0",
"@vitest/coverage-v8": "3.2.3", "@vitest/coverage-v8": "3.2.4",
"@vue/runtime-core": "3.5.16", "@vue/runtime-core": "3.5.17",
"acorn": "8.15.0", "acorn": "8.15.0",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"eslint-plugin-import": "2.31.0", "eslint-plugin-import": "2.32.0",
"eslint-plugin-vue": "10.2.0", "eslint-plugin-vue": "10.3.0",
"fast-glob": "3.3.3", "fast-glob": "3.3.3",
"happy-dom": "17.6.3", "happy-dom": "17.6.3",
"intersection-observer": "0.12.2", "intersection-observer": "0.12.2",
"micromatch": "4.0.8", "micromatch": "4.0.8",
"msw": "2.10.2", "msw": "2.10.4",
"nodemon": "3.1.10", "nodemon": "3.1.10",
"prettier": "3.5.3", "prettier": "3.6.2",
"start-server-and-test": "2.0.12", "start-server-and-test": "2.0.12",
"vite-plugin-turbosnap": "1.0.3", "vite-plugin-turbosnap": "1.0.3",
"vue-component-type-helpers": "2.2.10", "vue-component-type-helpers": "2.2.12",
"vue-eslint-parser": "10.1.3", "vue-eslint-parser": "10.2.0",
"vue-tsc": "2.2.10" "vue-tsc": "2.2.12"
} }
} }

View File

@ -112,6 +112,7 @@ export const ROLE_POLICIES = [
'chatAvailability', 'chatAvailability',
'uploadableFileTypes', 'uploadableFileTypes',
'noteDraftLimit', 'noteDraftLimit',
'watermarkAvailable',
] as const; ] as const;
export const MFM_TAGS = ['tada', 'jelly', 'twitch', 'shake', 'spin', 'jump', 'bounce', 'flip', 'x2', 'x3', 'x4', 'scale', 'position', 'fg', 'bg', 'border', 'font', 'blur', 'rainbow', 'sparkle', 'rotate', 'ruby', 'unixtime']; export const MFM_TAGS = ['tada', 'jelly', 'twitch', 'shake', 'spin', 'jump', 'bounce', 'flip', 'x2', 'x3', 'x4', 'scale', 'position', 'fg', 'bg', 'border', 'font', 'blur', 'rainbow', 'sparkle', 'rotate', 'ruby', 'unixtime'];

View File

@ -21,20 +21,20 @@
"lint": "pnpm typecheck && pnpm eslint" "lint": "pnpm typecheck && pnpm eslint"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "22.15.31", "@types/node": "22.16.4",
"@typescript-eslint/eslint-plugin": "8.34.0", "@typescript-eslint/eslint-plugin": "8.37.0",
"@typescript-eslint/parser": "8.34.0", "@typescript-eslint/parser": "8.37.0",
"esbuild": "0.25.5", "esbuild": "0.25.6",
"eslint-plugin-vue": "10.2.0", "eslint-plugin-vue": "10.3.0",
"nodemon": "3.1.10", "nodemon": "3.1.10",
"typescript": "5.8.3", "typescript": "5.8.3",
"vue-eslint-parser": "10.1.3" "vue-eslint-parser": "10.2.0"
}, },
"files": [ "files": [
"js-built" "js-built"
], ],
"dependencies": { "dependencies": {
"misskey-js": "workspace:*", "misskey-js": "workspace:*",
"vue": "3.5.16" "vue": "3.5.17"
} }
} }

View File

@ -23,19 +23,19 @@
"@misskey-dev/browser-image-resizer": "2024.1.0", "@misskey-dev/browser-image-resizer": "2024.1.0",
"@rollup/plugin-json": "6.1.0", "@rollup/plugin-json": "6.1.0",
"@rollup/plugin-replace": "6.0.2", "@rollup/plugin-replace": "6.0.2",
"@rollup/pluginutils": "5.1.4", "@rollup/pluginutils": "5.2.0",
"@sentry/vue": "9.27.0", "@sentry/vue": "9.39.0",
"@syuilo/aiscript": "0.19.0", "@syuilo/aiscript": "0.19.0",
"@twemoji/parser": "15.1.1", "@twemoji/parser": "15.1.1",
"@vitejs/plugin-vue": "5.2.4", "@vitejs/plugin-vue": "5.2.4",
"@vue/compiler-sfc": "3.5.16", "@vue/compiler-sfc": "3.5.17",
"aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.15", "aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.15",
"analytics": "0.8.16", "analytics": "0.8.16",
"astring": "1.9.0", "astring": "1.9.0",
"broadcast-channel": "7.1.0", "broadcast-channel": "7.1.0",
"buraha": "0.0.1", "buraha": "0.0.1",
"canvas-confetti": "1.9.3", "canvas-confetti": "1.9.3",
"chart.js": "4.4.9", "chart.js": "4.5.0",
"chartjs-adapter-date-fns": "3.0.0", "chartjs-adapter-date-fns": "3.0.0",
"chartjs-chart-matrix": "2.1.1", "chartjs-chart-matrix": "2.1.1",
"chartjs-plugin-gradient": "0.6.1", "chartjs-plugin-gradient": "0.6.1",
@ -60,13 +60,13 @@
"misskey-reversi": "workspace:*", "misskey-reversi": "workspace:*",
"photoswipe": "5.4.4", "photoswipe": "5.4.4",
"punycode.js": "2.3.1", "punycode.js": "2.3.1",
"rollup": "4.42.0", "rollup": "4.45.1",
"sanitize-html": "2.17.0", "sanitize-html": "2.17.0",
"sass": "1.89.2", "sass": "1.89.2",
"shiki": "3.6.0", "shiki": "3.8.0",
"strict-event-emitter-types": "2.0.0", "strict-event-emitter-types": "2.0.0",
"textarea-caret": "3.1.0", "textarea-caret": "3.1.0",
"three": "0.177.0", "three": "0.178.0",
"throttle-debounce": "5.0.2", "throttle-debounce": "5.0.2",
"tinycolor2": "1.6.0", "tinycolor2": "1.6.0",
"tsc-alias": "1.8.16", "tsc-alias": "1.8.16",
@ -74,12 +74,12 @@
"typescript": "5.8.3", "typescript": "5.8.3",
"v-code-diff": "1.13.1", "v-code-diff": "1.13.1",
"vite": "6.3.5", "vite": "6.3.5",
"vue": "3.5.16", "vue": "3.5.17",
"vuedraggable": "next", "vuedraggable": "next",
"wanakana": "5.3.1" "wanakana": "5.3.1"
}, },
"devDependencies": { "devDependencies": {
"@misskey-dev/summaly": "5.2.1", "@misskey-dev/summaly": "5.2.2",
"@storybook/addon-actions": "8.6.14", "@storybook/addon-actions": "8.6.14",
"@storybook/addon-essentials": "8.6.14", "@storybook/addon-essentials": "8.6.14",
"@storybook/addon-interactions": "8.6.14", "@storybook/addon-interactions": "8.6.14",
@ -104,32 +104,32 @@
"@types/estree": "1.0.8", "@types/estree": "1.0.8",
"@types/matter-js": "0.19.8", "@types/matter-js": "0.19.8",
"@types/micromatch": "4.0.9", "@types/micromatch": "4.0.9",
"@types/node": "22.15.31", "@types/node": "22.16.4",
"@types/punycode.js": "npm:@types/punycode@2.1.4", "@types/punycode.js": "npm:@types/punycode@2.1.4",
"@types/sanitize-html": "2.16.0", "@types/sanitize-html": "2.16.0",
"@types/seedrandom": "3.0.8", "@types/seedrandom": "3.0.8",
"@types/throttle-debounce": "5.0.2", "@types/throttle-debounce": "5.0.2",
"@types/tinycolor2": "1.4.6", "@types/tinycolor2": "1.4.6",
"@types/ws": "8.18.1", "@types/ws": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.34.0", "@typescript-eslint/eslint-plugin": "8.37.0",
"@typescript-eslint/parser": "8.34.0", "@typescript-eslint/parser": "8.37.0",
"@vitest/coverage-v8": "3.2.3", "@vitest/coverage-v8": "3.2.4",
"@vue/compiler-core": "3.5.16", "@vue/compiler-core": "3.5.17",
"@vue/runtime-core": "3.5.16", "@vue/runtime-core": "3.5.17",
"acorn": "8.15.0", "acorn": "8.15.0",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"cypress": "14.4.1", "cypress": "14.5.2",
"eslint-plugin-import": "2.31.0", "eslint-plugin-import": "2.32.0",
"eslint-plugin-vue": "10.2.0", "eslint-plugin-vue": "10.3.0",
"fast-glob": "3.3.3", "fast-glob": "3.3.3",
"happy-dom": "17.6.3", "happy-dom": "17.6.3",
"intersection-observer": "0.12.2", "intersection-observer": "0.12.2",
"micromatch": "4.0.8", "micromatch": "4.0.8",
"minimatch": "10.0.1", "minimatch": "10.0.3",
"msw": "2.10.2", "msw": "2.10.4",
"msw-storybook-addon": "2.0.5", "msw-storybook-addon": "2.0.5",
"nodemon": "3.1.10", "nodemon": "3.1.10",
"prettier": "3.5.3", "prettier": "3.6.2",
"react": "19.1.0", "react": "19.1.0",
"react-dom": "19.1.0", "react-dom": "19.1.0",
"seedrandom": "3.0.5", "seedrandom": "3.0.5",
@ -137,10 +137,10 @@
"storybook": "8.6.14", "storybook": "8.6.14",
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme", "storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
"vite-plugin-turbosnap": "1.0.3", "vite-plugin-turbosnap": "1.0.3",
"vitest": "3.2.3", "vitest": "3.2.4",
"vitest-fetch-mock": "0.4.5", "vitest-fetch-mock": "0.4.5",
"vue-component-type-helpers": "2.2.10", "vue-component-type-helpers": "2.2.12",
"vue-eslint-parser": "10.1.3", "vue-eslint-parser": "10.2.0",
"vue-tsc": "2.2.10" "vue-tsc": "2.2.12"
} }
} }

View File

@ -1,7 +0,0 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import MkDateSeparatedList from './MkDateSeparatedList.vue';
void MkDateSeparatedList;

View File

@ -1,254 +0,0 @@
<!--
SPDX-FileCopyrightText: syuilo and misskey-project
SPDX-License-Identifier: AGPL-3.0-only
-->
<!-- TODO: 親からスタイルを当てにくいことや実装がトリッキーなことを鑑み廃止または使用の縮小(timeline-date-separate.tsを使う) -->
<script lang="ts">
import { defineComponent, h, TransitionGroup, useCssModule } from 'vue';
import MkAd from '@/components/global/MkAd.vue';
import { isDebuggerEnabled, stackTraceInstances } from '@/debug.js';
import * as os from '@/os.js';
import { instance } from '@/instance.js';
import { prefer } from '@/preferences.js';
import { getDateText } from '@/utility/timeline-date-separate.js';
export default defineComponent({
props: {
items: {
type: Array,
required: true,
},
direction: {
type: String,
required: false,
default: 'down',
},
reversed: {
type: Boolean,
required: false,
default: false,
},
noGap: {
type: Boolean,
required: false,
default: false,
},
ad: {
type: Boolean,
required: false,
default: false,
},
},
setup(props, { slots, expose }) {
const $style = useCssModule(); // 使
if (props.items.length === 0) return;
const renderChildrenImpl = () => props.items.map((item, i) => {
if (!slots || !slots.default) return;
const el = slots.default({
item: item,
})[0];
if (el.key == null && item.id) el.key = item.id;
const date = new Date(item.createdAt);
const nextDate = props.items[i + 1] ? new Date(props.items[i + 1].createdAt) : null;
if (
i !== props.items.length - 1 &&
nextDate != null && (
date.getFullYear() !== nextDate.getFullYear() ||
date.getMonth() !== nextDate.getMonth() ||
date.getDate() !== nextDate.getDate()
)
) {
const separator = h('div', {
class: $style['separator'],
key: item.id + ':separator',
}, h('p', {
class: $style['date'],
}, [
h('span', {
class: $style['date-1'],
}, [
h('i', {
class: `ti ti-chevron-up ${$style['date-1-icon']}`,
}),
getDateText(date),
]),
h('span', {
class: $style['date-2'],
}, [
getDateText(nextDate),
h('i', {
class: `ti ti-chevron-down ${$style['date-2-icon']}`,
}),
]),
]));
return [el, separator];
} else {
if (props.ad && instance.ads.length > 0 && item._shouldInsertAd_) {
return [h('div', {
key: item.id + ':ad',
class: $style['ad-wrapper'],
}, [h(MkAd, {
prefer: ['horizontal', 'horizontal-big'],
})]), el];
} else {
return el;
}
}
});
const renderChildren = () => {
const children = renderChildrenImpl();
if (isDebuggerEnabled(6864)) {
const nodes = children.flatMap((node) => node ?? []);
const keys = new Set(nodes.map((node) => node.key));
if (keys.size !== nodes.length) {
const id = crypto.randomUUID();
const instances = stackTraceInstances();
os.toast(instances.reduce((a, c) => `${a} at ${c.type.name}`, `[DEBUG_6864 (${id})]: ${nodes.length - keys.size} duplicated keys found`));
console.warn({ id, debugId: 6864, stack: instances });
}
}
return children;
};
function onBeforeLeave(el: Element) {
if (!(el instanceof HTMLElement)) return;
el.style.top = `${el.offsetTop}px`;
el.style.left = `${el.offsetLeft}px`;
}
function onLeaveCancelled(el: Element) {
if (!(el instanceof HTMLElement)) return;
el.style.top = '';
el.style.left = '';
}
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
const classes = {
[$style['date-separated-list']]: true,
[$style['date-separated-list-nogap']]: props.noGap,
[$style['reversed']]: props.reversed,
[$style['direction-down']]: props.direction === 'down',
[$style['direction-up']]: props.direction === 'up',
};
return () => prefer.s.animation ? h(TransitionGroup, {
class: classes,
name: 'list',
tag: 'div',
onBeforeLeave,
onLeaveCancelled,
}, { default: renderChildren }) : h('div', {
class: classes,
}, { default: renderChildren });
},
});
</script>
<style lang="scss" module>
.date-separated-list {
container-type: inline-size;
&:global {
> .list-move {
transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
> .list-enter-active {
transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
> *:empty {
display: none;
}
}
&:not(.date-separated-list-nogap) > *:not(:last-child) {
margin-bottom: var(--MI-margin);
}
}
.date-separated-list-nogap {
> * {
margin: 0 !important;
border: none;
border-radius: 0;
box-shadow: none;
&:not(:last-child) {
border-bottom: solid 0.5px var(--MI_THEME-divider);
}
}
}
.direction-up {
&:global {
> .list-enter-from,
> .list-leave-to {
opacity: 0;
transform: translateY(64px);
}
}
}
.direction-down {
&:global {
> .list-enter-from,
> .list-leave-to {
opacity: 0;
transform: translateY(-64px);
}
}
}
.reversed {
display: flex;
flex-direction: column-reverse;
}
.separator {
text-align: center;
}
.date {
display: inline-block;
position: relative;
margin: 0;
padding: 0 16px;
line-height: 32px;
text-align: center;
font-size: 12px;
color: var(--MI_THEME-dateLabelFg);
}
.date-1 {
margin-right: 8px;
}
.date-1-icon {
margin-right: 8px;
}
.date-2 {
margin-left: 8px;
}
.date-2-icon {
margin-left: 8px;
}
.ad-wrapper {
padding: 8px;
background-size: auto auto;
background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, var(--MI_THEME-bg) 8px, var(--MI_THEME-bg) 14px);
}
</style>

View File

@ -684,13 +684,8 @@ defineExpose({
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
scrollbar-width: none; scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
> .group { > .group {
&:not(.index) { &:not(.index) {
padding: 4px 0 8px 0; padding: 4px 0 8px 0;

View File

@ -12,7 +12,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from 'vue'; import { computed } from 'vue';
import tinycolor from 'tinycolor2';
import { instanceName as localInstanceName } from '@@/js/config.js'; import { instanceName as localInstanceName } from '@@/js/config.js';
import type { CSSProperties } from 'vue'; import type { CSSProperties } from 'vue';
import { instance as localInstance } from '@/instance.js'; import { instance as localInstance } from '@/instance.js';
@ -44,33 +43,10 @@ const faviconUrl = computed(() => {
return getProxiedImageUrlNullable(imageSrc); return getProxiedImageUrlNullable(imageSrc);
}); });
type ITickerColors = {
readonly bg: string;
readonly fg: string;
};
const TICKER_YUV_THRESHOLD = 191 as const;
const TICKER_FG_COLOR_LIGHT = '#ffffff' as const;
const TICKER_FG_COLOR_DARK = '#2f2f2fcc' as const;
function getTickerColors(bgHex: string): ITickerColors {
const tinycolorInstance = tinycolor(bgHex);
const { r, g, b } = tinycolorInstance.toRgb();
const yuv = 0.299 * r + 0.587 * g + 0.114 * b;
const fgHex = yuv > TICKER_YUV_THRESHOLD ? TICKER_FG_COLOR_DARK : TICKER_FG_COLOR_LIGHT;
return {
fg: fgHex,
bg: bgHex,
} as const satisfies ITickerColors;
}
const themeColorStyle = computed<CSSProperties>(() => { const themeColorStyle = computed<CSSProperties>(() => {
const themeColor = (props.host == null ? localInstance.themeColor : props.instance?.themeColor) ?? '#777777'; const themeColor = (props.host == null ? localInstance.themeColor : props.instance?.themeColor) ?? '#777777';
const colors = getTickerColors(themeColor);
return { return {
background: `linear-gradient(90deg, ${colors.bg}, ${colors.bg}00)`, background: `linear-gradient(90deg, ${themeColor}, ${themeColor}00)`,
color: colors.fg,
}; };
}); });
</script> </script>
@ -84,6 +60,7 @@ $height: 2ex;
height: $height; height: $height;
border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px;
overflow: clip; overflow: clip;
color: #fff;
// text-shadow使 // text-shadow使
@ -106,5 +83,10 @@ $height: 2ex;
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
overflow: visible; overflow: visible;
// text-shadow使
color: var(--MI_THEME-fg);
-webkit-text-stroke: var(--MI_THEME-panel) .225em;
paint-order: stroke fill;
} }
</style> </style>

View File

@ -729,7 +729,7 @@ function emitUpdReaction(emoji: string, delta: number) {
} }
&:hover > .article > .main > .footer > .footerButton { &:hover > .article > .main > .footer > .footerButton {
opacity: 1; color: var(--MI_THEME-fg);
} }
&.showActionsOnlyHover { &.showActionsOnlyHover {
@ -1004,7 +1004,7 @@ function emitUpdReaction(emoji: string, delta: number) {
.footerButton { .footerButton {
margin: 0; margin: 0;
padding: 8px; padding: 8px;
opacity: 0.7; color: color-mix(in srgb, var(--MI_THEME-panel), var(--MI_THEME-fg) 70%); // opacity
&:not(:last-child) { &:not(:last-child) {
margin-right: 28px; margin-right: 28px;
@ -1018,7 +1018,6 @@ function emitUpdReaction(emoji: string, delta: number) {
.footerButtonCount { .footerButtonCount {
display: inline; display: inline;
margin: 0 0 0 8px; margin: 0 0 0 8px;
opacity: 0.7;
} }
@container (max-width: 580px) { @container (max-width: 580px) {

View File

@ -42,6 +42,13 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
</I18n> </I18n>
</div> </div>
<div v-else-if="draft.replyId" class="_nowrap">
<i class="ti ti-arrow-back-up"></i> <I18n :src="i18n.ts._drafts.replyTo" tag="span">
<template #user>
{{ i18n.ts.deletedNote }}
</template>
</I18n>
</div>
<div v-if="draft.renote && draft.text != null" class="_nowrap"> <div v-if="draft.renote && draft.text != null" class="_nowrap">
<i class="ti ti-quote"></i> <I18n :src="i18n.ts._drafts.quoteOf" tag="span"> <i class="ti ti-quote"></i> <I18n :src="i18n.ts._drafts.quoteOf" tag="span">
<template #user> <template #user>
@ -50,6 +57,13 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
</I18n> </I18n>
</div> </div>
<div v-else-if="draft.renoteId" class="_nowrap">
<i class="ti ti-quote"></i> <I18n :src="i18n.ts._drafts.quoteOf" tag="span">
<template #user>
{{ i18n.ts.deletedNote }}
</template>
</I18n>
</div>
<div v-if="draft.channel" class="_nowrap"> <div v-if="draft.channel" class="_nowrap">
<i class="ti ti-device-tv"></i> {{ i18n.tsx._drafts.postTo({ channel: draft.channel.name }) }} <i class="ti ti-device-tv"></i> {{ i18n.tsx._drafts.postTo({ channel: draft.channel.name }) }}
</div> </div>

View File

@ -56,10 +56,12 @@ const emit = defineEmits<{
}>(); }>();
function getScreenY(event: TouchEvent | MouseEvent | PointerEvent): number { function getScreenY(event: TouchEvent | MouseEvent | PointerEvent): number {
if (event.touches && event.touches[0] && event.touches[0].screenY != null) { if (('touches' in event) && event.touches[0] && event.touches[0].screenY != null) {
return event.touches[0].screenY; return event.touches[0].screenY;
} else { } else if ('screenY' in event) {
return event.screenY; return event.screenY;
} else {
return 0; // TS
} }
} }
@ -67,13 +69,13 @@ function getScreenY(event: TouchEvent | MouseEvent | PointerEvent): number {
function lockDownScroll() { function lockDownScroll() {
if (scrollEl == null) return; if (scrollEl == null) return;
scrollEl.style.touchAction = 'pan-x pan-down pinch-zoom'; scrollEl.style.touchAction = 'pan-x pan-down pinch-zoom';
scrollEl.style.overscrollBehavior = 'none'; scrollEl.style.overscrollBehavior = 'auto none';
} }
function unlockDownScroll() { function unlockDownScroll() {
if (scrollEl == null) return; if (scrollEl == null) return;
scrollEl.style.touchAction = 'auto'; scrollEl.style.touchAction = 'auto';
scrollEl.style.overscrollBehavior = 'contain'; scrollEl.style.overscrollBehavior = 'auto contain';
} }
function moveStartByMouse(event: MouseEvent) { function moveStartByMouse(event: MouseEvent) {

View File

@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="label"> <div class="label">
<slot name="label"></slot> <slot name="label"></slot>
</div> </div>
<div v-adaptive-border class="body"> <div v-adaptive-border class="body" :class="{ 'disabled': disabled }">
<slot name="prefix"></slot> <slot name="prefix"></slot>
<div ref="containerEl" class="container"> <div ref="containerEl" class="container">
<div class="track"> <div class="track">
@ -180,6 +180,8 @@ function onMouseenter() {
let lastClickTime: number | null = null; let lastClickTime: number | null = null;
function onMousedown(ev: MouseEvent | TouchEvent) { function onMousedown(ev: MouseEvent | TouchEvent) {
if (props.disabled) return; // Prevent interaction if disabled
ev.preventDefault(); ev.preventDefault();
tooltipForDragShowing.value = true; tooltipForDragShowing.value = true;
@ -292,6 +294,11 @@ function onMousedown(ev: MouseEvent | TouchEvent) {
border: solid 1px var(--MI_THEME-panel); border: solid 1px var(--MI_THEME-panel);
border-radius: 6px; border-radius: 6px;
&.disabled {
pointer-events: none;
opacity: 0.6;
}
> .container { > .container {
flex: 1; flex: 1;
position: relative; position: relative;

View File

@ -24,6 +24,7 @@ const elRef = useTemplateRef('elRef');
if (props.withTooltip) { if (props.withTooltip) {
useTooltip(elRef, (showing) => { useTooltip(elRef, (showing) => {
if (elRef.value == null) return;
const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/MkReactionTooltip.vue')), { const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/MkReactionTooltip.vue')), {
showing, showing,
reaction: props.reaction.replace(/^:(\w+):$/, ':$1@.:'), reaction: props.reaction.replace(/^:(\w+):$/, ':$1@.:'),

View File

@ -41,7 +41,7 @@ import { i18n } from '@/i18n.js';
const props = withDefaults(defineProps<{ const props = withDefaults(defineProps<{
role: Misskey.entities.Role; role: Misskey.entities.Role;
forModeration: boolean; forModeration: boolean;
detailed: boolean; detailed?: boolean;
}>(), { }>(), {
detailed: true, detailed: true,
}); });

View File

@ -174,7 +174,7 @@ watch([modelValue, () => props.items], () => {
}, { immediate: true, deep: true }); }, { immediate: true, deep: true });
function show() { function show() {
if (opening.value) return; if (opening.value || props.disabled || props.readonly) return;
focus(); focus();
opening.value = true; opening.value = true;

View File

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div> </div>
<div class="_spacer" style="--MI_SPACER-min: 20px; --MI_SPACER-max: 32px;"> <div class="_spacer" style="--MI_SPACER-min: 20px; --MI_SPACER-max: 32px;">
<form class="_gaps_m" autocomplete="new-password" @submit.prevent="onSubmit"> <form class="_gaps_m" autocomplete="new-password" @submit.prevent="onSubmit">
<MkInput v-if="instance.disableRegistration" v-model="invitationCode" type="text" :spellcheck="false" required> <MkInput v-if="instance.disableRegistration" v-model="invitationCode" type="text" :spellcheck="false" required data-cy-signup-invitation-code>
<template #label>{{ i18n.ts.invitationCode }}</template> <template #label>{{ i18n.ts.invitationCode }}</template>
<template #prefix><i class="ti ti-key"></i></template> <template #prefix><i class="ti ti-key"></i></template>
</MkInput> </MkInput>
@ -138,6 +138,7 @@ const shouldDisableSubmitting = computed((): boolean => {
instance.enableTurnstile && !turnstileResponse.value || instance.enableTurnstile && !turnstileResponse.value ||
instance.enableTestcaptcha && !testcaptchaResponse.value || instance.enableTestcaptcha && !testcaptchaResponse.value ||
instance.emailRequiredForSignup && emailState.value !== 'ok' || instance.emailRequiredForSignup && emailState.value !== 'ok' ||
instance.disableRegistration && invitationCode.value === '' ||
usernameState.value !== 'ok' || usernameState.value !== 'ok' ||
passwordRetypeState.value !== 'match'; passwordRetypeState.value !== 'match';
}); });

View File

@ -47,7 +47,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkNote v-else :class="$style.note" :note="note" :withHardMute="true" :data-scroll-anchor="note.id"/> <MkNote v-else :class="$style.note" :note="note" :withHardMute="true" :data-scroll-anchor="note.id"/>
</template> </template>
</component> </component>
<button v-show="paginator.canFetchOlder.value" key="_more_" v-appear="prefer.s.enableInfiniteScroll ? paginator.fetchOlder : null" :disabled="paginator.fetchingOlder.value" class="_button" :class="$style.more" @click="paginator.fetchOlder"> <button v-show="paginator.canFetchOlder.value" key="_more_" :disabled="paginator.fetchingOlder.value" class="_button" :class="$style.more" @click="paginator.fetchOlder">
<div v-if="!paginator.fetchingOlder.value">{{ i18n.ts.loadMore }}</div> <div v-if="!paginator.fetchingOlder.value">{{ i18n.ts.loadMore }}</div>
<MkLoading v-else :inline="true"/> <MkLoading v-else :inline="true"/>
</button> </button>
@ -63,6 +63,7 @@ import { useDocumentVisibility } from '@@/js/use-document-visibility.js';
import { getScrollContainer, scrollToTop } from '@@/js/scroll.js'; import { getScrollContainer, scrollToTop } from '@@/js/scroll.js';
import type { BasicTimelineType } from '@/timelines.js'; import type { BasicTimelineType } from '@/timelines.js';
import type { SoundStore } from '@/preferences/def.js'; import type { SoundStore } from '@/preferences/def.js';
import type { IPaginator, MisskeyEntity } from '@/utility/paginator.js';
import MkPullToRefresh from '@/components/MkPullToRefresh.vue'; import MkPullToRefresh from '@/components/MkPullToRefresh.vue';
import { useStream } from '@/stream.js'; import { useStream } from '@/stream.js';
import * as sound from '@/utility/sound.js'; import * as sound from '@/utility/sound.js';
@ -76,7 +77,6 @@ import { i18n } from '@/i18n.js';
import { globalEvents, useGlobalEvent } from '@/events.js'; import { globalEvents, useGlobalEvent } from '@/events.js';
import { isSeparatorNeeded, getSeparatorInfo } from '@/utility/timeline-date-separate.js'; import { isSeparatorNeeded, getSeparatorInfo } from '@/utility/timeline-date-separate.js';
import { Paginator } from '@/utility/paginator.js'; import { Paginator } from '@/utility/paginator.js';
import type { IPaginator, MisskeyEntity } from '@/utility/paginator.js';
const props = withDefaults(defineProps<{ const props = withDefaults(defineProps<{
src: BasicTimelineType | 'mentions' | 'directs' | 'list' | 'antenna' | 'channel' | 'role'; src: BasicTimelineType | 'mentions' | 'directs' | 'list' | 'antenna' | 'channel' | 'role';
@ -524,7 +524,6 @@ defineExpose({
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 1em; gap: 1em;
opacity: 0.75;
padding: 8px 8px; padding: 8px 8px;
margin: 0 auto; margin: 0 auto;
border-bottom: solid 0.5px var(--MI_THEME-divider); border-bottom: solid 0.5px var(--MI_THEME-divider);

View File

@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<XNotification v-else :class="$style.content" :notification="notification" :withTime="true" :full="true"/> <XNotification v-else :class="$style.content" :notification="notification" :withTime="true" :full="true"/>
</div> </div>
</component> </component>
<button v-show="paginator.canFetchOlder.value" key="_more_" v-appear="prefer.s.enableInfiniteScroll ? paginator.fetchOlder : null" :disabled="paginator.fetchingOlder.value" class="_button" :class="$style.more" @click="paginator.fetchOlder"> <button v-show="paginator.canFetchOlder.value" key="_more_" :disabled="paginator.fetchingOlder.value" class="_button" :class="$style.more" @click="paginator.fetchOlder">
<div v-if="!paginator.fetchingOlder.value">{{ i18n.ts.loadMore }}</div> <div v-if="!paginator.fetchingOlder.value">{{ i18n.ts.loadMore }}</div>
<MkLoading v-else/> <MkLoading v-else/>
</button> </button>
@ -46,8 +46,8 @@ import { onUnmounted, onMounted, computed, useTemplateRef, TransitionGroup, mark
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
import { useInterval } from '@@/js/use-interval.js'; import { useInterval } from '@@/js/use-interval.js';
import { useDocumentVisibility } from '@@/js/use-document-visibility.js'; import { useDocumentVisibility } from '@@/js/use-document-visibility.js';
import type { notificationTypes } from '@@/js/const.js';
import { getScrollContainer, scrollToTop } from '@@/js/scroll.js'; import { getScrollContainer, scrollToTop } from '@@/js/scroll.js';
import type { notificationTypes } from '@@/js/const.js';
import XNotification from '@/components/MkNotification.vue'; import XNotification from '@/components/MkNotification.vue';
import MkNote from '@/components/MkNote.vue'; import MkNote from '@/components/MkNote.vue';
import { useStream } from '@/stream.js'; import { useStream } from '@/stream.js';
@ -235,7 +235,6 @@ defineExpose({
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 1em; gap: 1em;
opacity: 0.75;
padding: 8px 8px; padding: 8px 8px;
margin: 0 auto; margin: 0 auto;
border-bottom: solid 0.5px var(--MI_THEME-divider); border-bottom: solid 0.5px var(--MI_THEME-divider);

View File

@ -169,10 +169,6 @@ onUnmounted(() => {
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
scrollbar-width: none; scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
} }
.tabsInner { .tabsInner {

View File

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #default="{ items }"> <template #default="{ items }">
<div :class="$style.root"> <div :class="$style.root">
<MkUserInfo v-for="item in items" :key="item.id" class="user" :user="extractor(item)"/> <MkUserInfo v-for="item in items" :key="item.id" :user="extractor(item)"/>
</div> </div>
</template> </template>
</MkPagination> </MkPagination>

View File

@ -194,10 +194,6 @@ onUnmounted(() => {
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
scrollbar-width: none; scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
} }
.tabsInner { .tabsInner {

View File

@ -28,11 +28,11 @@ SPDX-License-Identifier: AGPL-3.0-only
import { defineAsyncComponent, ref } from 'vue'; import { defineAsyncComponent, ref } from 'vue';
import { toUnicode as decodePunycode } from 'punycode.js'; import { toUnicode as decodePunycode } from 'punycode.js';
import { url as local } from '@@/js/config.js'; import { url as local } from '@@/js/config.js';
import { maybeMakeRelative } from '@@/js/url.js';
import type { MkABehavior } from '@/components/global/MkA.vue';
import * as os from '@/os.js'; import * as os from '@/os.js';
import { useTooltip } from '@/composables/use-tooltip.js'; import { useTooltip } from '@/composables/use-tooltip.js';
import { isEnabledUrlPreview } from '@/utility/url-preview.js'; import { isEnabledUrlPreview } from '@/utility/url-preview.js';
import type { MkABehavior } from '@/components/global/MkA.vue';
import { maybeMakeRelative } from '@@/js/url.js';
function safeURIDecode(str: string): string { function safeURIDecode(str: string): string {
try { try {
@ -94,7 +94,7 @@ const target = self ? null : '_blank';
} }
.schema { .schema {
opacity: 0.5; color: color(from currentcolor srgb r g b / 0.5); // DOMopacity
} }
.hostname { .hostname {
@ -102,11 +102,11 @@ const target = self ? null : '_blank';
} }
.pathname { .pathname {
opacity: 0.8; color: color(from currentcolor srgb r g b / 0.8); // DOMopacity
} }
.query { .query {
opacity: 0.5; color: color(from currentcolor srgb r g b / 0.5); // DOMopacity
} }
.hash { .hash {

View File

@ -104,6 +104,8 @@ export function useUploader(options: {
multiple?: boolean; multiple?: boolean;
features?: UploaderFeatures; features?: UploaderFeatures;
} = {}) { } = {}) {
const $i = ensureSignin();
const events = new EventEmitter<{ const events = new EventEmitter<{
'itemUploaded': (ctx: { item: UploaderItem; }) => void; 'itemUploaded': (ctx: { item: UploaderItem; }) => void;
}>(); }>();
@ -132,7 +134,7 @@ export function useUploader(options: {
uploaded: null, uploaded: null,
uploadFailed: false, uploadFailed: false,
compressionLevel: prefer.s.defaultImageCompressionLevel, compressionLevel: prefer.s.defaultImageCompressionLevel,
watermarkPresetId: uploaderFeatures.value.watermark ? prefer.s.defaultWatermarkPresetId : null, watermarkPresetId: uploaderFeatures.value.watermark && $i.policies.watermarkAvailable ? prefer.s.defaultWatermarkPresetId : null,
file: markRaw(file), file: markRaw(file),
}); });
const reactiveItem = items.value.at(-1)!; const reactiveItem = items.value.at(-1)!;
@ -264,6 +266,7 @@ export function useUploader(options: {
if ( if (
uploaderFeatures.value.watermark && uploaderFeatures.value.watermark &&
$i.policies.watermarkAvailable &&
WATERMARK_SUPPORTED_TYPES.includes(item.file.type) && WATERMARK_SUPPORTED_TYPES.includes(item.file.type) &&
!item.preprocessing && !item.preprocessing &&
!item.uploading && !item.uploading &&
@ -500,7 +503,7 @@ export function useUploader(options: {
let preprocessedFile: Blob | File = item.file; let preprocessedFile: Blob | File = item.file;
const needsWatermark = item.watermarkPresetId != null && WATERMARK_SUPPORTED_TYPES.includes(preprocessedFile.type); const needsWatermark = item.watermarkPresetId != null && WATERMARK_SUPPORTED_TYPES.includes(preprocessedFile.type) && $i.policies.watermarkAvailable;
const preset = prefer.s.watermarkPresets.find(p => p.id === item.watermarkPresetId); const preset = prefer.s.watermarkPresets.find(p => p.id === item.watermarkPresetId);
if (needsWatermark && preset != null) { if (needsWatermark && preset != null) {
const canvas = window.document.createElement('canvas'); const canvas = window.document.createElement('canvas');

View File

@ -13,7 +13,7 @@ import type { ComponentProps as CP } from 'vue-component-type-helpers';
import type { Form, GetFormResultType } from '@/utility/form.js'; import type { Form, GetFormResultType } from '@/utility/form.js';
import type { MenuItem } from '@/types/menu.js'; import type { MenuItem } from '@/types/menu.js';
import type { PostFormProps } from '@/types/post-form.js'; import type { PostFormProps } from '@/types/post-form.js';
import type { UploaderDialogFeatures } from '@/components/MkUploaderDialog.vue'; import type { UploaderFeatures } from '@/composables/use-uploader.js';
import type MkRoleSelectDialog_TypeReferenceOnly from '@/components/MkRoleSelectDialog.vue'; import type MkRoleSelectDialog_TypeReferenceOnly from '@/components/MkRoleSelectDialog.vue';
import type MkEmojiPickerDialog_TypeReferenceOnly from '@/components/MkEmojiPickerDialog.vue'; import type MkEmojiPickerDialog_TypeReferenceOnly from '@/components/MkEmojiPickerDialog.vue';
import { misskeyApi } from '@/utility/misskey-api.js'; import { misskeyApi } from '@/utility/misskey-api.js';
@ -837,7 +837,7 @@ export function launchUploader(
options?: { options?: {
folderId?: string | null; folderId?: string | null;
multiple?: boolean; multiple?: boolean;
features?: UploaderDialogFeatures; features?: UploaderFeatures;
}, },
): Promise<Misskey.entities.DriveFile[]> { ): Promise<Misskey.entities.DriveFile[]> {
return new Promise(async (res, rej) => { return new Promise(async (res, rej) => {

View File

@ -48,7 +48,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<FormSection v-if="instance.repositoryUrl !== 'https://github.com/misskey-dev/misskey'"> <FormSection v-if="instance.repositoryUrl !== 'https://github.com/misskey-dev/misskey'">
<div class="_gaps_s"> <div class="_gaps_s">
<MkInfo> <MkInfo>
{{ i18n.tsx._aboutMisskey.thisIsModifiedVersion({ name: instance.name }) }} {{ i18n.tsx._aboutMisskey.thisIsModifiedVersion({ name: instance.name ?? host }) }}
</MkInfo> </MkInfo>
<FormLink v-if="instance.repositoryUrl" :to="instance.repositoryUrl" external> <FormLink v-if="instance.repositoryUrl" :to="instance.repositoryUrl" external>
<template #icon><i class="ti ti-code"></i></template> <template #icon><i class="ti ti-code"></i></template>
@ -134,7 +134,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup> <script lang="ts" setup>
import { nextTick, onBeforeUnmount, ref, useTemplateRef, computed } from 'vue'; import { nextTick, onBeforeUnmount, ref, useTemplateRef, computed } from 'vue';
import { version } from '@@/js/config.js'; import { host, version } from '@@/js/config.js';
import FormLink from '@/components/form/link.vue'; import FormLink from '@/components/form/link.vue';
import FormSection from '@/components/form/section.vue'; import FormSection from '@/components/form/section.vue';
import MkButton from '@/components/MkButton.vue'; import MkButton from '@/components/MkButton.vue';
@ -414,6 +414,7 @@ const easterEggEngine = ref<{ stop: () => void } | null>(null);
const containerEl = useTemplateRef('containerEl'); const containerEl = useTemplateRef('containerEl');
function iconLoaded() { function iconLoaded() {
if (containerEl.value == null) return;
const emojis = prefer.s.emojiPalettes[0].emojis; const emojis = prefer.s.emojiPalettes[0].emojis;
const containerWidth = containerEl.value.offsetWidth; const containerWidth = containerEl.value.offsetWidth;
for (let i = 0; i < 32; i++) { for (let i = 0; i < 32; i++) {
@ -431,6 +432,7 @@ function iconLoaded() {
} }
function gravity() { function gravity() {
if (containerEl.value == null) return;
if (!easterEggReady) return; if (!easterEggReady) return;
easterEggReady = false; easterEggReady = false;
easterEggEngine.value = physics(containerEl.value); easterEggEngine.value = physics(containerEl.value);

View File

@ -0,0 +1,38 @@
<!--
SPDX-FileCopyrightText: syuilo and misskey-project
SPDX-License-Identifier: AGPL-3.0-only
-->
<template>
<div class="_gaps">
<MkInfo>{{ i18n.ts._fileViewer.thisPageCanBeSeenFromTheAuthor }}</MkInfo>
<MkPagination :paginator="paginator">
<template #default="{ items }">
<XMessage v-for="item in items" :key="item.id" :message="item" :isSearchResult="true"/>
</template>
</MkPagination>
</div>
</template>
<script lang="ts" setup>
import { ref, computed, markRaw } from 'vue';
import XMessage from './chat/XMessage.vue';
import { i18n } from '@/i18n.js';
import MkInfo from '@/components/MkInfo.vue';
import { Paginator } from '@/utility/paginator.js';
import MkPagination from '@/components/MkPagination.vue';
const props = defineProps<{
fileId: string;
}>();
const realFileId = computed(() => props.fileId);
const paginator = markRaw(new Paginator('drive/files/attached-chat-messages', {
limit: 10,
params: {
fileId: realFileId.value,
},
}));
</script>

View File

@ -44,8 +44,19 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkButton danger @click="del"><i class="ti ti-trash"></i> {{ i18n.ts.delete }}</MkButton> <MkButton danger @click="del"><i class="ti ti-trash"></i> {{ i18n.ts.delete }}</MkButton>
</div> </div>
</div> </div>
<div v-else-if="tab === 'notes' && info" class="_gaps_m"> <div v-else-if="tab === 'usage' && info" class="_gaps_m">
<XNotes :fileId="fileId"/> <MkTabs
v-model:tab="usageTab"
:tabs="[{
key: 'note',
title: 'Note',
}, {
key: 'chat',
title: 'Chat',
}]"
/>
<XNotes v-if="usageTab === 'note'" :fileId="fileId"/>
<XChat v-else-if="usageTab === 'chat'" :fileId="fileId"/>
</div> </div>
<div v-else-if="tab === 'ip' && info" class="_gaps_m"> <div v-else-if="tab === 'ip' && info" class="_gaps_m">
<MkInfo v-if="!iAmAdmin" warn>{{ i18n.ts.requireAdminForView }}</MkInfo> <MkInfo v-if="!iAmAdmin" warn>{{ i18n.ts.requireAdminForView }}</MkInfo>
@ -86,12 +97,15 @@ import { misskeyApi } from '@/utility/misskey-api.js';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';
import { definePage } from '@/page.js'; import { definePage } from '@/page.js';
import { iAmAdmin, iAmModerator } from '@/i.js'; import { iAmAdmin, iAmModerator } from '@/i.js';
import MkTabs from '@/components/MkTabs.vue';
const tab = ref('overview'); const tab = ref('overview');
const file = ref<Misskey.entities.DriveFile | null>(null); const file = ref<Misskey.entities.DriveFile | null>(null);
const info = ref<Misskey.entities.AdminDriveShowFileResponse | null>(null); const info = ref<Misskey.entities.AdminDriveShowFileResponse | null>(null);
const isSensitive = ref<boolean>(false); const isSensitive = ref<boolean>(false);
const usageTab = ref<'note' | 'chat'>('note');
const XNotes = defineAsyncComponent(() => import('./drive.file.notes.vue')); const XNotes = defineAsyncComponent(() => import('./drive.file.notes.vue'));
const XChat = defineAsyncComponent(() => import('./admin-file.chat.vue'));
const props = defineProps<{ const props = defineProps<{
fileId: string, fileId: string,
@ -147,9 +161,9 @@ const headerTabs = computed(() => [{
title: i18n.ts.overview, title: i18n.ts.overview,
icon: 'ti ti-info-circle', icon: 'ti ti-info-circle',
}, iAmModerator ? { }, iAmModerator ? {
key: 'notes', key: 'usage',
title: i18n.ts._fileViewer.attachedNotes, title: i18n.ts._fileViewer.usage,
icon: 'ti ti-pencil', icon: 'ti ti-plus',
} : null, iAmModerator ? { } : null, iAmModerator ? {
key: 'ip', key: 'ip',
title: 'IP', title: 'IP',

View File

@ -780,6 +780,26 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkRange> </MkRange>
</div> </div>
</MkFolder> </MkFolder>
<MkFolder v-if="matchQuery([i18n.ts._role._options.watermarkAvailable, 'watermarkAvailable'])">
<template #label>{{ i18n.ts._role._options.watermarkAvailable }}</template>
<template #suffix>
<span v-if="role.policies.watermarkAvailable.useDefault" :class="$style.useDefaultLabel">{{ i18n.ts._role.useBaseValue }}</span>
<span v-else>{{ role.policies.watermarkAvailable.value ? i18n.ts.yes : i18n.ts.no }}</span>
<span :class="$style.priorityIndicator"><i :class="getPriorityIcon(role.policies.watermarkAvailable)"></i></span>
</template>
<div class="_gaps">
<MkSwitch v-model="role.policies.watermarkAvailable.useDefault" :readonly="readonly">
<template #label>{{ i18n.ts._role.useBaseValue }}</template>
</MkSwitch>
<MkSwitch v-model="role.policies.watermarkAvailable.value" :disabled="role.policies.watermarkAvailable.useDefault" :readonly="readonly">
<template #label>{{ i18n.ts.enable }}</template>
</MkSwitch>
<MkRange v-model="role.policies.watermarkAvailable.priority" :min="0" :max="2" :step="1" easing :textConverter="(v) => v === 0 ? i18n.ts._role._priority.low : v === 1 ? i18n.ts._role._priority.middle : v === 2 ? i18n.ts._role._priority.high : ''">
<template #label>{{ i18n.ts._role.priority }}</template>
</MkRange>
</div>
</MkFolder>
</div> </div>
</FormSlot> </FormSlot>
</div> </div>

View File

@ -291,6 +291,14 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkInput v-model="policies.noteDraftLimit" type="number" :min="0"> <MkInput v-model="policies.noteDraftLimit" type="number" :min="0">
</MkInput> </MkInput>
</MkFolder> </MkFolder>
<MkFolder v-if="matchQuery([i18n.ts._role._options.watermarkAvailable, 'watermarkAvailable'])">
<template #label>{{ i18n.ts._role._options.watermarkAvailable }}</template>
<template #suffix>{{ policies.watermarkAvailable ? i18n.ts.yes : i18n.ts.no }}</template>
<MkSwitch v-model="policies.watermarkAvailable">
<template #label>{{ i18n.ts.enable }}</template>
</MkSwitch>
</MkFolder>
</div> </div>
</MkFolder> </MkFolder>
<MkButton primary rounded @click="create"><i class="ti ti-plus"></i> {{ i18n.ts._role.new }}</MkButton> <MkButton primary rounded @click="create"><i class="ti ti-plus"></i> {{ i18n.ts._role.new }}</MkButton>

View File

@ -25,7 +25,7 @@ import { misskeyApi } from '@/utility/misskey-api.js';
import { definePage } from '@/page.js'; import { definePage } from '@/page.js';
const props = defineProps<{ const props = defineProps<{
messageId?: string; messageId: string;
}>(); }>();
const initializing = ref(true); const initializing = ref(true);

View File

@ -197,7 +197,7 @@ async function initialize() {
connection.value.on('deleted', onDeleted); connection.value.on('deleted', onDeleted);
connection.value.on('react', onReact); connection.value.on('react', onReact);
connection.value.on('unreact', onUnreact); connection.value.on('unreact', onUnreact);
} else { } else if (props.roomId) {
const [rResult, mResult] = await Promise.allSettled([ const [rResult, mResult] = await Promise.allSettled([
misskeyApi('chat/rooms/show', { roomId: props.roomId }), misskeyApi('chat/rooms/show', { roomId: props.roomId }),
misskeyApi('chat/messages/room-timeline', { roomId: props.roomId, limit: LIMIT }), misskeyApi('chat/messages/room-timeline', { roomId: props.roomId, limit: LIMIT }),

View File

@ -76,7 +76,8 @@ watch(() => props.clipId, async () => {
clip.value = await misskeyApi('clips/show', { clip.value = await misskeyApi('clips/show', {
clipId: props.clipId, clipId: props.clipId,
}); });
favorited.value = clip.value.isFavorited;
favorited.value = clip.value!.isFavorited ?? false;
}, { }, {
immediate: true, immediate: true,
}); });
@ -108,6 +109,8 @@ const headerActions = computed(() => clip.value && isOwned.value ? [{
icon: 'ti ti-pencil', icon: 'ti ti-pencil',
text: i18n.ts.edit, text: i18n.ts.edit,
handler: async (): Promise<void> => { handler: async (): Promise<void> => {
if (clip.value == null) return;
const { canceled, result } = await os.form(clip.value.name, { const { canceled, result } = await os.form(clip.value.name, {
name: { name: {
type: 'string', type: 'string',
@ -128,6 +131,7 @@ const headerActions = computed(() => clip.value && isOwned.value ? [{
default: clip.value.isPublic, default: clip.value.isPublic,
}, },
}); });
if (canceled) return; if (canceled) return;
os.apiWithDialog('clips/update', { os.apiWithDialog('clips/update', {
@ -178,6 +182,8 @@ const headerActions = computed(() => clip.value && isOwned.value ? [{
text: i18n.ts.delete, text: i18n.ts.delete,
danger: true, danger: true,
handler: async (): Promise<void> => { handler: async (): Promise<void> => {
if (clip.value == null) return;
const { canceled } = await os.confirm({ const { canceled } = await os.confirm({
type: 'warning', type: 'warning',
text: i18n.tsx.deleteAreYouSure({ x: clip.value.name }), text: i18n.tsx.deleteAreYouSure({ x: clip.value.name }),

View File

@ -10,9 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #empty><MkResult type="empty" :text="i18n.ts.noNotes"/></template> <template #empty><MkResult type="empty" :text="i18n.ts.noNotes"/></template>
<template #default="{ items }"> <template #default="{ items }">
<MkDateSeparatedList v-slot="{ item }" :items="items" :direction="'down'" :noGap="false" :ad="false"> <MkNote v-for="item in items" :key="item.id" :note="item.note" :class="$style.note"/>
<MkNote :key="item.id" :note="item.note" :class="$style.note"/>
</MkDateSeparatedList>
</template> </template>
</MkPagination> </MkPagination>
</div> </div>
@ -23,7 +21,6 @@ SPDX-License-Identifier: AGPL-3.0-only
import { markRaw } from 'vue'; import { markRaw } from 'vue';
import MkPagination from '@/components/MkPagination.vue'; import MkPagination from '@/components/MkPagination.vue';
import MkNote from '@/components/MkNote.vue'; import MkNote from '@/components/MkNote.vue';
import MkDateSeparatedList from '@/components/MkDateSeparatedList.vue';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';
import { definePage } from '@/page.js'; import { definePage } from '@/page.js';
import { Paginator } from '@/utility/paginator.js'; import { Paginator } from '@/utility/paginator.js';

View File

@ -67,7 +67,7 @@ const router = useRouter();
const tab = ref('featured'); const tab = ref('featured');
const searchQuery = ref(''); const searchQuery = ref('');
const searchPaginator = shallowRef<IPaginator | null>(null); const searchPaginator = shallowRef<Paginator<'flash/search'> | null>(null);
const searchKey = ref(0); const searchKey = ref(0);
const featuredFlashsPaginator = markRaw(new Paginator('flash/featured', { const featuredFlashsPaginator = markRaw(new Paginator('flash/featured', {

View File

@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_s"> <div class="_gaps_s">
<MkKeyValue> <MkKeyValue>
<template #key>{{ i18n.ts._externalResourceInstaller._vendorInfo.endpoint }}</template> <template #key>{{ i18n.ts._externalResourceInstaller._vendorInfo.endpoint }}</template>
<template #value><MkUrl :url="url" :showUrlPreview="false"></MkUrl></template> <template #value><MkUrl v-if="url" :url="url" :showUrlPreview="false"></MkUrl></template>
</MkKeyValue> </MkKeyValue>
<MkKeyValue> <MkKeyValue>
<template #key>{{ i18n.ts._externalResourceInstaller._vendorInfo.hashVerify }}</template> <template #key>{{ i18n.ts._externalResourceInstaller._vendorInfo.hashVerify }}</template>
@ -151,7 +151,7 @@ async function fetch() {
case 'theme': case 'theme':
try { try {
const metaRaw = parseThemeCode(res.data); const metaRaw = parseThemeCode(res.data);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { id, props, desc: description, ...meta } = metaRaw; const { id, props, desc: description, ...meta } = metaRaw;
data.value = { data.value = {
type: 'theme', type: 'theme',

View File

@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-if="instance" class="_spacer" style="--MI_SPACER-w: 600px; --MI_SPACER-min: 16px; --MI_SPACER-max: 32px;"> <div v-if="instance" class="_spacer" style="--MI_SPACER-w: 600px; --MI_SPACER-min: 16px; --MI_SPACER-max: 32px;">
<div v-if="tab === 'overview'" class="_gaps_m"> <div v-if="tab === 'overview'" class="_gaps_m">
<div :class="$style.faviconAndName"> <div :class="$style.faviconAndName">
<img :src="faviconUrl" alt="" :class="$style.icon"/> <img v-if="faviconUrl" :src="faviconUrl" alt="" :class="$style.icon"/>
<span :class="$style.name">{{ instance.name || `(${i18n.ts.unknown})` }}</span> <span :class="$style.name">{{ instance.name || `(${i18n.ts.unknown})` }}</span>
</div> </div>
<div style="display: flex; flex-direction: column; gap: 1em;"> <div style="display: flex; flex-direction: column; gap: 1em;">

View File

@ -62,24 +62,29 @@ function fetchList(): void {
} }
function like() { function like() {
if (list.value == null) return;
os.apiWithDialog('users/lists/favorite', { os.apiWithDialog('users/lists/favorite', {
listId: list.value.id, listId: list.value.id,
}).then(() => { }).then(() => {
if (list.value == null) return;
list.value.isLiked = true; list.value.isLiked = true;
list.value.likedCount++; list.value.likedCount++;
}); });
} }
function unlike() { function unlike() {
if (list.value == null) return;
os.apiWithDialog('users/lists/unfavorite', { os.apiWithDialog('users/lists/unfavorite', {
listId: list.value.id, listId: list.value.id,
}).then(() => { }).then(() => {
if (list.value == null) return;
list.value.isLiked = false; list.value.isLiked = false;
list.value.likedCount--; list.value.likedCount--;
}); });
} }
async function create() { async function create() {
if (list.value == null) return;
const { canceled, result: name } = await os.inputText({ const { canceled, result: name } = await os.inputText({
title: i18n.ts.enterListName, title: i18n.ts.enterListName,
}); });

View File

@ -64,6 +64,7 @@ async function create() {
default: false, default: false,
}, },
}); });
if (canceled) return; if (canceled) return;
os.apiWithDialog('clips/create', result); os.apiWithDialog('clips/create', result);

View File

@ -73,10 +73,6 @@ import { Paginator } from '@/utility/paginator.js';
const $i = ensureSignin(); const $i = ensureSignin();
const {
enableInfiniteScroll,
} = prefer.r;
const props = defineProps<{ const props = defineProps<{
listId: string; listId: string;
}>(); }>();

View File

@ -79,7 +79,9 @@ async function createKey() {
default: scope.value.join('/'), default: scope.value.join('/'),
}, },
}); });
if (canceled) return; if (canceled) return;
os.apiWithDialog('i/registry/set', { os.apiWithDialog('i/registry/set', {
scope: result.scope.split('/'), scope: result.scope.split('/'),
key: result.key, key: result.key,

View File

@ -56,7 +56,9 @@ async function createKey() {
label: i18n.ts._registry.scope, label: i18n.ts._registry.scope,
}, },
}); });
if (canceled) return; if (canceled) return;
os.apiWithDialog('i/registry/set', { os.apiWithDialog('i/registry/set', {
scope: result.scope.split('/'), scope: result.scope.split('/'),
key: result.key, key: result.key,

View File

@ -87,7 +87,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m"> <div class="_gaps_m">
<SearchMarker :keywords="['watermark', 'credit']"> <SearchMarker :keywords="['watermark', 'credit']">
<MkFolder> <MkFolder v-if="$i.policies.watermarkAvailable">
<template #icon><i class="ti ti-copyright"></i></template> <template #icon><i class="ti ti-copyright"></i></template>
<template #label><SearchLabel>{{ i18n.ts.watermark }}</SearchLabel></template> <template #label><SearchLabel>{{ i18n.ts.watermark }}</SearchLabel></template>
<template #caption>{{ i18n.ts._watermarkEditor.tip }}</template> <template #caption>{{ i18n.ts._watermarkEditor.tip }}</template>

View File

@ -110,6 +110,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkPreferenceContainer> </MkPreferenceContainer>
</SearchMarker> </SearchMarker>
<!--
<SearchMarker :keywords="['auto', 'load', 'auto', 'more', 'scroll']"> <SearchMarker :keywords="['auto', 'load', 'auto', 'more', 'scroll']">
<MkPreferenceContainer k="enableInfiniteScroll"> <MkPreferenceContainer k="enableInfiniteScroll">
<MkSwitch v-model="enableInfiniteScroll"> <MkSwitch v-model="enableInfiniteScroll">
@ -117,6 +118,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkSwitch> </MkSwitch>
</MkPreferenceContainer> </MkPreferenceContainer>
</SearchMarker> </SearchMarker>
-->
</div> </div>
<SearchMarker :keywords="['emoji', 'style', 'native', 'system', 'fluent', 'twemoji']"> <SearchMarker :keywords="['emoji', 'style', 'native', 'system', 'fluent', 'twemoji']">

View File

@ -25,7 +25,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkUserName class="name" :user="user" :nowrap="true"/> <MkUserName class="name" :user="user" :nowrap="true"/>
<div class="bottom"> <div class="bottom">
<span class="username"><MkAcct :user="user" :detail="true"/></span> <span class="username"><MkAcct :user="user" :detail="true"/></span>
<span v-if="user.isAdmin" :title="i18n.ts.isAdmin" style="color: var(--MI_THEME-badge);"><i class="ti ti-shield"></i></span>
<span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ti ti-lock"></i></span> <span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ti ti-lock"></i></span>
<span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ti ti-robot"></i></span> <span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ti ti-robot"></i></span>
<button v-if="$i && !isEditingMemo && !memoDraft" class="_button add-note-button" @click="showMemoTextarea"> <button v-if="$i && !isEditingMemo && !memoDraft" class="_button add-note-button" @click="showMemoTextarea">
@ -44,7 +43,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkUserName :user="user" :nowrap="false" class="name"/> <MkUserName :user="user" :nowrap="false" class="name"/>
<div class="bottom"> <div class="bottom">
<span class="username"><MkAcct :user="user" :detail="true"/></span> <span class="username"><MkAcct :user="user" :detail="true"/></span>
<span v-if="user.isAdmin" :title="i18n.ts.isAdmin" style="color: var(--MI_THEME-badge);"><i class="ti ti-shield"></i></span>
<span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ti ti-lock"></i></span> <span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ti ti-lock"></i></span>
<span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ti ti-robot"></i></span> <span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ti ti-robot"></i></span>
</div> </div>

View File

@ -14,12 +14,13 @@ import * as os from '@/os.js';
import { misskeyApi } from '@/utility/misskey-api.js'; import { misskeyApi } from '@/utility/misskey-api.js';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';
import { prefer } from '@/preferences.js'; import { prefer } from '@/preferences.js';
import type { FormWithDefault } from '@/utility/form.js';
export type Plugin = { export type Plugin = {
installId: string; installId: string;
name: string; name: string;
active: boolean; active: boolean;
config?: Record<string, { default: any }>; config?: FormWithDefault;
configData: Record<string, any>; configData: Record<string, any>;
src: string | null; src: string | null;
version: string; version: string;
@ -240,7 +241,7 @@ async function launchPlugin(id: Plugin['installId']): Promise<void> {
pluginLogs.value.set(plugin.installId, []); pluginLogs.value.set(plugin.installId, []);
function systemLog(message: string, isError = false): void { function systemLog(message: string, isError = false): void {
pluginLogs.value.get(plugin.installId)?.push({ pluginLogs.value.get(plugin!.installId)?.push({
at: Date.now(), at: Date.now(),
isSystem: true, isSystem: true,
message, message,

View File

@ -29,7 +29,7 @@ export const store = markRaw(new Pizzax('base', {
}, },
memo: { memo: {
where: 'account', where: 'account',
default: null, default: null as string | null,
}, },
reactionAcceptance: { reactionAcceptance: {
where: 'account', where: 'account',

View File

@ -22,11 +22,6 @@
} }
} }
::selection {
color: var(--MI_THEME-fgOnAccent);
background-color: var(--MI_THEME-accent);
}
html { html {
overflow: auto; overflow: auto;
overflow-wrap: break-word; overflow-wrap: break-word;
@ -45,27 +40,6 @@ html {
&, * { &, * {
scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent; scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent;
scrollbar-width: thin; scrollbar-width: thin;
&::-webkit-scrollbar {
width: 6px;
height: 6px;
}
&::-webkit-scrollbar-track {
background: inherit;
}
&::-webkit-scrollbar-thumb {
background: var(--MI_THEME-scrollbarHandle);
&:hover {
background: var(--MI_THEME-scrollbarHandleHover);
}
&:active {
background: var(--MI_THEME-accent);
}
}
} }
&.f-1 { &.f-1 {
@ -110,6 +84,11 @@ html::view-transition-old(theme-changing) {
animation-fill-mode: forwards; animation-fill-mode: forwards;
} }
html::selection {
color: var(--MI_THEME-fgOnAccent);
background-color: var(--MI_THEME-accent);
}
@keyframes themeChangingOld { @keyframes themeChangingOld {
0% { 0% {
opacity: 1; opacity: 1;

View File

@ -4,10 +4,10 @@
*/ */
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
import type { Component, ComputedRef, Ref } from 'vue'; import type { Component, ComputedRef, Ref, MaybeRef } from 'vue';
import type { ComponentProps as CP } from 'vue-component-type-helpers'; import type { ComponentProps as CP } from 'vue-component-type-helpers';
type ComponentProps<T extends Component> = { [K in keyof CP<T>]: CP<T>[K] | Ref<CP<T>[K]> }; type ComponentProps<T extends Component> = { [K in keyof CP<T>]: MaybeRef<CP<T>[K]> };
type MenuRadioOptionsDef = Record<string, any>; type MenuRadioOptionsDef = Record<string, any>;
@ -15,22 +15,107 @@ type Text = string | ComputedRef<string>;
export type MenuAction = (ev: MouseEvent) => void; export type MenuAction = (ev: MouseEvent) => void;
export type MenuDivider = { type: 'divider' }; export interface MenuButton {
export type MenuNull = undefined; type?: 'button';
export type MenuLabel = { type: 'label', text: Text, caption?: Text }; text: Text;
export type MenuLink = { type: 'link', to: string, text: Text, caption?: Text, icon?: string, indicate?: boolean, avatar?: Misskey.entities.User }; caption?: Text;
export type MenuA = { type: 'a', href: string, target?: string, download?: string, text: Text, caption?: Text, icon?: string, indicate?: boolean }; icon?: string;
export type MenuUser = { type: 'user', user: Misskey.entities.User, active?: boolean, indicate?: boolean, action: MenuAction }; indicate?: boolean;
export type MenuSwitch = { type: 'switch', ref: Ref<boolean>, text: Text, caption?: Text, icon?: string, disabled?: boolean | Ref<boolean> }; danger?: boolean;
export type MenuButton = { type?: 'button', text: Text, caption?: Text, icon?: string, indicate?: boolean, danger?: boolean, active?: boolean | ComputedRef<boolean>, avatar?: Misskey.entities.User; action: MenuAction }; active?: boolean | ComputedRef<boolean>;
export type MenuRadio = { type: 'radio', text: Text, caption?: Text, icon?: string, ref: Ref<MenuRadioOptionsDef[keyof MenuRadioOptionsDef]>, options: MenuRadioOptionsDef, disabled?: boolean | Ref<boolean> }; avatar?: Misskey.entities.User;
export type MenuRadioOption = { type: 'radioOption', text: Text, caption?: Text, action: MenuAction; active?: boolean | ComputedRef<boolean> }; action: MenuAction;
export type MenuComponent<T extends Component = any> = { type: 'component', component: T, props?: ComponentProps<T> }; }
export type MenuParent = { type: 'parent', text: Text, caption?: Text, icon?: string, children: MenuItem[] | (() => Promise<MenuItem[]> | MenuItem[]) };
export type MenuPending = { type: 'pending' }; interface MenuBase {
type: string;
}
type OuterMenuItem = MenuDivider | MenuNull | MenuLabel | MenuLink | MenuA | MenuUser | MenuSwitch | MenuButton | MenuRadio | MenuRadioOption | MenuComponent | MenuParent; export interface MenuDivider extends MenuBase {
type: 'divider';
}
export interface MenuLabel extends MenuBase {
type: 'label';
text: Text;
caption?: Text;
}
export interface MenuLink extends MenuBase {
type: 'link';
to: string;
text: Text;
caption?: Text;
icon?: string;
indicate?: boolean;
avatar?: Misskey.entities.User;
}
export interface MenuA extends MenuBase {
type: 'a';
href: string;
target?: string;
download?: string;
text: Text;
caption?: Text;
icon?: string;
indicate?: boolean;
}
export interface MenuUser extends MenuBase {
type: 'user';
user: Misskey.entities.User;
active?: boolean;
indicate?: boolean;
action: MenuAction;
}
export interface MenuSwitch extends MenuBase {
type: 'switch';
ref: Ref<boolean>;
text: Text;
caption?: Text;
icon?: string;
disabled?: boolean | Ref<boolean>;
}
export interface MenuRadio extends MenuBase {
type: 'radio';
text: Text;
caption?: Text;
icon?: string;
ref: Ref<MenuRadioOptionsDef[keyof MenuRadioOptionsDef]>;
options: MenuRadioOptionsDef;
disabled?: boolean | Ref<boolean>;
}
export interface MenuRadioOption extends MenuBase {
type: 'radioOption';
text: Text;
caption?: Text;
action: MenuAction;
active?: boolean | ComputedRef<boolean>;
}
export interface MenuComponent<T extends Component = any> extends MenuBase {
type: 'component';
component: T;
props?: ComponentProps<T>;
}
export interface MenuParent extends MenuBase {
type: 'parent';
text: Text;
caption?: Text;
icon?: string;
children: MenuItem[] | (() => Promise<MenuItem[]> | MenuItem[]);
}
export interface MenuPending extends MenuBase {
type: 'pending';
}
type OuterMenuItem = MenuDivider | MenuLabel | MenuLink | MenuA | MenuUser | MenuSwitch | MenuButton | MenuRadio | MenuRadioOption | MenuComponent | MenuParent;
type OuterPromiseMenuItem = Promise<MenuLabel | MenuLink | MenuA | MenuUser | MenuSwitch | MenuButton | MenuComponent | MenuParent>; type OuterPromiseMenuItem = Promise<MenuLabel | MenuLink | MenuA | MenuUser | MenuSwitch | MenuButton | MenuComponent | MenuParent>;
export type MenuItem = OuterMenuItem | OuterPromiseMenuItem; export type MenuItem = OuterMenuItem | OuterPromiseMenuItem;
export type InnerMenuItem = MenuDivider | MenuPending | MenuLabel | MenuLink | MenuA | MenuUser | MenuSwitch | MenuButton | MenuRadio | MenuRadioOption | MenuComponent | MenuParent; export type InnerMenuItem = MenuDivider | MenuPending | MenuLabel | MenuLink | MenuA | MenuUser | MenuSwitch | MenuButton | MenuRadio | MenuRadioOption | MenuComponent | MenuParent;

View File

@ -6,9 +6,9 @@
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
export interface PostFormProps { export interface PostFormProps {
reply?: Misskey.entities.Note; reply?: Misskey.entities.Note | null;
renote?: Misskey.entities.Note; renote?: Misskey.entities.Note | null;
channel?: Misskey.entities.Channel; // TODO channel?: Misskey.entities.Channel | null; // TODO
mention?: Misskey.entities.User; mention?: Misskey.entities.User;
specified?: Misskey.entities.UserDetailed; specified?: Misskey.entities.UserDetailed;
initialText?: string; initialText?: string;

View File

@ -368,10 +368,6 @@ function onDrop(ev) {
> .body { > .body {
background: transparent !important; background: transparent !important;
scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent; scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent;
&::-webkit-scrollbar-track {
background: transparent;
}
} }
} }
@ -397,10 +393,6 @@ function onDrop(ev) {
> .body { > .body {
background: var(--MI_THEME-bg) !important; background: var(--MI_THEME-bg) !important;
scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent; scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent;
&::-webkit-scrollbar-track {
background: inherit;
}
} }
} }
} }
@ -487,9 +479,5 @@ function onDrop(ev) {
container-type: size; container-type: size;
background-color: var(--MI_THEME-bg); background-color: var(--MI_THEME-bg);
scrollbar-color: var(--MI_THEME-scrollbarHandle) var(--MI_THEME-panel); scrollbar-color: var(--MI_THEME-scrollbarHandle) var(--MI_THEME-panel);
&::-webkit-scrollbar-track {
background: var(--MI_THEME-panel);
}
} }
</style> </style>

View File

@ -29,7 +29,8 @@ export async function soundSettingsButton(soundSetting: Ref<SoundStore>): Promis
label: i18n.ts.sound, label: i18n.ts.sound,
default: soundSetting.value.type ?? 'none', default: soundSetting.value.type ?? 'none',
enum: soundsTypes.map(f => ({ enum: soundsTypes.map(f => ({
value: f ?? 'none', label: getSoundTypeName(f), value: f ?? 'none' as Exclude<SoundType, null> | 'none',
label: getSoundTypeName(f),
})), })),
}, },
soundFile: { soundFile: {
@ -81,16 +82,17 @@ export async function soundSettingsButton(soundSetting: Ref<SoundStore>): Promis
}, },
}, },
}); });
if (canceled) return; if (canceled) return;
const res = buildSoundStore(result); const res = buildSoundStore(result);
if (res) soundSetting.value = res; if (res) soundSetting.value = res;
function buildSoundStore(result: any): SoundStore | null { function buildSoundStore(r: NonNullable<typeof result>): SoundStore | null {
const type = (result.type === 'none' ? null : result.type) as SoundType; const type = (r.type === 'none' ? null : r.type);
const volume = result.volume as number; const volume = r.volume;
const fileId = result.soundFile?.id ?? (soundSetting.value.type === '_driveFile_' ? soundSetting.value.fileId : undefined); const fileId = r.soundFile?.id ?? (soundSetting.value.type === '_driveFile_' ? soundSetting.value.fileId : undefined);
const fileUrl = result.soundFile?.url ?? (soundSetting.value.type === '_driveFile_' ? soundSetting.value.fileUrl : undefined); const fileUrl = r.soundFile?.url ?? (soundSetting.value.type === '_driveFile_' ? soundSetting.value.fileUrl : undefined);
if (type === '_driveFile_') { if (type === '_driveFile_') {
if (!fileUrl || !fileId) { if (!fileUrl || !fileId) {

View File

@ -126,7 +126,6 @@ const onContextmenu = (ev) => {
</script> </script>
<style lang="scss" module> <style lang="scss" module>
$ui-font-size: 1em; // TODO:
$widgets-hide-threshold: 1090px; $widgets-hide-threshold: 1090px;
.root { .root {

View File

@ -5,55 +5,59 @@
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
type EnumItem = string | { export type EnumItem = string | {
label: string; label: string;
value: string; value: unknown;
}; };
type Hidden = boolean | ((v: any) => boolean); type Hidden = boolean | ((v: any) => boolean);
export type FormItem = { interface FormItemBase {
label?: string; label?: string;
hidden?: Hidden;
}
export interface StringFormItem extends FormItemBase {
type: 'string'; type: 'string';
default?: string | null; default?: string | null;
description?: string; description?: string;
required?: boolean; required?: boolean;
hidden?: Hidden;
multiline?: boolean; multiline?: boolean;
treatAsMfm?: boolean; treatAsMfm?: boolean;
} | { }
label?: string;
export interface NumberFormItem extends FormItemBase {
type: 'number'; type: 'number';
default?: number | null; default?: number | null;
description?: string; description?: string;
required?: boolean; required?: boolean;
hidden?: Hidden;
step?: number; step?: number;
} | { }
label?: string;
export interface BooleanFormItem extends FormItemBase {
type: 'boolean'; type: 'boolean';
default?: boolean | null; default?: boolean | null;
description?: string; description?: string;
hidden?: Hidden; }
} | {
label?: string; export interface EnumFormItem extends FormItemBase {
type: 'enum'; type: 'enum';
default?: string | null; default?: string | null;
required?: boolean; required?: boolean;
hidden?: Hidden;
enum: EnumItem[]; enum: EnumItem[];
} | { }
label?: string;
export interface RadioFormItem extends FormItemBase {
type: 'radio'; type: 'radio';
default?: unknown | null; default?: unknown | null;
required?: boolean; required?: boolean;
hidden?: Hidden;
options: { options: {
label: string; label: string;
value: unknown; value: unknown;
}[]; }[];
} | { }
label?: string;
export interface RangeFormItem extends FormItemBase {
type: 'range'; type: 'range';
default?: number | null; default?: number | null;
description?: string; description?: string;
@ -62,42 +66,80 @@ export type FormItem = {
min: number; min: number;
max: number; max: number;
textConverter?: (value: number) => string; textConverter?: (value: number) => string;
hidden?: Hidden; }
} | {
label?: string; export interface ObjectFormItem extends FormItemBase {
type: 'object'; type: 'object';
default?: Record<string, unknown> | null; default?: Record<string, unknown> | null;
hidden: Hidden; }
} | {
label?: string; export interface ArrayFormItem extends FormItemBase {
type: 'array'; type: 'array';
default?: unknown[] | null; default?: unknown[] | null;
hidden: Hidden; }
} | {
export interface ButtonFormItem extends FormItemBase {
type: 'button'; type: 'button';
content?: string; content?: string;
hidden?: Hidden;
action: (ev: MouseEvent, v: any) => void; action: (ev: MouseEvent, v: any) => void;
} | { }
export interface DriveFileFormItem extends FormItemBase {
type: 'drive-file'; type: 'drive-file';
defaultFileId?: string | null; defaultFileId?: string | null;
hidden?: Hidden;
validate?: (v: Misskey.entities.DriveFile) => Promise<boolean>; validate?: (v: Misskey.entities.DriveFile) => Promise<boolean>;
}; }
export type FormItem =
StringFormItem |
NumberFormItem |
BooleanFormItem |
EnumFormItem |
RadioFormItem |
RangeFormItem |
ObjectFormItem |
ArrayFormItem |
ButtonFormItem |
DriveFileFormItem;
export type Form = Record<string, FormItem>; export type Form = Record<string, FormItem>;
export type FormItemWithDefault = FormItem & {
default: unknown;
};
export type FormWithDefault = Record<string, FormItemWithDefault>;
type GetRadioItemType<Item extends RadioFormItem = RadioFormItem> = Item['options'][number]['value'];
type GetEnumItemType<Item extends EnumFormItem, E = Item['enum'][number]> = E extends { value: unknown } ? E['value'] : E;
type InferDefault<T, Fallback> = T extends { default: infer D }
? D extends undefined ? Fallback : D
: Fallback;
type NonNullableIfRequired<T, Item extends FormItem> =
Item extends { required: false } ? T | null | undefined : NonNullable<T>;
type GetItemType<Item extends FormItem> = type GetItemType<Item extends FormItem> =
Item['type'] extends 'string' ? string : Item extends StringFormItem
Item['type'] extends 'number' ? number : ? NonNullableIfRequired<InferDefault<Item, string>, Item>
Item['type'] extends 'boolean' ? boolean : : Item extends NumberFormItem
Item['type'] extends 'radio' ? unknown : ? NonNullableIfRequired<InferDefault<Item, number>, Item>
Item['type'] extends 'range' ? number : : Item extends BooleanFormItem
Item['type'] extends 'enum' ? string : ? boolean
Item['type'] extends 'array' ? unknown[] : : Item extends RadioFormItem
Item['type'] extends 'object' ? Record<string, unknown> : ? GetRadioItemType<Item>
Item['type'] extends 'drive-file' ? Misskey.entities.DriveFile | undefined : : Item extends RangeFormItem
never; ? NonNullableIfRequired<InferDefault<RangeFormItem, number>, Item>
: Item extends EnumFormItem
? GetEnumItemType<Item>
: Item extends ArrayFormItem
? NonNullableIfRequired<InferDefault<ArrayFormItem, unknown[]>, Item>
: Item extends ObjectFormItem
? NonNullableIfRequired<InferDefault<Item, Record<string, unknown>>, Item>
: Item extends DriveFileFormItem
? Misskey.entities.DriveFile | undefined
: never;
export type GetFormResultType<F extends Form> = { export type GetFormResultType<F extends Form> = {
[P in keyof F]: GetItemType<F[P]>; [P in keyof F]: GetItemType<F[P]>;

View File

@ -101,7 +101,7 @@ export async function getNoteClipMenu(props: {
const { canceled, result } = await os.form(i18n.ts.createNewClip, { const { canceled, result } = await os.form(i18n.ts.createNewClip, {
name: { name: {
type: 'string', type: 'string',
default: null, default: null as string | null,
label: i18n.ts.name, label: i18n.ts.name,
}, },
description: { description: {
@ -180,6 +180,7 @@ export function getNoteMenu(props: {
currentClip?: Misskey.entities.Clip; currentClip?: Misskey.entities.Clip;
}) { }) {
const appearNote = getAppearNote(props.note); const appearNote = getAppearNote(props.note);
const link = appearNote.url ?? appearNote.uri;
const cleanups = [] as (() => void)[]; const cleanups = [] as (() => void)[];
@ -189,6 +190,7 @@ export function getNoteMenu(props: {
text: i18n.ts.noteDeleteConfirm, text: i18n.ts.noteDeleteConfirm,
}).then(({ canceled }) => { }).then(({ canceled }) => {
if (canceled) return; if (canceled) return;
if ($i == null) return;
misskeyApi('notes/delete', { misskeyApi('notes/delete', {
noteId: appearNote.id, noteId: appearNote.id,
@ -208,6 +210,7 @@ export function getNoteMenu(props: {
text: i18n.ts.deleteAndEditConfirm, text: i18n.ts.deleteAndEditConfirm,
}).then(({ canceled }) => { }).then(({ canceled }) => {
if (canceled) return; if (canceled) return;
if ($i == null) return;
misskeyApi('notes/delete', { misskeyApi('notes/delete', {
noteId: appearNote.id, noteId: appearNote.id,
@ -317,22 +320,25 @@ export function getNoteMenu(props: {
action: copyContent, action: copyContent,
}, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink)); }, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink));
if (appearNote.url || appearNote.uri) { if (link) {
menuItems.push({ menuItems.push({
icon: 'ti ti-link', icon: 'ti ti-link',
text: i18n.ts.copyRemoteLink, text: i18n.ts.copyRemoteLink,
action: () => { action: () => {
copyToClipboard(appearNote.url ?? appearNote.uri); copyToClipboard(link);
}, },
}, { }, {
icon: 'ti ti-external-link', icon: 'ti ti-external-link',
text: i18n.ts.showOnRemote, text: i18n.ts.showOnRemote,
action: () => { action: () => {
window.open(appearNote.url ?? appearNote.uri, '_blank', 'noopener'); window.open(link, '_blank', 'noopener');
}, },
}); });
} else { } else {
menuItems.push(getNoteEmbedCodeMenu(appearNote, i18n.ts.embed)); const embedMenu = getNoteEmbedCodeMenu(appearNote, i18n.ts.embed);
if (embedMenu != null) {
menuItems.push(embedMenu);
}
} }
if (isSupportShare()) { if (isSupportShare()) {
@ -475,22 +481,25 @@ export function getNoteMenu(props: {
action: copyContent, action: copyContent,
}, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink)); }, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink));
if (appearNote.url || appearNote.uri) { if (link != null) {
menuItems.push({ menuItems.push({
icon: 'ti ti-link', icon: 'ti ti-link',
text: i18n.ts.copyRemoteLink, text: i18n.ts.copyRemoteLink,
action: () => { action: () => {
copyToClipboard(appearNote.url ?? appearNote.uri); copyToClipboard(link);
}, },
}, { }, {
icon: 'ti ti-external-link', icon: 'ti ti-external-link',
text: i18n.ts.showOnRemote, text: i18n.ts.showOnRemote,
action: () => { action: () => {
window.open(appearNote.url ?? appearNote.uri, '_blank', 'noopener'); window.open(link, '_blank', 'noopener');
}, },
}); });
} else { } else {
menuItems.push(getNoteEmbedCodeMenu(appearNote, i18n.ts.embed)); const embedMenu = getNoteEmbedCodeMenu(appearNote, i18n.ts.embed);
if (embedMenu != null) {
menuItems.push(embedMenu);
}
} }
} }
@ -625,7 +634,7 @@ export function getRenoteMenu(props: {
}); });
} }
}, },
}, (props.mock) ? undefined : { }, ...(props.mock ? [] : [{
text: i18n.ts.quote, text: i18n.ts.quote,
icon: 'ti ti-quote', icon: 'ti ti-quote',
action: () => { action: () => {
@ -633,7 +642,7 @@ export function getRenoteMenu(props: {
renote: appearNote, renote: appearNote,
}); });
}, },
}]); }])]);
normalExternalChannelRenoteItems.push({ normalExternalChannelRenoteItems.push({
type: 'parent', type: 'parent',

View File

@ -132,6 +132,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
const userDetailed = await misskeyApi('users/show', { const userDetailed = await misskeyApi('users/show', {
userId: user.id, userId: user.id,
}); });
const { canceled, result } = await os.form(i18n.ts.editMemo, { const { canceled, result } = await os.form(i18n.ts.editMemo, {
memo: { memo: {
type: 'string', type: 'string',
@ -141,6 +142,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
default: userDetailed.memo, default: userDetailed.memo,
}, },
}); });
if (canceled) return; if (canceled) return;
os.apiWithDialog('users/update-memo', { os.apiWithDialog('users/update-memo', {

View File

@ -35,6 +35,8 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { deepClone } from '@/utility/clone.js';
const props = defineProps<{ const props = defineProps<{
activity: { activity: {
total: number; total: number;
@ -44,10 +46,21 @@ const props = defineProps<{
}[] }[]
}>(); }>();
for (const d of props.activity) { const activity = deepClone(props.activity).map(d => ({
d.total = d.notes + d.replies + d.renotes; ...d,
} total: d.notes + d.replies + d.renotes,
const peak = Math.max(...props.activity.map(d => d.total)); x: 0,
date: {
year: 0,
month: 0,
day: 0,
weekday: 0,
},
v: 0,
color: '',
}));
const peak = Math.max(...activity.map(d => d.total));
const now = new Date(); const now = new Date();
const year = now.getFullYear(); const year = now.getFullYear();
@ -55,7 +68,7 @@ const month = now.getMonth();
const day = now.getDate(); const day = now.getDate();
let x = 20; let x = 20;
props.activity.slice().forEach((d, i) => { activity.slice().forEach((d, i) => {
d.x = x; d.x = x;
const date = new Date(year, month, day - i); const date = new Date(year, month, day - i);

Some files were not shown because too many files have changed in this diff Show More