[mobile][photos]Rediscovery tab fixes (#1003)

## Description

Changed,
1. Section title in the discovery page
2. Page title in the page that pops up on tapping the > next to the
header on the discovery page

for Location and Description section.
This commit is contained in:
Vishnu Mohandas 2024-03-11 15:24:33 +05:30 committed by GitHub
commit fb2abd8afc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 58 additions and 14 deletions

View file

@ -6919,6 +6919,16 @@ class S {
);
}
/// `Descriptions`
String get descriptions {
return Intl.message(
'Descriptions',
name: 'descriptions',
desc: '',
args: [],
);
}
/// `File types and names`
String get fileTypesAndNames {
return Intl.message(
@ -6939,6 +6949,16 @@ class S {
);
}
/// `Locations`
String get locations {
return Intl.message(
'Locations',
name: 'locations',
desc: '',
args: [],
);
}
/// `Moments`
String get moments {
return Intl.message(

View file

@ -11,5 +11,7 @@
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -1178,5 +1178,7 @@
"changeLocationOfSelectedItems": "Standort der gewählten Elemente ändern?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Änderungen des Standorts werden nur in ente sichtbar sein",
"cleanUncategorized": "Unkategorisiert leeren",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -1197,5 +1197,7 @@
"deviceNotFound": "Device not found",
"castInstruction": "Visit cast.ente.io on the device you want to pair.\n\nEnter the code below to play the album on your TV.",
"deviceCodeHint": "Enter the code",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -973,5 +973,7 @@
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -1154,5 +1154,7 @@
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -1116,5 +1116,7 @@
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -11,5 +11,7 @@
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -1192,5 +1192,7 @@
"deviceNotFound": "Apparaat niet gevonden",
"castInstruction": "Bezoek cast.ente.io op het apparaat dat u wilt koppelen.\n\nVoer de code hieronder in om het album op uw TV af te spelen.",
"deviceCodeHint": "Voer de code in",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -25,5 +25,7 @@
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -112,5 +112,7 @@
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
"joinDiscord": "Join Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -1196,5 +1196,7 @@
"deviceNotFound": "Dispositivo não encontrado",
"castInstruction": "Visite cast.ente.io no dispositivo que você deseja parear.\n\ndigite o código abaixo para reproduzir o álbum em sua TV.",
"deviceCodeHint": "Insira o código",
"joinDiscord": "Junte-se ao Discord"
"joinDiscord": "Junte-se ao Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -1196,5 +1196,7 @@
"deviceNotFound": "未发现设备",
"castInstruction": "在您要配对的设备上访问 cast.ente.io。\n输入下面的代码即可在电视上播放相册。",
"deviceCodeHint": "输入代码",
"joinDiscord": "加入 Discord"
"joinDiscord": "加入 Discord",
"locations": "Locations",
"descriptions": "Descriptions"
}

View file

@ -61,7 +61,7 @@ extension SectionTypeExtensions on SectionType {
case SectionType.moment:
return S.of(context).moments;
case SectionType.location:
return S.of(context).location;
return S.of(context).locations;
case SectionType.contacts:
return S.of(context).contacts;
case SectionType.album:
@ -69,7 +69,7 @@ extension SectionTypeExtensions on SectionType {
case SectionType.fileTypesAndExtension:
return S.of(context).fileTypes;
case SectionType.fileCaption:
return S.of(context).photoDescriptions;
return S.of(context).descriptions;
}
}