mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
chore(i18n): drop the photos, register and stats locale files
None of their keys is read anywhere in client, server, shared or plugin-sdk, neither literally nor through a key built from a prefix: the photo, sign-up and stats screens they were written for are gone. All 27 locales lose the same three files, so parity holds.
This commit is contained in:
@@ -35,16 +35,13 @@ import oauth from './oauth';
|
||||
import packing from './packing';
|
||||
import pdf from './pdf';
|
||||
import perm from './perm';
|
||||
import photos from './photos';
|
||||
import places from './places';
|
||||
import planner from './planner';
|
||||
import register from './register';
|
||||
import roadtrip from './roadtrip';
|
||||
import reservations from './reservations';
|
||||
import settings from './settings';
|
||||
import share from './share';
|
||||
import shared from './shared';
|
||||
import stats from './stats';
|
||||
import storage from './storage';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -67,7 +64,6 @@ const locale = {
|
||||
...share,
|
||||
...shared,
|
||||
...login,
|
||||
...register,
|
||||
...vacay,
|
||||
...collection,
|
||||
...atlas,
|
||||
@@ -84,10 +80,8 @@ const locale = {
|
||||
...members,
|
||||
...categories,
|
||||
...backup,
|
||||
...photos,
|
||||
...pdf,
|
||||
...planner,
|
||||
...stats,
|
||||
...day,
|
||||
...memories,
|
||||
...collab,
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const photos: TranslationStrings = {
|
||||
'photos.title': 'ภาพถ่าย',
|
||||
'photos.subtitle': 'รูปภาพ {count} รูปสำหรับ {trip}',
|
||||
'photos.dropHere': 'ลงรูปที่นี่...',
|
||||
'photos.dropHereActive': 'วางรูปถ่ายที่นี่',
|
||||
'photos.captionForAll': 'คำบรรยายภาพ (สำหรับทุกคน)',
|
||||
'photos.captionPlaceholder': 'คำบรรยายเพิ่มเติม...',
|
||||
'photos.addCaption': 'เพิ่มคำบรรยาย...',
|
||||
'photos.allDays': 'ทุกวัน',
|
||||
'photos.noPhotos': 'ยังไม่มีรูปถ่าย',
|
||||
'photos.uploadHint': 'อัปโหลดภาพถ่ายการเดินทางของคุณ',
|
||||
'photos.clickToSelect': 'หรือคลิกเพื่อเลือก',
|
||||
'photos.linkPlace': 'เชื่อมโยงกับสถานที่',
|
||||
'photos.noPlace': 'ไม่มีสถานที่',
|
||||
'photos.uploadN': 'อัปโหลดรูปภาพ {n} รูป',
|
||||
'photos.linkDay': 'เชื่อมโยงกับวัน',
|
||||
'photos.noDay': 'ไม่มีวัน',
|
||||
'photos.dayLabel': 'วันที่ {number}',
|
||||
'photos.photoSelected': 'เลือกรูปภาพแล้ว',
|
||||
'photos.photosSelected': 'เลือกรูปภาพแล้ว',
|
||||
'photos.fileTypeHint': 'JPG, PNG, WebP · สูงสุด 10 MB · สูงสุด 30 รูปภาพ',
|
||||
};
|
||||
export default photos;
|
||||
@@ -1,25 +0,0 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const register: TranslationStrings = {
|
||||
'register.passwordMismatch': 'รหัสผ่านไม่ตรงกัน',
|
||||
'register.passwordTooShort': 'รหัสผ่านต้องมีอย่างน้อย 8 ตัวอักษร',
|
||||
'register.failed': 'การลงทะเบียนล้มเหลว',
|
||||
'register.getStarted': 'เริ่มต้นเลย',
|
||||
'register.subtitle': 'สร้างบัญชีและเริ่มวางแผนการเดินทางในฝันของคุณ',
|
||||
'register.feature1': 'แผนการเดินทางไม่จำกัด',
|
||||
'register.feature2': 'มุมมองแผนที่แบบโต้ตอบ',
|
||||
'register.feature3': 'จัดการสถานที่และหมวดหมู่',
|
||||
'register.feature4': 'ติดตามการจอง',
|
||||
'register.feature5': 'สร้างรายการจัดกระเป๋า',
|
||||
'register.feature6': 'จัดเก็บรูปภาพและไฟล์',
|
||||
'register.createAccount': 'สร้างบัญชี',
|
||||
'register.startPlanning': 'เริ่มวางแผนการเดินทางของคุณ',
|
||||
'register.minChars': 'อย่างน้อย 6 อักขระ',
|
||||
'register.confirmPassword': 'ยืนยันรหัสผ่าน',
|
||||
'register.repeatPassword': 'ทำซ้ำรหัสผ่าน',
|
||||
'register.registering': 'กำลังลงทะเบียน...',
|
||||
'register.register': 'ลงทะเบียน',
|
||||
'register.hasAccount': 'มีบัญชีอยู่แล้ว?',
|
||||
'register.signIn': 'เข้าสู่ระบบ',
|
||||
};
|
||||
export default register;
|
||||
@@ -1,13 +0,0 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const stats: TranslationStrings = {
|
||||
'stats.countries': 'ประเทศต่างๆ',
|
||||
'stats.cities': 'เมือง',
|
||||
'stats.trips': 'ทริป',
|
||||
'stats.places': 'สถานที่',
|
||||
'stats.worldProgress': 'ความก้าวหน้าของโลก',
|
||||
'stats.visited': 'เยี่ยมชม',
|
||||
'stats.remaining': 'ที่เหลืออยู่',
|
||||
'stats.visitedCountries': 'ประเทศที่มาเยือน',
|
||||
};
|
||||
export default stats;
|
||||
Reference in New Issue
Block a user