Skip to content

Commit

Permalink
Add battery widget l10n keys
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Nov 7, 2020
1 parent 41f5528 commit a559aff
Show file tree
Hide file tree
Showing 53 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions BatteryWidget/BatteryWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ struct BatteryWidget: Widget {
StaticConfiguration(kind: kind, provider: Provider()) { entry in
BatteryWidgetEntryView(entry: entry)
}
.configurationDisplayName("widget.memory.title".localized())
.description("widget.memory.description".localized())
.configurationDisplayName("widget.battery.title".localized())
.description("widget.battery.description".localized())
.supportedFamilies([.systemSmall])
}
}
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,5 @@
"widget.cpu.description" = "Display CPU information";
"widget.memory.title" = "Memory Widget";
"widget.memory.description" = "Display memory information";
"widget.battery.title" = "Battery Widget";
"widget.battery.description" = "Display battery information";
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,5 @@
"widget.cpu.description" = "Display CPU information";
"widget.memory.title" = "Memory Widget";
"widget.memory.description" = "Display memory information";
"widget.battery.title" = "Battery Widget";
"widget.battery.description" = "Display battery information";
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,5 @@
"widget.cpu.description" = "Display CPU information";
"widget.memory.title" = "Memory Widget";
"widget.memory.description" = "Display memory information";
"widget.battery.title" = "Battery Widget";
"widget.battery.description" = "Display battery information";
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,5 @@
"widget.cpu.description" = "Display CPU information";
"widget.memory.title" = "Memory Widget";
"widget.memory.description" = "Display memory information";
"widget.battery.title" = "Battery Widget";
"widget.battery.description" = "Display battery information";
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,5 @@
"widget.cpu.description" = "显示 CPU 相关信息";
"widget.memory.title" = "内存小组件";
"widget.memory.description" = "显示内存相关信息";
"widget.battery.title" = "电池小组件";
"widget.battery.description" = "显示电池相关信息";
6 changes: 3 additions & 3 deletions eul.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -391,13 +391,13 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
6C16BEEB2552EC5800CCF5B7 /* Common */ = {
6C16BEEB2552EC5800CCF5B7 /* Resource */ = {
isa = PBXGroup;
children = (
6C5F8542249FACE200CF0EF8 /* Assets.xcassets */,
6C58053F250CC6B8007F467A /* Localizable.strings */,
);
path = Common;
path = Resource;
sourceTree = "<group>";
};
6C16BEEF2552EDD900CCF5B7 /* Extension */ = {
Expand Down Expand Up @@ -498,7 +498,7 @@
isa = PBXGroup;
children = (
6C2688EF2556762B00FB7306 /* SharedLibrary */,
6C16BEEB2552EC5800CCF5B7 /* Common */,
6C16BEEB2552EC5800CCF5B7 /* Resource */,
6C5F853D249FACE000CF0EF8 /* eul */,
6C7E1F032552EB2600287D08 /* CpuWidget */,
6C45750825568DCB00A2AD84 /* MemoryWidget */,
Expand Down

0 comments on commit a559aff

Please sign in to comment.