feat: use wx.createUserInfoButton to get weixin's avarta
This commit is contained in:
+11
-14
@@ -21,7 +21,6 @@ module.exports = {
|
||||
// Menu Scene
|
||||
// ============================================================
|
||||
'menu.title': 'Tank Adventure',
|
||||
'profile.welcome': 'Welcome {name}!',
|
||||
'menu.subtitle': 'TANK WAR',
|
||||
'menu.classic': 'Classic',
|
||||
'menu.endless': 'Endless',
|
||||
@@ -31,8 +30,8 @@ module.exports = {
|
||||
'menu.skin': 'Skins',
|
||||
'menu.ranking': 'Ranking',
|
||||
'menu.settings': 'Settings',
|
||||
'menu.profile': 'Profile',
|
||||
'menu.chat': 'Chat',
|
||||
'menu.tapToAuth': 'Tap to authorize',
|
||||
|
||||
// ============================================================
|
||||
// Room Scene (PVP)
|
||||
@@ -209,7 +208,6 @@ module.exports = {
|
||||
'settings.sound': 'Sound',
|
||||
'settings.music': 'Music',
|
||||
'settings.vibration': 'Vibration',
|
||||
'settings.profile': 'Profile',
|
||||
|
||||
// ============================================================
|
||||
// Shop Scene (Simplified)
|
||||
@@ -229,17 +227,6 @@ module.exports = {
|
||||
|
||||
|
||||
|
||||
// ============================================================
|
||||
// Profile Scene
|
||||
// ============================================================
|
||||
'profile.title': 'Profile',
|
||||
'profile.nickname': 'Nickname',
|
||||
'profile.signature': 'Signature',
|
||||
'profile.description': 'Space Description',
|
||||
'profile.changeAvatar': 'Change Avatar',
|
||||
'profile.tapToEdit': 'Tap to edit',
|
||||
'profile.save': 'Save',
|
||||
|
||||
// ============================================================
|
||||
// Chat Room Scene
|
||||
// ============================================================
|
||||
@@ -333,4 +320,14 @@ module.exports = {
|
||||
'skin.owned': 'Owned',
|
||||
'skin.equipSuccess': '✓ Skin equipped!',
|
||||
'skin.purchaseSuccess': '✓ Skin unlocked!',
|
||||
|
||||
// ============================================================
|
||||
// Privacy Authorization
|
||||
// ============================================================
|
||||
'privacy.title': 'Privacy Notice',
|
||||
'privacy.body': 'To display your nickname and avatar in the game, we need access to your WeChat basic info.\n\nYou can review the Privacy Policy to understand how your data is used.\n\nIf you decline, you will play anonymously.',
|
||||
'privacy.policyLink': '👉 View Privacy Policy',
|
||||
'privacy.agree': 'Agree',
|
||||
'privacy.decline': 'Decline',
|
||||
'privacy.footer': 'Your info is only used for in-game display and never shared with third parties',
|
||||
};
|
||||
|
||||
+11
-14
@@ -21,7 +21,6 @@ module.exports = {
|
||||
// Menu Scene
|
||||
// ============================================================
|
||||
'menu.title': '坦克探险',
|
||||
'profile.welcome': '欢迎 {name}!',
|
||||
'menu.subtitle': '经典坦克对战',
|
||||
'menu.classic': '经典模式',
|
||||
'menu.endless': '无尽模式',
|
||||
@@ -31,8 +30,8 @@ module.exports = {
|
||||
'menu.skin': '皮肤',
|
||||
'menu.ranking': '排行榜',
|
||||
'menu.settings': '设置',
|
||||
'menu.profile': '个人资料',
|
||||
'menu.chat': '聊天室',
|
||||
'menu.tapToAuth': '点击授权头像',
|
||||
|
||||
// ============================================================
|
||||
// Room Scene (PVP)
|
||||
@@ -209,7 +208,6 @@ module.exports = {
|
||||
'settings.sound': '音效',
|
||||
'settings.music': '音乐',
|
||||
'settings.vibration': '振动',
|
||||
'settings.profile': '个人资料',
|
||||
|
||||
// ============================================================
|
||||
// Shop Scene (Simplified)
|
||||
@@ -229,17 +227,6 @@ module.exports = {
|
||||
|
||||
|
||||
|
||||
// ============================================================
|
||||
// Profile Scene
|
||||
// ============================================================
|
||||
'profile.title': '个人资料',
|
||||
'profile.nickname': '昵称',
|
||||
'profile.signature': '个性签名',
|
||||
'profile.description': '个人空间描述',
|
||||
'profile.changeAvatar': '更换头像',
|
||||
'profile.tapToEdit': '点击编辑',
|
||||
'profile.save': '保存',
|
||||
|
||||
// ============================================================
|
||||
// Chat Room Scene
|
||||
// ============================================================
|
||||
@@ -333,4 +320,14 @@ module.exports = {
|
||||
'skin.owned': '已拥有',
|
||||
'skin.equipSuccess': '✓ 已装备!',
|
||||
'skin.purchaseSuccess': '✓ 已解锁!',
|
||||
|
||||
// ============================================================
|
||||
// Privacy Authorization
|
||||
// ============================================================
|
||||
'privacy.title': '用户隐私保护提示',
|
||||
'privacy.body': '为了在游戏中展示你的昵称和头像,我们需要使用你的微信基本信息。\n\n你可以在《隐私政策》中了解具体的信息使用方式和范围。\n\n如果你不同意,将以匿名身份参与游戏。',
|
||||
'privacy.policyLink': '👉 查看《隐私政策》',
|
||||
'privacy.agree': '同意',
|
||||
'privacy.decline': '不同意',
|
||||
'privacy.footer': '同意后仅用于游戏内展示,不会向第三方提供',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user