feat(pokemon): add CSV data fetch to populate edit form
Allow users to search and fetch Pokemon data from local CSV files Auto-populate basic fields, stats, types, and translations Add type icons to Pokemon detail and list views
This commit is contained in:
@@ -103,6 +103,17 @@ const messages = {
|
||||
editTabAdvance: 'Advance',
|
||||
newTitle: 'New Pokemon',
|
||||
editTitle: 'Edit #{id} {name}',
|
||||
fetchData: 'Fetch data',
|
||||
fetchingData: 'Fetching',
|
||||
fetchIdentifier: 'Data identifier',
|
||||
fetchIdentifierPlaceholder: 'bulbasaur or 1',
|
||||
fetchIdentifierRequired: 'Enter a Pokemon identifier',
|
||||
fetchFailed: 'Pokemon data fetch failed',
|
||||
fetchIdMismatch: 'Fetched Pokemon ID #{id} does not match this editor.',
|
||||
fetchResults: 'Pokemon data results',
|
||||
fetchSearching: 'Searching data',
|
||||
fetchNoMatches: 'No matching Pokemon data',
|
||||
fetchSearchFailed: 'Pokemon data search failed',
|
||||
loadingList: 'Loading Pokemon list',
|
||||
loadingDetail: 'Loading Pokemon detail',
|
||||
loadingEdit: 'Loading Pokemon editor',
|
||||
@@ -564,6 +575,17 @@ const messages = {
|
||||
editTabAdvance: '进阶',
|
||||
newTitle: '新增 Pokemon',
|
||||
editTitle: '编辑 #{id} {name}',
|
||||
fetchData: '获取数据',
|
||||
fetchingData: '正在获取',
|
||||
fetchIdentifier: '数据标识',
|
||||
fetchIdentifierPlaceholder: 'bulbasaur 或 1',
|
||||
fetchIdentifierRequired: '请输入 Pokemon 数据标识',
|
||||
fetchFailed: 'Pokemon 数据获取失败',
|
||||
fetchIdMismatch: '获取到的 Pokemon ID #{id} 与当前编辑内容不一致。',
|
||||
fetchResults: 'Pokemon 数据结果',
|
||||
fetchSearching: '正在搜索数据',
|
||||
fetchNoMatches: '没有匹配的 Pokemon 数据',
|
||||
fetchSearchFailed: 'Pokemon 数据搜索失败',
|
||||
loadingList: '正在加载 Pokemon 列表',
|
||||
loadingDetail: '正在加载 Pokemon 详情',
|
||||
loadingEdit: '正在加载 Pokemon 编辑内容',
|
||||
|
||||
Reference in New Issue
Block a user