mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-01 20:53:45 +02:00
Correction of VRChat Credit terminology
This commit is contained in:
@@ -22412,26 +22412,26 @@ speechSynthesis.getVoices();
|
|||||||
};
|
};
|
||||||
|
|
||||||
// #endregion
|
// #endregion
|
||||||
// #region | V-Bucks
|
// #region | VRChat Credits
|
||||||
|
|
||||||
API.$on('VBUCKS', function (args) {
|
API.$on('VRCCREDITS', function (args) {
|
||||||
this.currentUser.$vbucks = args.json?.balance;
|
this.currentUser.$getVRChatCredits = args.json?.balance;
|
||||||
});
|
});
|
||||||
|
|
||||||
API.getVbucks = function () {
|
API.getVRChatCredits = function () {
|
||||||
return this.call(`user/${this.currentUser.id}/balance`, {
|
return this.call(`user/${this.currentUser.id}/balance`, {
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
}).then((json) => {
|
}).then((json) => {
|
||||||
var args = {
|
var args = {
|
||||||
json
|
json
|
||||||
};
|
};
|
||||||
this.$emit('VBUCKS', args);
|
this.$emit('VRCCREDITS', args);
|
||||||
return args;
|
return args;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$app.methods.getVbucks = function () {
|
$app.methods.getVRChatCredits = function () {
|
||||||
API.getVbucks();
|
API.getVRChatCredits();
|
||||||
};
|
};
|
||||||
|
|
||||||
// #endregion
|
// #endregion
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ export default class extends baseClass {
|
|||||||
$languages: [],
|
$languages: [],
|
||||||
$locationTag: '',
|
$locationTag: '',
|
||||||
$travelingToLocation: '',
|
$travelingToLocation: '',
|
||||||
$vbucks: null,
|
$vrchatcredits: null,
|
||||||
...json
|
...json
|
||||||
};
|
};
|
||||||
ref.$homeLocation = $app.parseLocation(ref.homeLocation);
|
ref.$homeLocation = $app.parseLocation(ref.homeLocation);
|
||||||
|
|||||||
@@ -157,7 +157,7 @@
|
|||||||
"two_factor": "Two-Factor Auth (2FA)",
|
"two_factor": "Two-Factor Auth (2FA)",
|
||||||
"two_factor_enabled": "Enabled",
|
"two_factor_enabled": "Enabled",
|
||||||
"two_factor_disabled": "Disabled",
|
"two_factor_disabled": "Disabled",
|
||||||
"v_bucks": "V-Bucks",
|
"vrchat_credits": "VRChat Credits",
|
||||||
"refresh": "Click to refresh",
|
"refresh": "Click to refresh",
|
||||||
"logout": "Logout",
|
"logout": "Logout",
|
||||||
"manage_gallery_icon": "Manage Photos/Icons/Emojis/Stickers",
|
"manage_gallery_icon": "Manage Photos/Icons/Emojis/Stickers",
|
||||||
|
|||||||
@@ -156,7 +156,7 @@
|
|||||||
"two_factor": "Autenticación de doble factor (2FA)",
|
"two_factor": "Autenticación de doble factor (2FA)",
|
||||||
"two_factor_enabled": "Habilitado",
|
"two_factor_enabled": "Habilitado",
|
||||||
"two_factor_disabled": "Deshabilitado",
|
"two_factor_disabled": "Deshabilitado",
|
||||||
"v_bucks": "V-Bucks",
|
"vrchat_credits": "Créditos de VRChat",
|
||||||
"refresh": "Clic para actualizar",
|
"refresh": "Clic para actualizar",
|
||||||
"logout": "Cerrar sesión",
|
"logout": "Cerrar sesión",
|
||||||
"manage_gallery_icon": "Administrar Fotos/Iconos/Emojis",
|
"manage_gallery_icon": "Administrar Fotos/Iconos/Emojis",
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
"two_factor": "Authentification à double facteurs (2FA)",
|
"two_factor": "Authentification à double facteurs (2FA)",
|
||||||
"two_factor_enabled": "Activé",
|
"two_factor_enabled": "Activé",
|
||||||
"two_factor_disabled": "Désactivé",
|
"two_factor_disabled": "Désactivé",
|
||||||
"v_bucks": "Crédits VRChat",
|
"vrchat_credits": "Crédits VRChat",
|
||||||
"refresh": "Cliquez pour actualiser",
|
"refresh": "Cliquez pour actualiser",
|
||||||
"logout": "Se déconnecter",
|
"logout": "Se déconnecter",
|
||||||
"manage_gallery_icon": "Gérer les Photos/Icônes/Emojis",
|
"manage_gallery_icon": "Gérer les Photos/Icônes/Emojis",
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
"two_factor": "Kétlépcsős hitelesítés (2FA)",
|
"two_factor": "Kétlépcsős hitelesítés (2FA)",
|
||||||
"two_factor_enabled": "Bekapcsolva",
|
"two_factor_enabled": "Bekapcsolva",
|
||||||
"two_factor_disabled": "Kikapcsolva",
|
"two_factor_disabled": "Kikapcsolva",
|
||||||
"v_bucks": "V-Buckok",
|
"vrchat_credits": "VRChat-kreditek",
|
||||||
"refresh": "Kattints ide a frissítéshez",
|
"refresh": "Kattints ide a frissítéshez",
|
||||||
"logout": "Kijelentkezés",
|
"logout": "Kijelentkezés",
|
||||||
"manage_gallery_icon": "Képek/ikonok/emojik kezelése",
|
"manage_gallery_icon": "Képek/ikonok/emojik kezelése",
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
"two_factor": "2段階認証 (2FA)",
|
"two_factor": "2段階認証 (2FA)",
|
||||||
"two_factor_enabled": "有効",
|
"two_factor_enabled": "有効",
|
||||||
"two_factor_disabled": "無効",
|
"two_factor_disabled": "無効",
|
||||||
"v_bucks": "V-Bucks",
|
"vrchat_credits": "VRChatクレジット",
|
||||||
"refresh": "クリックして更新",
|
"refresh": "クリックして更新",
|
||||||
"logout": "ログアウト",
|
"logout": "ログアウト",
|
||||||
"manage_gallery_icon": "写真/アイコン/絵文字を管理",
|
"manage_gallery_icon": "写真/アイコン/絵文字を管理",
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
"two_factor": "2단계 인증 (2FA)",
|
"two_factor": "2단계 인증 (2FA)",
|
||||||
"two_factor_enabled": "사용",
|
"two_factor_enabled": "사용",
|
||||||
"two_factor_disabled": "사용 안 함",
|
"two_factor_disabled": "사용 안 함",
|
||||||
"v_bucks": "V-Bucks",
|
"vrchat_credits": "VRChat 크레딧",
|
||||||
"refresh": "새로고침",
|
"refresh": "새로고침",
|
||||||
"logout": "로그아웃",
|
"logout": "로그아웃",
|
||||||
"manage_gallery_icon": "Manage Photos/Icons/Emojis",
|
"manage_gallery_icon": "Manage Photos/Icons/Emojis",
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
"two_factor": "Autoryzacja dwuetapowa (2FA)",
|
"two_factor": "Autoryzacja dwuetapowa (2FA)",
|
||||||
"two_factor_enabled": "Włączona",
|
"two_factor_enabled": "Włączona",
|
||||||
"two_factor_disabled": "Wyłączona",
|
"two_factor_disabled": "Wyłączona",
|
||||||
"v_bucks": "Kredyty VRChat",
|
"vrchat_credits": "Kredyty VRChat",
|
||||||
"refresh": "Kliknij, aby odświeżyć",
|
"refresh": "Kliknij, aby odświeżyć",
|
||||||
"logout": "Wyloguj się",
|
"logout": "Wyloguj się",
|
||||||
"manage_gallery_icon": "Zarządzaj obrazkami/ikonami/emoji",
|
"manage_gallery_icon": "Zarządzaj obrazkami/ikonami/emoji",
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
"two_factor": "Autenticação de Dois Fatores (2FA)",
|
"two_factor": "Autenticação de Dois Fatores (2FA)",
|
||||||
"two_factor_enabled": "Ativado",
|
"two_factor_enabled": "Ativado",
|
||||||
"two_factor_disabled": "Desativado",
|
"two_factor_disabled": "Desativado",
|
||||||
"v_bucks": "V-Bucks",
|
"vrchat_credits": "Créditos do VRChat",
|
||||||
"refresh": "Clique para atualizar",
|
"refresh": "Clique para atualizar",
|
||||||
"logout": "Encerrar Sessão",
|
"logout": "Encerrar Sessão",
|
||||||
"manage_gallery_icon": "Gerenciar Fotos/Icones/Emojis",
|
"manage_gallery_icon": "Gerenciar Fotos/Icones/Emojis",
|
||||||
|
|||||||
@@ -156,7 +156,7 @@
|
|||||||
"two_factor": "Двухфакторная аутентификация (2FA)",
|
"two_factor": "Двухфакторная аутентификация (2FA)",
|
||||||
"two_factor_enabled": "Включена",
|
"two_factor_enabled": "Включена",
|
||||||
"two_factor_disabled": "Выключено",
|
"two_factor_disabled": "Выключено",
|
||||||
"v_bucks": "VRChat Кредиты",
|
"vrchat_credits": "VRChat Кредиты",
|
||||||
"refresh": "Нажмите, чтобы обновить",
|
"refresh": "Нажмите, чтобы обновить",
|
||||||
"logout": "Выйти",
|
"logout": "Выйти",
|
||||||
"manage_gallery_icon": "Управление Фото/Иконки/Эмодзи",
|
"manage_gallery_icon": "Управление Фото/Иконки/Эмодзи",
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
"two_factor": "Xác thực 2 bưới (2FA)",
|
"two_factor": "Xác thực 2 bưới (2FA)",
|
||||||
"two_factor_enabled": "Bật",
|
"two_factor_enabled": "Bật",
|
||||||
"two_factor_disabled": "Tắt",
|
"two_factor_disabled": "Tắt",
|
||||||
"v_bucks": "V-Bucks",
|
"vrchat_credits": "Tín dụng VRChat",
|
||||||
"refresh": "Bấm để làm mới",
|
"refresh": "Bấm để làm mới",
|
||||||
"logout": "Đăng xuất",
|
"logout": "Đăng xuất",
|
||||||
"manage_gallery_icon": "Quản lý Ảnh/Icons/Emojis",
|
"manage_gallery_icon": "Quản lý Ảnh/Icons/Emojis",
|
||||||
|
|||||||
@@ -157,7 +157,7 @@
|
|||||||
"two_factor": "双重认证 (2FA)",
|
"two_factor": "双重认证 (2FA)",
|
||||||
"two_factor_enabled": "已启用",
|
"two_factor_enabled": "已启用",
|
||||||
"two_factor_disabled": "已停用",
|
"two_factor_disabled": "已停用",
|
||||||
"v_bucks": "拥有的 VRChat 点数",
|
"vrchat_credits": "拥有的 VRChat 点数",
|
||||||
"refresh": "点击以刷新",
|
"refresh": "点击以刷新",
|
||||||
"logout": "退出登录",
|
"logout": "退出登录",
|
||||||
"manage_gallery_icon": "管理上传的图片/图标/表情",
|
"manage_gallery_icon": "管理上传的图片/图标/表情",
|
||||||
|
|||||||
@@ -157,7 +157,7 @@
|
|||||||
"two_factor": "雙重認證 (2FA)",
|
"two_factor": "雙重認證 (2FA)",
|
||||||
"two_factor_enabled": "已啟用",
|
"two_factor_enabled": "已啟用",
|
||||||
"two_factor_disabled": "已停用",
|
"two_factor_disabled": "已停用",
|
||||||
"v_bucks": "V-Bucks",
|
"vrchat_credits": "擁有的 VRChat 點數",
|
||||||
"refresh": "點擊以重新整理",
|
"refresh": "點擊以重新整理",
|
||||||
"logout": "登出",
|
"logout": "登出",
|
||||||
"manage_gallery_icon": "管理相簿 / 圖示 / 表情符號",
|
"manage_gallery_icon": "管理相簿 / 圖示 / 表情符號",
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ mixin profileTab()
|
|||||||
.detail
|
.detail
|
||||||
span.name {{ $t('view.profile.profile.two_factor') }}
|
span.name {{ $t('view.profile.profile.two_factor') }}
|
||||||
span.extra {{ API.currentUser.twoFactorAuthEnabled ? $t('view.profile.profile.two_factor_enabled') : $t('view.profile.profile.two_factor_disabled') }}
|
span.extra {{ API.currentUser.twoFactorAuthEnabled ? $t('view.profile.profile.two_factor_enabled') : $t('view.profile.profile.two_factor_disabled') }}
|
||||||
.x-friend-item(@click="getVbucks()")
|
.x-friend-item(@click="getVRChatCredits()")
|
||||||
.detail
|
.detail
|
||||||
span.name {{ $t('view.profile.profile.v_bucks') }}
|
span.name {{ $t('view.profile.profile.vrchat_credits') }}
|
||||||
span.extra {{ API.currentUser.$vbucks ?? $t('view.profile.profile.refresh') }}
|
span.extra {{ API.currentUser.$vrchatcredits ?? $t('view.profile.profile.refresh') }}
|
||||||
div(style="margin-top:10px")
|
div(style="margin-top:10px")
|
||||||
el-button(size="small" type="danger" plain icon="el-icon-switch-button" @click="logout()" style="margin-left:0;margin-right:5px;margin-top:10px;") {{ $t('view.profile.profile.logout') }}
|
el-button(size="small" type="danger" plain icon="el-icon-switch-button" @click="logout()" style="margin-left:0;margin-right:5px;margin-top:10px;") {{ $t('view.profile.profile.logout') }}
|
||||||
el-button(size="small" icon="el-icon-picture-outline" @click="showGalleryDialog()" style="margin-left:0;margin-right:5px;margin-top:10px") {{ $t('view.profile.profile.manage_gallery_icon') }}
|
el-button(size="small" icon="el-icon-picture-outline" @click="showGalleryDialog()" style="margin-left:0;margin-right:5px;margin-top:10px") {{ $t('view.profile.profile.manage_gallery_icon') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user