This commit is contained in:
LZX committed 2026-09-17 22:31:44 +08:00
1 parent 27cdb00af2
commit f78f4aeb4a
20 files changed
+3549 -120

No files matched your search

+90 -1
View File
@@ -1012,5 +1012,94 @@
"chrootFailedFallbackToProot": "Chroot mount or permission failed, automatically fell back to PRoot",
"drawerTabExplorer": "Explorer",
"drawerTabSearch": "Search",
"drawerTabGit": "Source Control"
"drawerTabGit": "Source Control",
"searchHint": "Search",
"replaceHint": "Replace",
"matchCase": "Match Case",
"matchWholeWord": "Match Whole Word",
"useRegularExpression": "Use Regular Expression",
"invalidRegularExpression": "Invalid regular expression",
"projectDirectoryNotFound": "Project directory does not exist",
"searchMoreOptions": "More Options",
"searchModeText": "Text Search",
"searchModeFileName": "File Name Search",
"replaceAllInFile": "Replace All in This File",
"replaceAllInProject": "Replace All",
"replaceSingleMatch": "Replace",
"searchResultStats": "{matchCount} results in {fileCount} files",
"@searchResultStats": {
"placeholders": {
"fileCount": {
"type": "int"
},
"matchCount": {
"type": "int"
}
}
},
"noSearchResults": "No results found",
"searchError": "Search failed: {error}",
"@searchError": {
"placeholders": {
"error": {
"type": "String"
}
}
},
"replaceSuccess": "Replaced {count} occurrences",
"@replaceSuccess": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"expandAll": "Expand All",
"collapseAll": "Collapse All",
"searchLoadMoreFiles": "Load more files ({count} remaining)",
"@searchLoadMoreFiles": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"searchLoadMoreMatches": "Load more matches ({count} remaining)",
"@searchLoadMoreMatches": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"confirmReplaceAllTitle": "Confirm Replace All",
"confirmReplaceAllMessage": "Are you sure you want to replace all {matchCount} occurrences in {fileCount} files with \"{replaceText}\"? This will modify files on disk.",
"@confirmReplaceAllMessage": {
"placeholders": {
"matchCount": {
"type": "int"
},
"fileCount": {
"type": "int"
},
"replaceText": {
"type": "String"
}
}
},
"confirmReplaceFileTitle": "Replace in File",
"confirmReplaceFileMessage": "Are you sure you want to replace all {matchCount} occurrences in \"{fileName}\" with \"{replaceText}\"?",
"@confirmReplaceFileMessage": {
"placeholders": {
"fileName": {
"type": "String"
},
"matchCount": {
"type": "int"
},
"replaceText": {
"type": "String"
}
}
}
}
+158
View File
@@ -3043,6 +3043,164 @@ abstract class AppLocalizations {
/// In zh, this message translates to:
/// **'源代码管理'**
String get drawerTabGit;
/// No description provided for @searchHint.
///
/// In zh, this message translates to:
/// **'搜索'**
String get searchHint;
/// No description provided for @replaceHint.
///
/// In zh, this message translates to:
/// **'替换'**
String get replaceHint;
/// No description provided for @matchCase.
///
/// In zh, this message translates to:
/// **'区分大小写'**
String get matchCase;
/// No description provided for @matchWholeWord.
///
/// In zh, this message translates to:
/// **'全字匹配'**
String get matchWholeWord;
/// No description provided for @useRegularExpression.
///
/// In zh, this message translates to:
/// **'使用正则表达式'**
String get useRegularExpression;
/// No description provided for @invalidRegularExpression.
///
/// In zh, this message translates to:
/// **'无效的正则表达式'**
String get invalidRegularExpression;
/// No description provided for @projectDirectoryNotFound.
///
/// In zh, this message translates to:
/// **'项目目录不存在'**
String get projectDirectoryNotFound;
/// No description provided for @searchMoreOptions.
///
/// In zh, this message translates to:
/// **'更多选项'**
String get searchMoreOptions;
/// No description provided for @searchModeText.
///
/// In zh, this message translates to:
/// **'内容搜索'**
String get searchModeText;
/// No description provided for @searchModeFileName.
///
/// In zh, this message translates to:
/// **'文件名搜索'**
String get searchModeFileName;
/// No description provided for @replaceAllInFile.
///
/// In zh, this message translates to:
/// **'替换此文件中的所有匹配项'**
String get replaceAllInFile;
/// No description provided for @replaceAllInProject.
///
/// In zh, this message translates to:
/// **'全部替换'**
String get replaceAllInProject;
/// No description provided for @replaceSingleMatch.
///
/// In zh, this message translates to:
/// **'替换'**
String get replaceSingleMatch;
/// No description provided for @searchResultStats.
///
/// In zh, this message translates to:
/// **'在 {fileCount} 个文件中找到 {matchCount} 处匹配'**
String searchResultStats(int fileCount, int matchCount);
/// No description provided for @noSearchResults.
///
/// In zh, this message translates to:
/// **'未找到匹配项'**
String get noSearchResults;
/// No description provided for @searchError.
///
/// In zh, this message translates to:
/// **'搜索失败: {error}'**
String searchError(String error);
/// No description provided for @replaceSuccess.
///
/// In zh, this message translates to:
/// **'已替换 {count} 处匹配'**
String replaceSuccess(int count);
/// No description provided for @expandAll.
///
/// In zh, this message translates to:
/// **'全部展开'**
String get expandAll;
/// No description provided for @collapseAll.
///
/// In zh, this message translates to:
/// **'全部折叠'**
String get collapseAll;
/// No description provided for @searchLoadMoreFiles.
///
/// In zh, this message translates to:
/// **'加载更多文件 (还有 {count} 个)'**
String searchLoadMoreFiles(int count);
/// No description provided for @searchLoadMoreMatches.
///
/// In zh, this message translates to:
/// **'加载更多匹配项 (还有 {count} 项)'**
String searchLoadMoreMatches(int count);
/// No description provided for @confirmReplaceAllTitle.
///
/// In zh, this message translates to:
/// **'全部替换确认'**
String get confirmReplaceAllTitle;
/// No description provided for @confirmReplaceAllMessage.
///
/// In zh, this message translates to:
/// **'确定要在整个项目(共 {fileCount} 个文件)中将全部 {matchCount} 处匹配替换为 \"{replaceText}\" 吗?此操作将直接修改磁盘文件。'**
String confirmReplaceAllMessage(
int matchCount,
int fileCount,
String replaceText,
);
/// No description provided for @confirmReplaceFileTitle.
///
/// In zh, this message translates to:
/// **'替换文件匹配项确认'**
String get confirmReplaceFileTitle;
/// No description provided for @confirmReplaceFileMessage.
///
/// In zh, this message translates to:
/// **'确定要在 \"{fileName}\" 中将全部 {matchCount} 处匹配替换为 \"{replaceText}\" 吗?'**
String confirmReplaceFileMessage(
String fileName,
int matchCount,
String replaceText,
);
}
class _AppLocalizationsDelegate
+97
View File
@@ -1836,4 +1836,101 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get drawerTabGit => 'Source Control';
@override
String get searchHint => 'Search';
@override
String get replaceHint => 'Replace';
@override
String get matchCase => 'Match Case';
@override
String get matchWholeWord => 'Match Whole Word';
@override
String get useRegularExpression => 'Use Regular Expression';
@override
String get invalidRegularExpression => 'Invalid regular expression';
@override
String get projectDirectoryNotFound => 'Project directory does not exist';
@override
String get searchMoreOptions => 'More Options';
@override
String get searchModeText => 'Text Search';
@override
String get searchModeFileName => 'File Name Search';
@override
String get replaceAllInFile => 'Replace All in This File';
@override
String get replaceAllInProject => 'Replace All';
@override
String get replaceSingleMatch => 'Replace';
@override
String searchResultStats(int fileCount, int matchCount) {
return '$matchCount results in $fileCount files';
}
@override
String get noSearchResults => 'No results found';
@override
String searchError(String error) {
return 'Search failed: $error';
}
@override
String replaceSuccess(int count) {
return 'Replaced $count occurrences';
}
@override
String get expandAll => 'Expand All';
@override
String get collapseAll => 'Collapse All';
@override
String searchLoadMoreFiles(int count) {
return 'Load more files ($count remaining)';
}
@override
String searchLoadMoreMatches(int count) {
return 'Load more matches ($count remaining)';
}
@override
String get confirmReplaceAllTitle => 'Confirm Replace All';
@override
String confirmReplaceAllMessage(
int matchCount,
int fileCount,
String replaceText,
) {
return 'Are you sure you want to replace all $matchCount occurrences in $fileCount files with \"$replaceText\"? This will modify files on disk.';
}
@override
String get confirmReplaceFileTitle => 'Replace in File';
@override
String confirmReplaceFileMessage(
String fileName,
int matchCount,
String replaceText,
) {
return 'Are you sure you want to replace all $matchCount occurrences in \"$fileName\" with \"$replaceText\"?';
}
}
+97
View File
@@ -1776,4 +1776,101 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get drawerTabGit => '源代码管理';
@override
String get searchHint => '搜索';
@override
String get replaceHint => '替换';
@override
String get matchCase => '区分大小写';
@override
String get matchWholeWord => '全字匹配';
@override
String get useRegularExpression => '使用正则表达式';
@override
String get invalidRegularExpression => '无效的正则表达式';
@override
String get projectDirectoryNotFound => '项目目录不存在';
@override
String get searchMoreOptions => '更多选项';
@override
String get searchModeText => '内容搜索';
@override
String get searchModeFileName => '文件名搜索';
@override
String get replaceAllInFile => '替换此文件中的所有匹配项';
@override
String get replaceAllInProject => '全部替换';
@override
String get replaceSingleMatch => '替换';
@override
String searchResultStats(int fileCount, int matchCount) {
return '在 $fileCount 个文件中找到 $matchCount 处匹配';
}
@override
String get noSearchResults => '未找到匹配项';
@override
String searchError(String error) {
return '搜索失败: $error';
}
@override
String replaceSuccess(int count) {
return '已替换 $count 处匹配';
}
@override
String get expandAll => '全部展开';
@override
String get collapseAll => '全部折叠';
@override
String searchLoadMoreFiles(int count) {
return '加载更多文件 (还有 $count 个)';
}
@override
String searchLoadMoreMatches(int count) {
return '加载更多匹配项 (还有 $count 项)';
}
@override
String get confirmReplaceAllTitle => '全部替换确认';
@override
String confirmReplaceAllMessage(
int matchCount,
int fileCount,
String replaceText,
) {
return '确定要在整个项目(共 $fileCount 个文件)中将全部 $matchCount 处匹配替换为 \"$replaceText\" 吗?此操作将直接修改磁盘文件。';
}
@override
String get confirmReplaceFileTitle => '替换文件匹配项确认';
@override
String confirmReplaceFileMessage(
String fileName,
int matchCount,
String replaceText,
) {
return '确定要在 \"$fileName\" 中将全部 $matchCount 处匹配替换为 \"$replaceText\" 吗?';
}
}
+90 -1
View File
@@ -1012,5 +1012,94 @@
"chrootFailedFallbackToProot": "Chroot 挂载或权限失败,已自动降级为 PRoot 运行模式",
"drawerTabExplorer": "文件",
"drawerTabSearch": "搜索",
"drawerTabGit": "源代码管理"
"drawerTabGit": "源代码管理",
"searchHint": "搜索",
"replaceHint": "替换",
"matchCase": "区分大小写",
"matchWholeWord": "全字匹配",
"useRegularExpression": "使用正则表达式",
"invalidRegularExpression": "无效的正则表达式",
"projectDirectoryNotFound": "项目目录不存在",
"searchMoreOptions": "更多选项",
"searchModeText": "内容搜索",
"searchModeFileName": "文件名搜索",
"replaceAllInFile": "替换此文件中的所有匹配项",
"replaceAllInProject": "全部替换",
"replaceSingleMatch": "替换",
"searchResultStats": "在 {fileCount} 个文件中找到 {matchCount} 处匹配",
"@searchResultStats": {
"placeholders": {
"fileCount": {
"type": "int"
},
"matchCount": {
"type": "int"
}
}
},
"noSearchResults": "未找到匹配项",
"searchError": "搜索失败: {error}",
"@searchError": {
"placeholders": {
"error": {
"type": "String"
}
}
},
"replaceSuccess": "已替换 {count} 处匹配",
"@replaceSuccess": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"expandAll": "全部展开",
"collapseAll": "全部折叠",
"searchLoadMoreFiles": "加载更多文件 (还有 {count} 个)",
"@searchLoadMoreFiles": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"searchLoadMoreMatches": "加载更多匹配项 (还有 {count} 项)",
"@searchLoadMoreMatches": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"confirmReplaceAllTitle": "全部替换确认",
"confirmReplaceAllMessage": "确定要在整个项目(共 {fileCount} 个文件)中将全部 {matchCount} 处匹配替换为 \"{replaceText}\" 吗?此操作将直接修改磁盘文件。",
"@confirmReplaceAllMessage": {
"placeholders": {
"matchCount": {
"type": "int"
},
"fileCount": {
"type": "int"
},
"replaceText": {
"type": "String"
}
}
},
"confirmReplaceFileTitle": "替换文件匹配项确认",
"confirmReplaceFileMessage": "确定要在 \"{fileName}\" 中将全部 {matchCount} 处匹配替换为 \"{replaceText}\" 吗?",
"@confirmReplaceFileMessage": {
"placeholders": {
"fileName": {
"type": "String"
},
"matchCount": {
"type": "int"
},
"replaceText": {
"type": "String"
}
}
}
}