summaryrefslogtreecommitdiff
path: root/src/web/app/desktop/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/desktop/scripts')
-rw-r--r--src/web/app/desktop/scripts/fuck-ad-block.ts2
-rw-r--r--src/web/app/desktop/scripts/not-implemented-exception.ts2
-rw-r--r--src/web/app/desktop/scripts/update-avatar.ts4
-rw-r--r--src/web/app/desktop/scripts/update-banner.ts4
4 files changed, 6 insertions, 6 deletions
diff --git a/src/web/app/desktop/scripts/fuck-ad-block.ts b/src/web/app/desktop/scripts/fuck-ad-block.ts
index 8be3c80ea1..ddeb600b6e 100644
--- a/src/web/app/desktop/scripts/fuck-ad-block.ts
+++ b/src/web/app/desktop/scripts/fuck-ad-block.ts
@@ -12,7 +12,7 @@ export default () => {
};
function adBlockDetected() {
- dialog('<i class="fa fa-exclamation-triangle"></i>広告ブロッカーを無効にしてください',
+ dialog('%fa:exclamation-triangle%広告ブロッカーを無効にしてください',
'<strong>Misskeyは広告を掲載していません</strong>が、広告をブロックする機能が有効だと一部の機能が利用できなかったり、不具合が発生する場合があります。',
[{
text: 'OK'
diff --git a/src/web/app/desktop/scripts/not-implemented-exception.ts b/src/web/app/desktop/scripts/not-implemented-exception.ts
index dd00c7662f..b4660fa62f 100644
--- a/src/web/app/desktop/scripts/not-implemented-exception.ts
+++ b/src/web/app/desktop/scripts/not-implemented-exception.ts
@@ -1,7 +1,7 @@
import dialog from './dialog';
export default () => {
- dialog('<i class="fa fa-exclamation-triangle"></i>Not implemented yet',
+ dialog('%fa:exclamation-triangle%Not implemented yet',
'要求された操作は実装されていません。<br>→<a href="https://github.com/syuilo/misskey" target="_blank">Misskeyの開発に参加する</a>', [{
text: 'OK'
}]);
diff --git a/src/web/app/desktop/scripts/update-avatar.ts b/src/web/app/desktop/scripts/update-avatar.ts
index 356f4e6f9d..fea5db80bb 100644
--- a/src/web/app/desktop/scripts/update-avatar.ts
+++ b/src/web/app/desktop/scripts/update-avatar.ts
@@ -63,7 +63,7 @@ export default (I, cb, file = null) => {
api(I, 'i/update', {
avatar_id: file.id
}).then(i => {
- dialog('<i class="fa fa-info-circle"></i>アバターを更新しました',
+ dialog('%fa:info-circle%アバターを更新しました',
'新しいアバターが反映されるまで時間がかかる場合があります。',
[{
text: 'わかった'
@@ -78,7 +78,7 @@ export default (I, cb, file = null) => {
} else {
const browser = (riot as any).mount(document.body.appendChild(document.createElement('mk-select-file-from-drive-window')), {
multiple: false,
- title: '<i class="fa fa-picture-o"></i>アバターにする画像を選択'
+ title: '%fa:image%アバターにする画像を選択'
})[0];
browser.one('selected', file => {
diff --git a/src/web/app/desktop/scripts/update-banner.ts b/src/web/app/desktop/scripts/update-banner.ts
index 1996b75642..325775622d 100644
--- a/src/web/app/desktop/scripts/update-banner.ts
+++ b/src/web/app/desktop/scripts/update-banner.ts
@@ -63,7 +63,7 @@ export default (I, cb, file = null) => {
api(I, 'i/update', {
banner_id: file.id
}).then(i => {
- dialog('<i class="fa fa-info-circle"></i>バナーを更新しました',
+ dialog('%fa:info-circle%バナーを更新しました',
'新しいバナーが反映されるまで時間がかかる場合があります。',
[{
text: 'わかりました。'
@@ -78,7 +78,7 @@ export default (I, cb, file = null) => {
} else {
const browser = (riot as any).mount(document.body.appendChild(document.createElement('mk-select-file-from-drive-window')), {
multiple: false,
- title: '<i class="fa fa-picture-o"></i>バナーにする画像を選択'
+ title: '%fa:image%バナーにする画像を選択'
})[0];
browser.one('selected', file => {