feat(release): 3.3.5 with support of operator voice
This commit is contained in:
@@ -2,6 +2,7 @@ description: !match "~{split('config', 'title' ,' - ')[0]} Live 2D\n~{split('con
|
||||
localization:
|
||||
en-us:
|
||||
ui_notice_title: <hr><h4>📝 Notes</h4><hr>
|
||||
ui_notice_changelog: <span><b>Now supports Operator Voice!</b></span>
|
||||
ui_notice_set_fps: <span><b>Set FPS target in Settings</b></span>
|
||||
ui_notice_github: "Github: https://github.com/Halyul/aklive2d"
|
||||
ui_notice_other_operators: "Previews: https://arknights.halyul.dev/"
|
||||
@@ -28,8 +29,12 @@ localization:
|
||||
ui_subtitle_title: <hr><h4>📑 Subtitle</h4><hr>
|
||||
ui_subtitle_lang: Subtitle Language
|
||||
ui_voice_actor_title: <hr><h4>🗣️ Voice Actor</h4><hr>
|
||||
ui_privacy_title: <hr><h4>📜 Privacy</h4><hr>
|
||||
ui_privacy_text: <span><b>Check out our privacy policy at https://privacy.halyul.dev</b></span>
|
||||
ui_privacy_do_not_track: Send usage data
|
||||
zh-chs:
|
||||
ui_notice_title: <hr><h4>📝 通知</h4><hr>
|
||||
ui_notice_changelog: <span><b>现在支持干员语音! </b></span>
|
||||
ui_notice_set_fps: <span><b>在设置中设定FPS目标</b></span>
|
||||
ui_notice_github: "Github: https://github.com/Halyul/aklive2d"
|
||||
ui_notice_other_operators: "预览: https://arknights.halyul.dev/"
|
||||
@@ -56,10 +61,16 @@ localization:
|
||||
ui_subtitle_title: <hr><h4>📑 字幕</h4><hr>
|
||||
ui_subtitle_lang: 字幕语言
|
||||
ui_voice_actor_title: <hr><h4>🗣️ 声优</h4><hr>
|
||||
ui_privacy_title: <hr><h4>📜 隐私</h4><hr>
|
||||
ui_privacy_text: <span><b>在 https://privacy.halyul.dev 查看我们的隐私政策</b></span>
|
||||
ui_privacy_do_not_track: 发送使用数据
|
||||
properties:
|
||||
- key: notice_title
|
||||
value:
|
||||
text: ui_notice_title
|
||||
- key: notice_changelog
|
||||
value:
|
||||
text: ui_notice_changelog
|
||||
- key: notice_set_fps
|
||||
value:
|
||||
text: ui_notice_set_fps
|
||||
@@ -244,3 +255,14 @@ properties:
|
||||
fraction: false
|
||||
max: 100
|
||||
min: -100
|
||||
- key: privacytitle
|
||||
value:
|
||||
text: ui_privacy_title
|
||||
- key: privacy_text
|
||||
value:
|
||||
text: ui_privacy_text
|
||||
- key: privacydonottrack
|
||||
value:
|
||||
text: ui_privacy_do_not_track
|
||||
type: bool
|
||||
value: true
|
||||
@@ -71,8 +71,9 @@ export default class Settings {
|
||||
}
|
||||
|
||||
insights(isWallpaperEngine, doNotTrack) {
|
||||
if (this.#isInsightsInited || import.meta.env.MODE === 'development') return
|
||||
this.#isInsightsInited = true
|
||||
if (this.#isInsightsInited || doNotTrack || import.meta.env.MODE === 'development') return
|
||||
if (doNotTrack || this.#doNotTrack) return
|
||||
this.#doNotTrack = doNotTrack
|
||||
window.umami?.trackView(`/${import.meta.env.VITE_LINK}${isWallpaperEngine ? "?steam" : ""}`);
|
||||
}
|
||||
|
||||
@@ -5,7 +5,9 @@ window.wallpaperPropertyListener = {
|
||||
}
|
||||
},
|
||||
applyUserProperties: function (properties) {
|
||||
window.settings.insights(true, false)
|
||||
if (properties.privacydonottrack) {
|
||||
window.settings.insights(true, !properties.privacydonottrack.value)
|
||||
}
|
||||
if (properties.logo) {
|
||||
window.settings.setLogoDisplay(!properties.logo.value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user