diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 8c20e37..5a6d06e 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -37,14 +37,6 @@ "equipment": "Equipment", "equipmentProfileName": "Equipment profile name", "equipmentProfileNameHint": "Praktica MTL5B", - "equipmentProfileValuesCount" : "{count, plural, zero{0 values} one{1 value} other{{count} values}}", - "@equipmentProfileValuesCount": { - "placeholders": { - "count": { - "type": "int" - } - } - }, "equipmentProfileAllValues": "All", "apertureValues": "Aperture values", "apertureValuesFilterDescription": "Select the range of aperture values to display. This is usually determined by the lens you are using.", @@ -54,6 +46,7 @@ "shutterSpeedValuesFilterDescription": "Select the range of shutter speed values to display. This is usually determined by the camera body you are using.", "isoValues": "ISO values", "isoValuesFilterDescription": "Select the ISO values to display. These may be your most commonly used values or those supported by your camera.", + "equipmentProfile": "Equipment profile", "equipmentProfiles": "Equipment profiles", "general": "General", "keepScreenOn": "Keep screen on", diff --git a/lib/screens/metering/components/shared/readings_container/widget_container_readings.dart b/lib/screens/metering/components/shared/readings_container/widget_container_readings.dart index 424adbb..88b86f9 100644 --- a/lib/screens/metering/components/shared/readings_container/widget_container_readings.dart +++ b/lib/screens/metering/components/shared/readings_container/widget_container_readings.dart @@ -99,14 +99,14 @@ class _EquipmentProfilePicker extends StatelessWidget { @override Widget build(BuildContext context) { return AnimatedDialogPicker( - title: S.of(context).equipmentProfiles, + title: S.of(context).equipmentProfile, selectedValue: selectedValue, values: values, itemTitleBuilder: (_, value) => Text(value.id.isEmpty ? S.of(context).none : value.name), onChanged: onChanged, closedChild: ReadingValueContainer.singleValue( value: ReadingValue( - label: S.of(context).equipmentProfiles, + label: S.of(context).equipmentProfile, value: selectedValue.id.isEmpty ? S.of(context).none : selectedValue.name, ), ), diff --git a/lib/screens/settings/components/metering/components/equipment_profiles/components/equipment_profile_screen/components/equipment_profile_container/components/equipment_list_tiles/widget_list_tiles_equipments.dart b/lib/screens/settings/components/metering/components/equipment_profiles/components/equipment_profile_screen/components/equipment_profile_container/components/equipment_list_tiles/widget_list_tiles_equipments.dart index 411530c..38f25e8 100644 --- a/lib/screens/settings/components/metering/components/equipment_profiles/components/equipment_profile_screen/components/equipment_profile_container/components/equipment_list_tiles/widget_list_tiles_equipments.dart +++ b/lib/screens/settings/components/metering/components/equipment_profiles/components/equipment_profile_screen/components/equipment_profile_container/components/equipment_list_tiles/widget_list_tiles_equipments.dart @@ -38,7 +38,7 @@ class EquipmentListTiles extends StatelessWidget { values: isoValues, valuesCount: selectedIsoValues.length == isoValues.length ? S.of(context).equipmentProfileAllValues - : S.of(context).equipmentProfileValuesCount(selectedIsoValues.length), + : selectedIsoValues.length.toString(), selectedValues: selectedIsoValues, rangeSelect: false, onChanged: onIsoValuesSelecred, @@ -50,7 +50,7 @@ class EquipmentListTiles extends StatelessWidget { values: ndValues, valuesCount: selectedNdValues.length == ndValues.length ? S.of(context).equipmentProfileAllValues - : S.of(context).equipmentProfileValuesCount(selectedNdValues.length), + : selectedNdValues.length.toString(), selectedValues: selectedNdValues, rangeSelect: false, onChanged: onNdValuesSelected, @@ -62,7 +62,7 @@ class EquipmentListTiles extends StatelessWidget { values: apertureValues, valuesCount: selectedApertureValues.length == apertureValues.length ? S.of(context).equipmentProfileAllValues - : S.of(context).equipmentProfileValuesCount(selectedApertureValues.length), + : selectedApertureValues.length.toString(), selectedValues: selectedApertureValues, rangeSelect: true, onChanged: onApertureValuesSelected, @@ -74,7 +74,7 @@ class EquipmentListTiles extends StatelessWidget { values: shutterSpeedValues, valuesCount: selectedShutterSpeedValues.length == shutterSpeedValues.length ? S.of(context).equipmentProfileAllValues - : S.of(context).equipmentProfileValuesCount(selectedShutterSpeedValues.length), + : selectedShutterSpeedValues.length.toString(), selectedValues: selectedShutterSpeedValues, rangeSelect: true, onChanged: onShutterSpeedValuesSelected,