Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I made the Chinese(Traditional) translate. #173

Merged
merged 3 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ final List appLanguages = [
{'name': 'Slovenčina', 'locale': const Locale('sk', 'SK')},
{'name': 'Türkçe', 'locale': const Locale('tr', 'TR')},
{'name': 'اردو', 'locale': const Locale('ur', 'PK')},
{'name': '中文', 'locale': const Locale('zh', 'CN')},
{'name': '中文(简体)', 'locale': const Locale('zh', 'CN')},
{'name': '中文(繁體)', 'locale': const Locale('zh', 'TW')},
];

const String appGroupId = 'DARK NIGHT';
Expand Down
129 changes: 129 additions & 0 deletions lib/translation/zh_tw.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
class ZhTw {
Map<String, String> get messages => {
'start': '開始使用',
'description':
'一個提供實時天氣資訊的天氣軟體。',
'name': '天氣',
'name2': '方便的設計',
'name3': '聯絡我們',
'description2':
'所有導覽均設計得盡可能方便交互',
'description3':
'如遇到問題請透過電郵或軟體評論與我們聯絡',
'next': '下一步',
'search': '搜尋……',
'loading': '載入中……',
'searchCity': '查找你的所在地',
'humidity': '濕度',
'wind': '風速',
'visibility': '可見度',
'feels': '體感',
'evaporation': '蒸發量',
'precipitation': '降水量',
'direction': '風向',
'pressure': '氣壓',
'rain': '雨',
'clear_sky': '晴朗',
'cloudy': '多雲',
'overcast': '陰天',
'fog': '霧',
'drizzle': '毛毛雨',
'drizzling_rain': '冻雾雨',
'freezing_rain': '凍雨',
'heavy_rains': '大雨',
'snow': '雪',
'thunderstorm': '雷暴',
'kph': '公里/時',
'mph': '英里/時',
'mi': '英里',
'km': '公里',
'inch': '英呎',
'mm': '毫米',
'hPa': '百帕',
'settings': '設定',
'no_inter': '沒有網路連線',
'on_inter': '啟用網路以獲取氣象資料。',
'location': '位置',
'no_location':
'啟用位置服務以獲取當前位置的天氣資訊。',
'theme': '主題',
'low': '低',
'high': '高',
'normal': '正常',
'lat': '維度',
'lon': '精度',
'create': '建立',
'city': '城市',
'district': '區',
'noWeatherCard': '新增城市',
'deletedCardWeather': '刪除城市',
'deletedCardWeatherQuery': '你確定要刪除這個城市嗎?',
'delete': '刪除',
'cancel': '取消',
'time': '城市時間',
'validateName': '請輸入名稱',
'measurements': '度量單位',
'degrees': '度',
'celsius': '攝氏度',
'fahrenheit': '華氏度',
'imperial': '英制',
'metric': '公制',
'validateValue': '請輸入一個值',
'validateNumber': '請輸入一個有效數字',
'validate90': '數值必須在-90和90之間',
'validate180': '數值必須在-180和180之間',
'notifications': '通知',
'sunrise': '日出',
'sunset': '日落',
'timeformat': '時間格式',
'12': '12小時',
'24': '24小時',
'cloudcover': '雲量',
'uvIndex': 'UV值',
'materialColor': '動態取色',
'uvLow': '低',
'uvAverage': '中等',
'uvHigh': '高',
'uvVeryHigh': '很高',
'uvExtreme': '超高',
'weatherMore': '12天天氣預報',
'windgusts': '陣風',
'north': '北',
'northeast': '東北',
'east': '東',
'southeast': '東南',
'south': '南',
'southwest': '西南',
'west': '西',
'northwest': '西北',
'project': '使用項目',
'version': '應用版本',
'precipitationProbability': '降水概率',
'apparentTemperatureMin': '最低體感溫度',
'apparentTemperatureMax': '最高體感溫度',
'amoledTheme': 'AMOLED主題',
'appearance': '體溫',
'functions': '功能',
'data': '資料',
'language': '語言',
'timeRange': '頻率(小時)',
'timeStart': '起始時間',
'timeEnd': '終止時間',
'support': '支援',
'system': '系統',
'dark': '黑暗',
'light': '明亮',
'license': '許可',
'widget': '小組件',
'widgetBackground': '小組件背景',
'widgetText': '小組件文字',
'dewpoint': '露點',
'shortwaveRadiation': '短波輻射',
'W/m2': '瓦/平方米',
'roundDegree': '四捨五入度數',
'settings_full': '設定',
'cities': '城市',
'searchMethod': '使用搜尋或地理位置',
'done': '完成',
};
}