Skip to content

Commit

Permalink
补充与校正
Browse files Browse the repository at this point in the history
  • Loading branch information
jhqwqmc committed Apr 17, 2024
1 parent c237fda commit e895858
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions app/lib/models/page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ bool entryExists(EntryExistsRef ref, String entryId) {
}

enum PageType {
sequence("trigger", FontAwesomeIcons.diagramProject, Colors.blue),
static("static", FontAwesomeIcons.bars, Colors.deepPurple),
cinematic("cinematic", FontAwesomeIcons.film, Colors.orange),
sequence("触发器", FontAwesomeIcons.diagramProject, Colors.blue),
static("静态", FontAwesomeIcons.bars, Colors.deepPurple),
cinematic("过场动画", FontAwesomeIcons.film, Colors.orange),
;

const PageType(this.tag, this.icon, this.color);
Expand Down
6 changes: 3 additions & 3 deletions app/lib/models/staging.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ class PublishPagesIntent extends Intent {
final stagingStateProvider = StateProvider((ref) => StagingState.production);

enum StagingState {
publishing("Publishing", Colors.lightBlue),
staging("Staging", Colors.orange),
production("Production", Colors.green);
publishing("发布中", Colors.lightBlue),
staging("暂存中", Colors.orange),
production("生产中", Colors.green);

const StagingState(this.label, this.color);

Expand Down
2 changes: 1 addition & 1 deletion app/lib/pages/page_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class _SearchBar extends HookConsumerWidget {
color: Colors.grey,
),
const SizedBox(width: 5),
const Text("Search", style: TextStyle(color: Colors.grey)),
const Text("搜索", style: TextStyle(color: Colors.grey)),
const SizedBox(width: 50),
ShortcutLabel(
activator: SmartSingleActivator(
Expand Down
2 changes: 1 addition & 1 deletion app/lib/widgets/components/app/cinematic_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ class _SegmentOperations extends HookConsumerWidget {
return const Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SectionTitle(title: "执行"),
SectionTitle(title: "操作"),
SizedBox(height: 8),
_DuplicateSegment(),
SizedBox(height: 8),
Expand Down
2 changes: 1 addition & 1 deletion app/lib/widgets/inspector/editors/name.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class NameField extends HookConsumerWidget {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const SectionTitle(title: "Name"),
const SectionTitle(title: "名称"),
const SizedBox(height: 1),
WritersIndicator(
provider: fieldWritersProvider("name"),
Expand Down
2 changes: 1 addition & 1 deletion app/lib/widgets/inspector/headers/capture_action.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class CaptureHeaderAction extends HookConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
return Tooltip(
message: "捕获领域",
message: "捕获区域",
child: Material(
borderRadius: BorderRadius.circular(4),
color: Colors.blue,
Expand Down
2 changes: 1 addition & 1 deletion app/lib/widgets/inspector/operations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Operations extends HookConsumerWidget {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const SectionTitle(title: "执行"),
const SectionTitle(title: "操作"),
const SizedBox(height: 8),
for (final action in actions) ...[
if (action is ContextMenuDivider) const Divider(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn append_info(builder: &mut Builder, entry: &EntryClass) {
}

fn append_fields(builder: &mut Builder, entry: &EntryClass) {
builder.append_line("## Fields");
builder.append_line("## 字段");
builder.empty_line();

entry
Expand Down

0 comments on commit e895858

Please sign in to comment.