diff --git a/app/Http/Resources/Models/Utils/PreComputedPhotoData.php b/app/Http/Resources/Models/Utils/PreComputedPhotoData.php
index 2e14d1fc3f6..8a141365a32 100644
--- a/app/Http/Resources/Models/Utils/PreComputedPhotoData.php
+++ b/app/Http/Resources/Models/Utils/PreComputedPhotoData.php
@@ -9,6 +9,7 @@
namespace App\Http\Resources\Models\Utils;
use App\Models\Photo;
+use Illuminate\Support\Facades\Auth;
use Spatie\LaravelData\Data;
use Spatie\TypeScriptTransformer\Attributes\TypeScript;
@@ -40,9 +41,7 @@ public function __construct(Photo $photo, bool $include_exif_data)
}
$this->has_exif = $this->genExifHash($photo) !== '';
$this->has_location = $this->has_location($photo);
- $this->latitude = $photo->latitude;
- $this->longitude = $photo->longitude;
- $this->altitude = $photo->altitude;
+ $this->set_gps_coordinates($photo);
}
private function has_location(Photo $photo): bool
@@ -65,4 +64,18 @@ private function genExifHash(Photo $photo): string
return $exif_hash;
}
+
+ private function set_gps_coordinates(Photo $photo): void
+ {
+ if (request()->configs()->getValueAsBool('gps_coordinate_display') === false) {
+ return;
+ }
+ if (Auth::guest() && request()->configs()->getValueAsBool('gps_coordinate_display_public') === false) {
+ return;
+ }
+
+ $this->latitude = $photo->latitude;
+ $this->longitude = $photo->longitude;
+ $this->altitude = $photo->altitude;
+ }
}
diff --git a/app/Http/Resources/Models/Utils/PreformattedPhotoData.php b/app/Http/Resources/Models/Utils/PreformattedPhotoData.php
index dd28f1f8180..3758bb3c21d 100644
--- a/app/Http/Resources/Models/Utils/PreformattedPhotoData.php
+++ b/app/Http/Resources/Models/Utils/PreformattedPhotoData.php
@@ -70,11 +70,33 @@ public function __construct(Photo $photo, bool $include_exif_data, ?SizeVariantR
$this->filesize = $original?->filesize ?? '0';
$this->resolution = $original?->width . ' x ' . $original?->height;
+
+ $this->set_gps_coordinates($photo);
+ $this->set_location($photo);
+ }
+
+ private function set_gps_coordinates(Photo $photo): void
+ {
+ if (request()->configs()->getValueAsBool('gps_coordinate_display') === false) {
+ return;
+ }
+ if (Auth::guest() && request()->configs()->getValueAsBool('gps_coordinate_display_public') === false) {
+ return;
+ }
+
$this->latitude = Helpers::decimalToDegreeMinutesSeconds($photo->latitude, true);
$this->longitude = Helpers::decimalToDegreeMinutesSeconds($photo->longitude, false);
$this->altitude = $photo->altitude !== null ? round($photo->altitude, 1) . 'm' : null;
+ }
- $show_location = request()->configs()->getValueAsBool('location_show') && (Auth::check() || request()->configs()->getValueAsBool('location_show_public'));
- $this->location = $show_location ? $photo->location : null;
+ private function set_location(Photo $photo): void
+ {
+ if (request()->configs()->getValueAsBool('location_show') === false) {
+ return;
+ }
+ if (Auth::guest() && request()->configs()->getValueAsBool('location_show_public') === false) {
+ return;
+ }
+ $this->location = $photo->location;
}
}
diff --git a/database/migrations/2026_01_29_170000_hide_gps_coordinates.php b/database/migrations/2026_01_29_170000_hide_gps_coordinates.php
new file mode 100644
index 00000000000..c84e87108da
--- /dev/null
+++ b/database/migrations/2026_01_29_170000_hide_gps_coordinates.php
@@ -0,0 +1,73 @@
+
+ */
+ public function getConfigs(): array
+ {
+ return [
+ [
+ 'key' => 'gps_coordinate_display',
+ 'value' => '1',
+ 'cat' => self::MOD_MAP,
+ 'type_range' => self::BOOL,
+ 'description' => 'Display the GPS coordinates.',
+ 'details' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'is_secret' => false,
+ 'is_expert' => false,
+ 'order' => 9,
+ 'not_on_docker' => false,
+ 'level' => 0,
+ ],
+ [
+ 'key' => 'gps_coordinate_display_public',
+ 'value' => '0',
+ 'cat' => self::MOD_MAP,
+ 'type_range' => self::BOOL,
+ 'description' => 'Allow anonymous users to access the GPS coordinates.',
+ 'details' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
+ 'is_secret' => false,
+ 'is_expert' => false,
+ 'order' => 10,
+ 'not_on_docker' => false,
+ 'level' => 0,
+ ],
+ ];
+ }
+
+ /**
+ * Run the migrations.
+ *
+ * @codeCoverageIgnore Tested but before CI run...
+ */
+ final public function up(): void
+ {
+ DB::table('configs')->insert($this->getConfigs());
+ DB::table('configs')->where('key', 'location_show')->update(['details' => 'Only the decoded location is impacted by this setting.']);
+ DB::table('configs')->where('key', 'location_show_public')->update(['details' => 'Only the decoded location is impacted by this setting.']);
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @codeCoverageIgnore Tested but after CI run...
+ */
+ final public function down(): void
+ {
+ $keys = collect($this->getConfigs())->map(fn ($v) => $v['key'])->all();
+ DB::table('configs')->whereIn('key', $keys)->delete();
+ DB::table('configs')->whereIn('key', ['location_show', 'location_show_public'])->update(['details' => '']);
+ }
+};
diff --git a/lang/ar/all_settings.php b/lang/ar/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/ar/all_settings.php
+++ b/lang/ar/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/ar/settings.php b/lang/ar/settings.php
index 2997f392b72..738a5143115 100644
--- a/lang/ar/settings.php
+++ b/lang/ar/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'استخدام فك تشفير موقع GPS',
'location_show' => 'عرض الموقع المستخرج من إحداثيات GPS',
'location_show_public' => 'يمكن للمستخدمين المجهولين الوصول إلى الموقع المستخرج من إحداثيات GPS',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'CSS وJs مخصص',
diff --git a/lang/cz/all_settings.php b/lang/cz/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/cz/all_settings.php
+++ b/lang/cz/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/cz/settings.php b/lang/cz/settings.php
index 774326453e8..49ea7fdf2e0 100644
--- a/lang/cz/settings.php
+++ b/lang/cz/settings.php
@@ -67,6 +67,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/de/all_settings.php b/lang/de/all_settings.php
index bebd9e19400..f4deaa2fd66 100644
--- a/lang/de/all_settings.php
+++ b/lang/de/all_settings.php
@@ -67,6 +67,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -392,8 +394,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/de/settings.php b/lang/de/settings.php
index 73f32006617..870973ad7f0 100644
--- a/lang/de/settings.php
+++ b/lang/de/settings.php
@@ -67,6 +67,8 @@
'location_decoding' => 'GPS-Standortdecodierung verwenden',
'location_show' => 'Aus GPS-Koordinaten extrahierten Standort anzeigen',
'location_show_public' => 'Anonyme Nutzer können auf den aus den GPS-Koordinaten extrahierten Standort zugreifen',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Benutzerdefinierte CSS & JS',
diff --git a/lang/el/all_settings.php b/lang/el/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/el/all_settings.php
+++ b/lang/el/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/el/settings.php b/lang/el/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/el/settings.php
+++ b/lang/el/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/en/all_settings.php b/lang/en/all_settings.php
index c9b6c31f040..a473c8e528d 100644
--- a/lang/en/all_settings.php
+++ b/lang/en/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/en/settings.php b/lang/en/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/en/settings.php
+++ b/lang/en/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/es/all_settings.php b/lang/es/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/es/all_settings.php
+++ b/lang/es/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/es/settings.php b/lang/es/settings.php
index f1ba6ac8a94..906c3283d2a 100644
--- a/lang/es/settings.php
+++ b/lang/es/settings.php
@@ -67,6 +67,8 @@
'location_decoding' => 'Utilice la decodificación de ubicación GPS',
'location_show' => 'Mostrar ubicación extraída de coordenadas GPS',
'location_show_public' => 'Los usuarios anónimos pueden acceder a la ubicación extraída de las coordenadas GPS',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'CSS y JavaScript personalizados',
diff --git a/lang/fa/all_settings.php b/lang/fa/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/fa/all_settings.php
+++ b/lang/fa/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/fa/settings.php b/lang/fa/settings.php
index 47caa7fcdb0..15d744b7b52 100644
--- a/lang/fa/settings.php
+++ b/lang/fa/settings.php
@@ -67,8 +67,8 @@
'map_include_subalbums' => 'نمایش تصاویر زیرآلبومها روی نقشه',
'location_decoding' => 'استفاده از رمزگشایی موقعیت GPS',
'location_show' => 'نمایش موقعیت استخراج شده از مختصات GPS',
- 'location_show_public' => 'کاربران ناشناس میتوانند به موقعیت استخراج شده از مختصات GPS دسترسی داشته باشند',
- ],
+ 'location_show_public' => 'کاربران ناشناس میتوانند به موقعیت استخراج شده از مختصات GPS دسترسی داشته باشند', 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates', ],
'cssjs' => [
'header' => 'CSS و JS سفارشی',
'change_css' => 'تغییر CSS',
diff --git a/lang/fr/all_settings.php b/lang/fr/all_settings.php
index ff3a7978d98..96862fb5ac5 100644
--- a/lang/fr/all_settings.php
+++ b/lang/fr/all_settings.php
@@ -65,8 +65,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
@@ -394,6 +396,8 @@
'location_decoding_timeout' => 'Délai d’attente pour les requêtes de décodage GPS',
'location_show' => 'Afficher la localisation extraite des coordonnées GPS',
'location_show_public' => 'Permettre aux utilisateurs anonymes d’accéder à la localisation extraite',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Activer le flux RSS',
'rss_recent_days' => 'Afficher les X derniers jours dans le flux RSS',
'rss_max_items' => 'Nombre maximal d’éléments dans le flux RSS',
diff --git a/lang/fr/settings.php b/lang/fr/settings.php
index 387429d8c69..0bc963d96f6 100644
--- a/lang/fr/settings.php
+++ b/lang/fr/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Utiliser le décodage de position GPS',
'location_show' => 'Afficher la localisation extraite des coordonnées GPS',
'location_show_public' => 'Les utilisateurs anonymes peuvent accéder à la localisation extraite',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'CSS & JS personnalisés',
diff --git a/lang/hu/all_settings.php b/lang/hu/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/hu/all_settings.php
+++ b/lang/hu/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/hu/settings.php b/lang/hu/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/hu/settings.php
+++ b/lang/hu/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/it/all_settings.php b/lang/it/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/it/all_settings.php
+++ b/lang/it/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/it/settings.php b/lang/it/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/it/settings.php
+++ b/lang/it/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/ja/all_settings.php b/lang/ja/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/ja/all_settings.php
+++ b/lang/ja/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/ja/settings.php b/lang/ja/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/ja/settings.php
+++ b/lang/ja/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/nl/all_settings.php b/lang/nl/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/nl/all_settings.php
+++ b/lang/nl/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/nl/settings.php b/lang/nl/settings.php
index 4eba1a6a823..a4b0394d2a5 100644
--- a/lang/nl/settings.php
+++ b/lang/nl/settings.php
@@ -66,8 +66,8 @@
'map_include_subalbums' => 'Inclusief foto’s van de subalbums op de kaart',
'location_decoding' => 'Gebruik GPS-locatiecodering',
'location_show' => 'Toon locatie geëxtraheerd uit GPS-coördinaten',
- 'location_show_public' => 'Anonieme gebruikers kunnen de geëxtraheerde locatie van GPS-coördinaten openen',
- ],
+ 'location_show_public' => 'Anonieme gebruikers kunnen de geëxtraheerde locatie van GPS-coördinaten openen', 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates', ],
'cssjs' => [
'header' => 'Aangepaste CSS & Js',
'change_css' => 'CSS wijzigen',
diff --git a/lang/no/all_settings.php b/lang/no/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/no/all_settings.php
+++ b/lang/no/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/no/settings.php b/lang/no/settings.php
index 5047893b3d3..15423c42199 100644
--- a/lang/no/settings.php
+++ b/lang/no/settings.php
@@ -67,6 +67,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/pl/all_settings.php b/lang/pl/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/pl/all_settings.php
+++ b/lang/pl/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/pl/settings.php b/lang/pl/settings.php
index edbd6057d33..c6bacb0c0d3 100644
--- a/lang/pl/settings.php
+++ b/lang/pl/settings.php
@@ -67,8 +67,8 @@
'map_include_subalbums' => 'Zawiera zdjęcia podrzędnych albumów na mapie',
'location_decoding' => 'Korzystanie z dekodowania lokalizacji GPS',
'location_show' => 'Pokaż lokalizację wyodrębnioną ze współrzędnych GPS',
- 'location_show_public' => 'Anonimowi użytkownicy mogą uzyskać dostęp do lokalizacji wyodrębnionej ze współrzędnych GPS',
- ],
+ 'location_show_public' => 'Anonimowi użytkownicy mogą uzyskać dostęp do lokalizacji wyodrębnionej ze współrzędnych GPS', 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates', ],
'cssjs' => [
'header' => 'Custom CSS & Js',
'change_css' => 'Zmiana CSS',
diff --git a/lang/pt/all_settings.php b/lang/pt/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/pt/all_settings.php
+++ b/lang/pt/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/pt/settings.php b/lang/pt/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/pt/settings.php
+++ b/lang/pt/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/ru/all_settings.php b/lang/ru/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/ru/all_settings.php
+++ b/lang/ru/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/ru/settings.php b/lang/ru/settings.php
index 145916f8d3e..449818b6ded 100644
--- a/lang/ru/settings.php
+++ b/lang/ru/settings.php
@@ -67,6 +67,8 @@
'location_decoding' => 'Использовать декодирование GPS-координат',
'location_show' => 'Показывать местоположение, извлечённое из GPS-координат',
'location_show_public' => 'Анонимные пользователи могут получить доступ к извлечённому местоположению по GPS-координатам',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Пользовательский CSS & Js',
diff --git a/lang/sk/all_settings.php b/lang/sk/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/sk/all_settings.php
+++ b/lang/sk/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/sk/settings.php b/lang/sk/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/sk/settings.php
+++ b/lang/sk/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/sv/all_settings.php b/lang/sv/all_settings.php
index f2fa5ee2054..8a40fba442f 100644
--- a/lang/sv/all_settings.php
+++ b/lang/sv/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/sv/settings.php b/lang/sv/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/sv/settings.php
+++ b/lang/sv/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/vi/all_settings.php b/lang/vi/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/vi/all_settings.php
+++ b/lang/vi/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/vi/settings.php b/lang/vi/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/vi/settings.php
+++ b/lang/vi/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/zh_CN/all_settings.php b/lang/zh_CN/all_settings.php
index f2fa5ee2054..8a40fba442f 100644
--- a/lang/zh_CN/all_settings.php
+++ b/lang/zh_CN/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/zh_CN/settings.php b/lang/zh_CN/settings.php
index 838398031fe..4fa1d4cc36f 100644
--- a/lang/zh_CN/settings.php
+++ b/lang/zh_CN/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => '使用 GPS 位置解码',
'location_show' => '显示从 GPS 坐标提取的位置',
'location_show_public' => '匿名用户可以访问从 GPS 坐标提取的位置',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/lang/zh_TW/all_settings.php b/lang/zh_TW/all_settings.php
index 6eade77d28b..35562132105 100644
--- a/lang/zh_TW/all_settings.php
+++ b/lang/zh_TW/all_settings.php
@@ -69,6 +69,8 @@
'location_decoding_timeout' => 'Timeout for the GPS decoding queries',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can acess the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates.',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates.',
'rss_enable' => 'Enable RSS feed',
'rss_recent_days' => 'Display the last X days in the RSS feed',
'rss_max_items' => 'Max number of items in the RSS feed',
@@ -394,8 +396,10 @@
'apply_composer_update' => '',
'location_decoding' => '',
'location_decoding_timeout' => '',
- 'location_show' => '',
- 'location_show_public' => '',
+ 'location_show' => 'Only the decoded location is impacted by this setting.',
+ 'location_show_public' => 'Only the decoded location is impacted by this setting.',
+ 'gps_coordinate_display' => 'Disabling this hides the Latitude and Longitude information from all users.',
+ 'gps_coordinate_display_public' => 'Disabling this hides the Latitude and Longitude information from anonymous users.',
'rss_enable' => '',
'rss_recent_days' => '',
'rss_max_items' => '',
diff --git a/lang/zh_TW/settings.php b/lang/zh_TW/settings.php
index d35b1617bdc..43262543832 100644
--- a/lang/zh_TW/settings.php
+++ b/lang/zh_TW/settings.php
@@ -68,6 +68,8 @@
'location_decoding' => 'Use GPS location decoding',
'location_show' => 'Show location extracted from GPS coordinates',
'location_show_public' => 'Anonymous users can access the extracted location from GPS coordinates',
+ 'gps_coordinate_display' => 'Display the GPS coordinates',
+ 'gps_coordinate_display_public' => 'Allow anonymous users to access the GPS coordinates',
],
'cssjs' => [
'header' => 'Custom CSS & Js',
diff --git a/resources/js/components/settings/General.vue b/resources/js/components/settings/General.vue
index 0d698cefa96..e5d2622424b 100644
--- a/resources/js/components/settings/General.vue
+++ b/resources/js/components/settings/General.vue
@@ -217,6 +217,18 @@
:config="location_show_public"
@filled="save"
/>
+
+
@@ -284,6 +296,8 @@ const map_include_subalbums = ref(undefined);
const location_show = ref(undefined);
const location_show_public = ref(undefined);
+const gps_coordinate_display = ref(undefined);
+const gps_coordinate_display_public = ref(undefined);
const disable_se_call_for_actions = ref(undefined);
const enable_se_preview = ref(undefined);
@@ -353,6 +367,8 @@ function load(configs: App.Http.Resources.Models.ConfigCategoryResource[]) {
location_decoding.value = configurations.find((config) => config.key === "location_decoding");
location_show.value = configurations.find((config) => config.key === "location_show");
location_show_public.value = configurations.find((config) => config.key === "location_show_public");
+ gps_coordinate_display.value = configurations.find((config) => config.key === "gps_coordinate_display");
+ gps_coordinate_display_public.value = configurations.find((config) => config.key === "gps_coordinate_display_public");
disable_se_call_for_actions.value = configurations.find((config) => config.key === "disable_se_call_for_actions")?.value === "1";
enable_se_preview.value = configurations.find((config) => config.key === "enable_se_preview")?.value === "1";