Relabel photobooth uploader mode
This commit is contained in:
@@ -1175,8 +1175,8 @@
|
||||
"credentials": {
|
||||
"heading": "FTP-Zugangsdaten",
|
||||
"description": "Teile die Zugangsdaten mit eurer Photobooth-Software.",
|
||||
"sparkboothTitle": "Sparkbooth-Upload (HTTP)",
|
||||
"sparkboothDescription": "Trage URL, Benutzername und Passwort in Sparkbooth ein. Antworten sind JSON (optional XML).",
|
||||
"sparkboothTitle": "Uploader-App (HTTP)",
|
||||
"sparkboothDescription": "Trage URL, Benutzername und Passwort in die Fotospiel-Uploader-App ein. Antworten sind JSON (optional XML).",
|
||||
"host": "Host",
|
||||
"port": "Port",
|
||||
"username": "Benutzername",
|
||||
|
||||
@@ -888,8 +888,8 @@
|
||||
"credentials": {
|
||||
"heading": "FTP credentials",
|
||||
"description": "Share these credentials with your photobooth software.",
|
||||
"sparkboothTitle": "Sparkbooth upload (HTTP)",
|
||||
"sparkboothDescription": "Enter URL, username and password in Sparkbooth. Responses default to JSON (XML optional).",
|
||||
"sparkboothTitle": "Uploader App (HTTP)",
|
||||
"sparkboothDescription": "Enter URL, username and password in the Fotospiel uploader app. Responses default to JSON (XML optional).",
|
||||
"host": "Host",
|
||||
"port": "Port",
|
||||
"username": "Username",
|
||||
|
||||
@@ -165,7 +165,7 @@ export default function MobileEventPhotoboothPage() {
|
||||
|
||||
const modeLabel =
|
||||
activeMode === 'sparkbooth'
|
||||
? t('photobooth.credentials.sparkboothTitle', 'Sparkbooth / HTTP')
|
||||
? t('photobooth.credentials.sparkboothTitle', 'Uploader App (HTTP)')
|
||||
: t('photobooth.credentials.heading', 'FTP (Classic)');
|
||||
|
||||
const isActive = Boolean(status?.enabled);
|
||||
@@ -267,7 +267,7 @@ export default function MobileEventPhotoboothPage() {
|
||||
<Text fontSize="$xs" color={muted}>
|
||||
{t(
|
||||
'photobooth.selector.description',
|
||||
'FTP (Classic) works with most booths. Sparkbooth uses HTTP POST without FTP.'
|
||||
'FTP (Classic) works with most booths. The Uploader App uses HTTP POST without FTP.'
|
||||
)}
|
||||
</Text>
|
||||
<XStack space="$2" marginTop="$2" flexWrap="nowrap">
|
||||
@@ -282,7 +282,7 @@ export default function MobileEventPhotoboothPage() {
|
||||
</XStack>
|
||||
<XStack flex={1} minWidth={0}>
|
||||
<CTAButton
|
||||
label={t('photobooth.mode.sparkbooth', 'Sparkbooth (HTTP POST)')}
|
||||
label={t('photobooth.mode.sparkbooth', 'Uploader App (HTTP)')}
|
||||
tone={activeMode === 'sparkbooth' ? 'primary' : 'ghost'}
|
||||
onPress={() => setSelectedMode('sparkbooth')}
|
||||
disabled={updating}
|
||||
@@ -295,7 +295,7 @@ export default function MobileEventPhotoboothPage() {
|
||||
<MobileCard space="$2">
|
||||
<XStack alignItems="center" justifyContent="space-between">
|
||||
<Text fontSize="$sm" fontWeight="700" color={text}>
|
||||
{isSpark ? t('photobooth.credentials.sparkboothTitle', 'Sparkbooth upload (HTTP)') : t('photobooth.credentials.heading', 'FTP credentials')}
|
||||
{isSpark ? t('photobooth.credentials.sparkboothTitle', 'Uploader App (HTTP)') : t('photobooth.credentials.heading', 'FTP credentials')}
|
||||
</Text>
|
||||
{!isSpark && ftp?.require_ftps ? <PillBadge tone="warning">{t('photobooth.credentials.ftps', 'FTPS required')}</PillBadge> : null}
|
||||
</XStack>
|
||||
@@ -307,7 +307,7 @@ export default function MobileEventPhotoboothPage() {
|
||||
<CredentialRow label={t('photobooth.credentials.password', 'Password')} value={password ?? '—'} border={border} masked />
|
||||
<CredentialRow label={t('photobooth.sparkbooth.format', 'Response format')} value={responseFormat.toUpperCase()} border={border} />
|
||||
<Text fontSize="$xs" color={muted}>
|
||||
{t('photobooth.sparkbooth.hint', 'POST with media file or base64 "media" field; username/password required.')}
|
||||
{t('photobooth.sparkbooth.hint', 'POST with media file or base64 "media" field; app uses these credentials.')}
|
||||
</Text>
|
||||
<YStack space="$2" marginTop="$2">
|
||||
<Text fontSize="$xs" color={muted}>
|
||||
|
||||
Reference in New Issue
Block a user