Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

プレミアム音声はロスレスではなくなった #3612

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion android/app/src/main/assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"reportSuccessText": "Your feedback has been successfully completed.",
"reportConfirmText": "The TrainLCD app is developed by a single individual. Depending on the content of your feedback, we may not be able to respond or may take some time to respond. Also, please refrain from sending multiple submissions with the same content. Please only send feedback if you understand the situation.",
"ttsAlertText": "The automatic announcement feature does not work in silent mode or when the Internet is not connected. Please be careful.",
"losslessAlertText": "Enabling premium voice announcements increases data traffic. Please Be careful.",
"weekdayNotice": "Weekday transit stations are included. The corresponding station will be displayed as a passage. Please be careful.",
"holidayNotice": "Includes holiday transit stations. The corresponding station will be displayed as a passage. Please Be careful.",
"shareNotice": "Press and hold the screen for easy sharing😊.",
Expand Down
1 change: 0 additions & 1 deletion android/app/src/main/assets/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
"reportSuccessText": "フィードバックが正常に完了しました。アプリ開発へのご協力ありがとうございます。",
"reportConfirmText": "TrainLCDアプリは一個人が開発している個人開発アプリです。フィードバックの内容によっては対応できない場合や、対応にお時間をいただく可能性があります。また、同じ内容での複数送信もご遠慮ください。ご理解いただける場合のみ送信をお願いします。",
"ttsAlertText": "自動アナウンス機能はマナーモードもしくはインターネット未接続状態では動作いたしません。ご注意ください。",
"losslessAlertText": "プレミアム音声を有効にするとデータ通信量が増えます。ご注意ください。",
"weekdayNotice": "平日通過の駅が含まれています。該当の駅は通過表示となります。ご注意ください。",
"holidayNotice": "休日通過の駅が含まれています。該当の駅は通過表示となります。ご注意ください。",
"shareNotice": "画面を長押しすると簡単にシェアができます😊",
Expand Down
1 change: 0 additions & 1 deletion ios/TrainLCD/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"reportSuccessText": "Your feedback has been successfully completed. Thank you for your cooperation in developing this app.",
"reportConfirmText": "The TrainLCD app is developed by a single individual. Depending on the content of your feedback, we may not be able to respond or may take some time to respond. Also, please refrain from sending multiple submissions with the same content. Please only send feedback if you understand the situation.",
"ttsAlertText": "The automatic announcement feature does not work in silent mode or when the Internet is not connected. Please be careful.",
"losslessAlertText": "Enabling premium voice announcements increases data traffic. Please Be careful.",
"weekdayNotice": "Weekday transit stations are included. The corresponding station will be displayed as a passage. Please be careful.",
"holidayNotice": "Includes holiday transit stations. The corresponding station will be displayed as a passage. Please be careful.",
"shareNotice": "Press and hold the screen for easy sharing😊.",
Expand Down
1 change: 0 additions & 1 deletion ios/TrainLCD/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
"reportSuccessText": "フィードバックが正常に完了しました。アプリ開発へのご協力ありがとうございます",
"reportConfirmText": "TrainLCDアプリは一個人が開発している個人開発アプリです。フィードバックの内容によっては対応できない場合や、対応にお時間をいただく可能性があります。また、同じ内容での複数送信もご遠慮ください。ご理解いただける場合のみ送信をお願いします。",
"ttsAlertText": "自動アナウンス機能はマナーモードもしくはインターネット未接続状態では動作いたしません。ご注意ください。",
"losslessAlertText": "プレミアム音声を有効にするとデータ通信量が増えます。ご注意ください。",
"weekdayNotice": "平日通過の駅が含まれています。該当の駅は通過表示となります。ご注意ください。",
"holidayNotice": "休日通過の駅が含まれています。該当の駅は通過表示となります。ご注意ください。",
"shareNotice": "画面を長押しすると簡単にシェアができます😊",
Expand Down
1 change: 0 additions & 1 deletion src/constants/asyncStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const ASYNC_STORAGE_KEYS = {
// QA
QA_SPEECH_ENABLED: '@TrainLCD:qaSpeechEnabled',
QA_LOSSLESS_ENABLED: '@TrainLCD:qaLosslessEnabled',
QA_LOSSLESS_NOTICE: '@TrainLCD:qaLosslessNotice',
QA_TTS_NOTICE: '@TrainLCD:qaTtsNotice',
QA_BG_TTS_ENABLED: '@TrainLCD:qaBgTtsEnabled',
} as const
Expand Down
21 changes: 0 additions & 21 deletions src/screens/AppSettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,27 +95,6 @@ const AppSettingsScreen: React.FC = () => {

const onLosslessAudioEnabledValueChange = useCallback(
async (flag: boolean) => {
const losslessNoticeConfirmed = await AsyncStorage.getItem(
ASYNC_STORAGE_KEYS.QA_LOSSLESS_NOTICE
)
if (flag && losslessNoticeConfirmed === null) {
Alert.alert(translate('warning'), translate('losslessAlertText'), [
{
text: translate('dontShowAgain'),
style: 'cancel',
onPress: async (): Promise<void> => {
await AsyncStorage.setItem(
ASYNC_STORAGE_KEYS.QA_LOSSLESS_NOTICE,
'true'
)
},
},
{
text: 'OK',
},
])
}

await AsyncStorage.setItem(
ASYNC_STORAGE_KEYS.QA_LOSSLESS_ENABLED,
flag ? 'true' : 'false'
Expand Down
Loading