Skip to content

Commit

Permalink
Fix untranslatable strings (#1270)
Browse files Browse the repository at this point in the history
* Fix untranslateble strings
* Add other locales
  • Loading branch information
qwerty287 authored Apr 11, 2022
1 parent d8279c8 commit 4d1b5f0
Show file tree
Hide file tree
Showing 18 changed files with 306 additions and 2 deletions.
19 changes: 19 additions & 0 deletions app/Locale/ChineseSimplified.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,35 @@ public function get_locale(): array
'DEFAULT' => '默认',

'USERS' => '用户',
'ALLOW_UPLOAD' => 'Allow uploads',
'RESTRICTED_ACCOUT' => 'Restricted account',
'CREATE' => 'Create',
'USERS_EMPTY' => 'User list is empty!',
'U2F' => '通用两步验证(U2F)',
'NOTIFICATIONS' => 'Notifications',
'SHARING' => '共享',
'SHARING_EMPTY' => 'Sharing list is empty!',
'SHARING_WITH' => 'with',
'SHARING_SHARE' => 'Share',
'SHARING_UNDO' => 'undo',
'SHARING_REDO' => 'redo',
'CHANGE_LOGIN' => '修改登录信息',
'CHANGE_SORTING' => '修改排序',
'SET_DROPBOX' => '设置 Dropbox',
'ABOUT_LYCHEE' => '关于 Lychee',
'DIAGNOSTICS' => '诊断',
'DIAGNOSTICS_GET_SIZE' => '请求空间占用信息',
'LOGS' => '查看日志',
'CLEAN_LOGS' => 'Clean Noise',
'SIGN_OUT' => '注销登录',
'UPDATE_AVAILABLE' => '可用更新!',
'MIGRATION_AVAILABLE' => '可用迁移!',
'DEFAULT_LICENSE' => '为新上传设置默认许可证:',
'SET_LICENSE' => '设置许可证',
'SET_OVERLAY_TYPE' => '设置叠层',
'SET_MAP_PROVIDER' => '设置 OpenStreetMap 图层提供者',
'FULL_SETTINGS' => 'Full Settings',
'UPDATE' => 'Update',

'SMART_ALBUMS' => '智能相册',
'SHARED_ALBUMS' => '已共享的相册',
Expand Down Expand Up @@ -100,6 +112,7 @@ public function get_locale(): array
'COPY_TO' => '复制到...',
'COPY_ALL_TO' => '选定副本到...',
'DELETE' => '删除',
'SAVE' => 'Save',
'DELETE_ALL' => '删除已选中',
'DOWNLOAD' => '下载',
'DOWNLOAD_ALL' => '下载已选中',
Expand Down Expand Up @@ -194,6 +207,7 @@ public function get_locale(): array
'ALBUM_RESERVED' => '所有权利保留',
'ALBUM_SET_ORDER' => '设置排序',
'ALBUM_ORDERING' => '排序依据',
'ALBUM_OWNER' => 'Owner',

'PHOTO_ABOUT' => '关于',
'PHOTO_BASICS' => '基本信息',
Expand All @@ -207,6 +221,7 @@ public function get_locale(): array
'PHOTO_NEW_LICENSE' => '添加许可证',
'PHOTO_SET_LICENSE' => '设置许可证',
'PHOTO_LICENSE' => '许可证',
'PHOTO_LICENSE_HELP' => 'Need help choosing?',
'PHOTO_REUSE' => '重用',
'PHOTO_LICENSE_NONE' => '',
'PHOTO_RESERVED' => '所有权利保留',
Expand Down Expand Up @@ -294,6 +309,7 @@ public function get_locale(): array
'SETTINGS_SUCCESS_MAP_DISPLAY' => '地图显示设置已更新',
'SETTINGS_SUCCESS_MAP_DISPLAY_PUBLIC' => '公开相册的地图显示设置已更新',
'SETTINGS_SUCCESS_MAP_PROVIDER' => '地图供应商设置已更新',
'SETTINGS_DROPBOX_KEY' => 'Dropbox API Key',

'U2F_NOT_SUPPORTED' => 'U2F 不被支持。 抱歉。',
'U2F_NOT_SECURE' => '环境不安全。U2F 不可用',
Expand All @@ -302,6 +318,7 @@ public function get_locale(): array
'U2F_AUTHENTIFICATION_SUCCESS' => '认证成功!',
'U2F_CREDENTIALS' => '认证信息',
'U2F_CREDENTIALS_DELETED' => '认证信息已删除!',
'U2F_NO_CREDENTIALS' => 'Credentials list is empty!',

'NEW_PHOTOS_NOTIFICATION' => 'Send new photos notification emails.',
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
Expand Down Expand Up @@ -464,8 +481,10 @@ public function get_locale(): array
'PHOTO_SMALL_HIDPI' => '缩略图 HiDPI',
'PHOTO_THUMB' => '方形缩略图',
'PHOTO_THUMB_HIDPI' => '方形缩略图 HiDPI',
'PHOTO_THUMBNAIL' => 'Photo thumbnail',
'PHOTO_LIVE_VIDEO' => '实况照片(Live-Photo)的视频部分',
'PHOTO_VIEW' => 'Lychee 照片查看:',
'VIDEO_NOT_SUPPORTED' => 'Your browser does not support the video tag.',

'PHOTO_EDIT_ROTATECWISE' => '顺时针旋转',
'PHOTO_EDIT_ROTATECCWISE' => '逆时针旋转',
Expand Down
19 changes: 19 additions & 0 deletions app/Locale/ChineseTraditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,35 @@ public function get_locale(): array
'DEFAULT' => '默認',

'USERS' => '使用者',
'ALLOW_UPLOAD' => 'Allow uploads',
'RESTRICTED_ACCOUT' => 'Restricted account',
'CREATE' => 'Create',
'USERS_EMPTY' => 'User list is empty!',
'U2F' => 'U2F',
'NOTIFICATIONS' => 'Notifications',
'SHARING' => '分享',
'SHARING_EMPTY' => 'Sharing list is empty!',
'SHARING_WITH' => 'with',
'SHARING_SHARE' => 'Share',
'SHARING_UNDO' => 'undo',
'SHARING_REDO' => 'redo',
'CHANGE_LOGIN' => '修改登入訊息',
'CHANGE_SORTING' => '修改排序',
'SET_DROPBOX' => '設定Dropbox',
'ABOUT_LYCHEE' => '關於Lychee',
'DIAGNOSTICS' => '診斷',
'DIAGNOSTICS_GET_SIZE' => '請求空間使用',
'LOGS' => '查看日誌',
'CLEAN_LOGS' => 'Clean Noise',
'SIGN_OUT' => '登出',
'UPDATE_AVAILABLE' => '可用更新!',
'MIGRATION_AVAILABLE' => '可進行轉移!',
'DEFAULT_LICENSE' => '新上傳的默認許可證:',
'SET_LICENSE' => '設置許可證',
'SET_OVERLAY_TYPE' => '設置疊加',
'SET_MAP_PROVIDER' => '設置OpenStreetMap圖層提供者',
'FULL_SETTINGS' => 'Full Settings',
'UPDATE' => 'Update',

'SMART_ALBUMS' => '智能相簿',
'SHARED_ALBUMS' => '共享的相簿',
Expand Down Expand Up @@ -100,6 +112,7 @@ public function get_locale(): array
'COPY_TO' => '複製到...',
'COPY_ALL_TO' => '複製到...',
'DELETE' => '刪除',
'SAVE' => 'Save',
'DELETE_ALL' => '删除已選項目',
'DOWNLOAD' => '下載',
'DOWNLOAD_ALL' => '下載已選項目',
Expand Down Expand Up @@ -194,6 +207,7 @@ public function get_locale(): array
'ALBUM_RESERVED' => '版權所有',
'ALBUM_SET_ORDER' => '設定排序方式',
'ALBUM_ORDERING' => '排序方式',
'ALBUM_OWNER' => 'Owner',

'PHOTO_ABOUT' => '關於',
'PHOTO_BASICS' => '基本資訊',
Expand All @@ -207,6 +221,7 @@ public function get_locale(): array
'PHOTO_NEW_LICENSE' => '新增許可證',
'PHOTO_SET_LICENSE' => '設定許可證',
'PHOTO_LICENSE' => '許可證',
'PHOTO_LICENSE_HELP' => 'Need help choosing?',
'PHOTO_REUSE' => '重複利用',
'PHOTO_LICENSE_NONE' => '',
'PHOTO_RESERVED' => '版權所有',
Expand Down Expand Up @@ -293,6 +308,7 @@ public function get_locale(): array
'SETTINGS_SUCCESS_MAP_DISPLAY' => '地圖顯示設置已更新',
'SETTINGS_SUCCESS_MAP_DISPLAY_PUBLIC' => '公開相簿的地圖顯示設置已更新',
'SETTINGS_SUCCESS_MAP_PROVIDER' => '地圖提供商設置已更新',
'SETTINGS_DROPBOX_KEY' => 'Dropbox API Key',

'U2F_NOT_SUPPORTED' => 'U2F not supported. Sorry.',
'U2F_NOT_SECURE' => 'Environment not secured. U2F not available.',
Expand All @@ -301,6 +317,7 @@ public function get_locale(): array
'U2F_AUTHENTIFICATION_SUCCESS' => 'Authentication successful!',
'U2F_CREDENTIALS' => 'Credentials',
'U2F_CREDENTIALS_DELETED' => 'Credentials deleted!',
'U2F_NO_CREDENTIALS' => 'Credentials list is empty!',

'NEW_PHOTOS_NOTIFICATION' => 'Send new photos notification emails.',
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
Expand Down Expand Up @@ -463,8 +480,10 @@ public function get_locale(): array
'PHOTO_SMALL_HIDPI' => '低解析度',
'PHOTO_THUMB' => '方形圖',
'PHOTO_THUMB_HIDPI' => '方形解析度',
'PHOTO_THUMBNAIL' => 'Photo thumbnail',
'PHOTO_LIVE_VIDEO' => '實時照片的視頻部分',
'PHOTO_VIEW' => 'Lychee照片瀏覽:',
'VIDEO_NOT_SUPPORTED' => 'Your browser does not support the video tag.',

'PHOTO_EDIT_ROTATECWISE' => '順時針旋轉',
'PHOTO_EDIT_ROTATECCWISE' => '逆時針旋轉',
Expand Down
19 changes: 19 additions & 0 deletions app/Locale/Czech.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,26 @@ public function get_locale(): array
'DEFAULT' => 'Default',

'USERS' => 'Uživatelé',
'ALLOW_UPLOAD' => 'Allow uploads',
'RESTRICTED_ACCOUT' => 'Restricted account',
'CREATE' => 'Create',
'USERS_EMPTY' => 'User list is empty!',
'U2F' => 'U2F',
'NOTIFICATIONS' => 'Notifications',
'SHARING' => 'Sdílení',
'SHARING_EMPTY' => 'Sharing list is empty!',
'SHARING_WITH' => 'with',
'SHARING_SHARE' => 'Share',
'SHARING_UNDO' => 'undo',
'SHARING_REDO' => 'redo',
'CHANGE_LOGIN' => 'Změnit přihlášení',
'CHANGE_SORTING' => 'Změnt řazení',
'SET_DROPBOX' => 'Nastavit Dropbox',
'ABOUT_LYCHEE' => 'O Lychee',
'DIAGNOSTICS' => 'Diagnostika',
'DIAGNOSTICS_GET_SIZE' => 'Request space usage',
'LOGS' => 'Protokoly',
'CLEAN_LOGS' => 'Clean Noise',
'SIGN_OUT' => 'Odhlásit se',
'UPDATE_AVAILABLE' => 'Update je k dispozici!',
'MIGRATION_AVAILABLE' => 'Migration available!',
Expand All @@ -44,6 +54,8 @@ public function get_locale(): array
'SET_OVERLAY_TYPE' => 'Nastavit překrytí',
'SET_MAP_PROVIDER' => 'Nastavit providera OpenStreetMap',
'SAVE_RISK' => 'Uložit změny, rizika jsou mi známa!',
'FULL_SETTINGS' => 'Full Settings',
'UPDATE' => 'Update',

'SMART_ALBUMS' => 'Chytrá alba',
'SHARED_ALBUMS' => 'Sdílená alba',
Expand Down Expand Up @@ -101,6 +113,7 @@ public function get_locale(): array
'COPY_TO' => 'Kopírovat do...',
'COPY_ALL_TO' => 'Kopírovat vybrané do...',
'DELETE' => 'Odstranit',
'SAVE' => 'Save',
'DELETE_ALL' => 'Odstranit vybrané',
'DOWNLOAD' => 'Stáhnout',
'DOWNLOAD_ALL' => 'Stánout vybrané',
Expand Down Expand Up @@ -195,6 +208,7 @@ public function get_locale(): array
'ALBUM_RESERVED' => 'Všechna práva vyhrazena',
'ALBUM_SET_ORDER' => 'Set Order',
'ALBUM_ORDERING' => 'Order by',
'ALBUM_OWNER' => 'Owner',

'PHOTO_ABOUT' => 'O fotografii',
'PHOTO_BASICS' => 'Základní informace',
Expand All @@ -208,6 +222,7 @@ public function get_locale(): array
'PHOTO_NEW_LICENSE' => 'Přidat licenci',
'PHOTO_SET_LICENSE' => 'Uložit licenci',
'PHOTO_LICENSE' => 'Licence',
'PHOTO_LICENSE_HELP' => 'Need help choosing?',
'PHOTO_REUSE' => 'Opakované použití',
'PHOTO_LICENSE_NONE' => 'Žádná',
'PHOTO_RESERVED' => 'Všechna práva vyhrazena',
Expand Down Expand Up @@ -297,6 +312,7 @@ public function get_locale(): array
'SETTINGS_SUCCESS_MAP_DISPLAY' => 'Nastavení zobrazeni Map bylo aktualizováno',
'SETTINGS_SUCCESS_MAP_DISPLAY_PUBLIC' => 'Nastavení zobrazeni Map pro veřejná alba bylo aktualizováno',
'SETTINGS_SUCCESS_MAP_PROVIDER' => 'Poskytovatel Map byl aktualizován',
'SETTINGS_DROPBOX_KEY' => 'Dropbox API Key',

'U2F_NOT_SUPPORTED' => 'U2F not supported. Sorry.',
'U2F_NOT_SECURE' => 'Environment not secured. U2F not available.',
Expand All @@ -305,6 +321,7 @@ public function get_locale(): array
'U2F_AUTHENTIFICATION_SUCCESS' => 'Authentication successful!',
'U2F_CREDENTIALS' => 'Credentials',
'U2F_CREDENTIALS_DELETED' => 'Credentials deleted!',
'U2F_NO_CREDENTIALS' => 'Credentials list is empty!',

'NEW_PHOTOS_NOTIFICATION' => 'Send new photos notification emails.',
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
Expand Down Expand Up @@ -470,8 +487,10 @@ public function get_locale(): array
'PHOTO_SMALL_HIDPI' => 'Náhled HiDPI',
'PHOTO_THUMB' => 'Čtvercový náhled',
'PHOTO_THUMB_HIDPI' => 'Čtvercový náhled HiDPI',
'PHOTO_THUMBNAIL' => 'Photo thumbnail',
'PHOTO_LIVE_VIDEO' => 'Video part of live-photo',
'PHOTO_VIEW' => 'Zobrazení foto Lychee:',
'VIDEO_NOT_SUPPORTED' => 'Your browser does not support the video tag.',

'PHOTO_EDIT_ROTATECWISE' => 'Otočit doprava',
'PHOTO_EDIT_ROTATECCWISE' => 'Otočit doleva',
Expand Down
19 changes: 19 additions & 0 deletions app/Locale/Dutch.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,35 @@ public function get_locale(): array
'DEFAULT' => 'Default',

'USERS' => 'Users',
'ALLOW_UPLOAD' => 'Allow uploads',
'RESTRICTED_ACCOUT' => 'Restricted account',
'CREATE' => 'Create',
'USERS_EMPTY' => 'User list is empty!',
'U2F' => 'U2F',
'NOTIFICATIONS' => 'Notifications',
'SHARING' => 'Sharing',
'SHARING_EMPTY' => 'Sharing list is empty!',
'SHARING_WITH' => 'with',
'SHARING_SHARE' => 'Share',
'SHARING_UNDO' => 'undo',
'SHARING_REDO' => 'redo',
'CHANGE_LOGIN' => 'Verander Login',
'CHANGE_SORTING' => 'Verander Sortering',
'SET_DROPBOX' => 'Set Dropbox',
'ABOUT_LYCHEE' => 'Over Lychee',
'DIAGNOSTICS' => 'Diagnostics',
'DIAGNOSTICS_GET_SIZE' => 'Request space usage',
'LOGS' => 'Laat logs zien',
'CLEAN_LOGS' => 'Clean Noise',
'SIGN_OUT' => 'Log uit',
'UPDATE_AVAILABLE' => 'Update beschikbaar!',
'MIGRATION_AVAILABLE' => 'Migration available!',
'DEFAULT_LICENSE' => 'Default license for new uploads:',
'SET_LICENSE' => 'Set License',
'SET_OVERLAY_TYPE' => 'Set Overlay',
'SET_MAP_PROVIDER' => 'Set OpenStreetMap tiles provider',
'FULL_SETTINGS' => 'Full Settings',
'UPDATE' => 'Update',

'SMART_ALBUMS' => 'Slimme albums',
'SHARED_ALBUMS' => 'Shared albums',
Expand Down Expand Up @@ -100,6 +112,7 @@ public function get_locale(): array
'COPY_TO' => 'Copy to...',
'COPY_ALL_TO' => 'Kopiëren geselecteerd om....',
'DELETE' => 'Verwijder',
'SAVE' => 'Save',
'DELETE_ALL' => 'Geselecteerde verwijderen',
'DOWNLOAD' => 'Download',
'DOWNLOAD_ALL' => 'Download Geselecteerd',
Expand Down Expand Up @@ -194,6 +207,7 @@ public function get_locale(): array
'ALBUM_RESERVED' => 'All Rights Reserved',
'ALBUM_SET_ORDER' => 'Set Order',
'ALBUM_ORDERING' => 'Order by',
'ALBUM_OWNER' => 'Owner',

'PHOTO_ABOUT' => 'Over',
'PHOTO_BASICS' => 'Basics',
Expand All @@ -207,6 +221,7 @@ public function get_locale(): array
'PHOTO_NEW_LICENSE' => 'Add a License',
'PHOTO_SET_LICENSE' => 'Set License',
'PHOTO_LICENSE' => 'License',
'PHOTO_LICENSE_HELP' => 'Need help choosing?',
'PHOTO_REUSE' => 'Reuse',
'PHOTO_LICENSE_NONE' => 'None',
'PHOTO_RESERVED' => 'All Rights Reserved',
Expand Down Expand Up @@ -293,6 +308,7 @@ public function get_locale(): array
'SETTINGS_SUCCESS_MAP_DISPLAY' => 'Map display settings updated',
'SETTINGS_SUCCESS_MAP_DISPLAY_PUBLIC' => 'Map display settings for public albums updated',
'SETTINGS_SUCCESS_MAP_PROVIDER' => 'Map provider settings updated',
'SETTINGS_DROPBOX_KEY' => 'Dropbox API Key',

'U2F_NOT_SUPPORTED' => 'U2F not supported. Sorry.',
'U2F_NOT_SECURE' => 'Environment not secured. U2F not available.',
Expand All @@ -301,6 +317,7 @@ public function get_locale(): array
'U2F_AUTHENTIFICATION_SUCCESS' => 'Authentication successful!',
'U2F_CREDENTIALS' => 'Credentials',
'U2F_CREDENTIALS_DELETED' => 'Credentials deleted!',
'U2F_NO_CREDENTIALS' => 'Credentials list is empty!',

'NEW_PHOTOS_NOTIFICATION' => 'Send new photos notification emails.',
'SETTINGS_SUCCESS_NEW_PHOTOS_NOTIFICATION' => 'New photos notification updated',
Expand Down Expand Up @@ -463,8 +480,10 @@ public function get_locale(): array
'PHOTO_SMALL_HIDPI' => 'Thumb HiDPI',
'PHOTO_THUMB' => 'Square thumb',
'PHOTO_THUMB_HIDPI' => 'Square thumb HiDPI',
'PHOTO_THUMBNAIL' => 'Photo thumbnail',
'PHOTO_LIVE_VIDEO' => 'Video part of live-photo',
'PHOTO_VIEW' => 'Lychee Photo View:',
'VIDEO_NOT_SUPPORTED' => 'Your browser does not support the video tag.',

'PHOTO_EDIT_ROTATECWISE' => 'Rotate clockwise',
'PHOTO_EDIT_ROTATECCWISE' => 'Rotate counter-clockwise',
Expand Down
Loading

0 comments on commit 4d1b5f0

Please sign in to comment.