Skip to content

Commit

Permalink
fix default app; fix Italian localization
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyun6 committed May 24, 2024
1 parent 5b0d8db commit f97cc1b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 20 deletions.
8 changes: 4 additions & 4 deletions QuickRecorder.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
CODE_SIGN_ENTITLEMENTS = QuickRecorder/QuickRecorder.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 126;
CURRENT_PROJECT_VERSION = 127;
DEVELOPMENT_ASSET_PATHS = "\"QuickRecorder/Preview Content\"";
DEVELOPMENT_TEAM = L4T783637F;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -436,7 +436,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.3;
MARKETING_VERSION = 1.2.6;
MARKETING_VERSION = 1.2.7;
PRODUCT_BUNDLE_IDENTIFIER = com.lihaoyun6.QuickRecorder;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -452,7 +452,7 @@
CODE_SIGN_ENTITLEMENTS = QuickRecorder/QuickRecorder.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 126;
CURRENT_PROJECT_VERSION = 127;
DEVELOPMENT_ASSET_PATHS = "\"QuickRecorder/Preview Content\"";
DEVELOPMENT_TEAM = L4T783637F;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -468,7 +468,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.3;
MARKETING_VERSION = 1.2.6;
MARKETING_VERSION = 1.2.7;
PRODUCT_BUNDLE_IDENTIFIER = com.lihaoyun6.QuickRecorder;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
2 changes: 1 addition & 1 deletion QuickRecorder/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<string>mp4</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>NSDocumentClass</key>
Expand Down
26 changes: 13 additions & 13 deletions QuickRecorder/ViewModel/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,26 +169,26 @@ struct SettingsView: View {
VStack(spacing: 5.5) {
BundleSelector()
Text("These apps will be excluded when recording \"Screen\" or \"Screen Area\"\n* But if the app is launched after the recording starts, it cannot be excluded.")
.font(.footnote).foregroundColor(Color.gray).padding([.leading,.trailing], 6).fixedSize(horizontal: false, vertical: true)
.font(.footnote).foregroundColor(Color.gray).padding([.leading,.trailing], 0).fixedSize(horizontal: false, vertical: true)
}
}.frame(width: 220)
}
HStack(alignment: .top, spacing: 17) {
GroupBox(label: Text("Update Settings".local).fontWeight(.bold)) {
ZStack(){
ZStack(alignment: .bottomTrailing){
GroupBox(label: Text("Update Settings".local).fontWeight(.bold)) {
Form(){
UpdaterSettingsView(updater: updaterController.updater)
}.frame(maxWidth: .infinity).padding([.top, .bottom], 5)
Button(action: {
updaterController.updater.checkForUpdates()
}) {
Image(systemName: "arrow.clockwise.circle.fill")
.foregroundStyle(.blue)
}
.buttonStyle(.plain)
.padding(.leading, 250).padding(.top, 36)
}
}.frame(width: 270)
Button(action: {
updaterController.updater.checkForUpdates()
}) {
Image(systemName: "arrow.clockwise.circle.fill")
.foregroundStyle(.blue)
}
.buttonStyle(.plain)
.padding(2)
}.frame(width: 320)
GroupBox(label: Text("Icon Settings".local).fontWeight(.bold)) {
Form(){
Toggle(isOn: $showOnDock) { Text("Show Dock Icon") }
Expand All @@ -200,7 +200,7 @@ struct SettingsView: View {
.toggleStyle(.checkbox)
.onChange(of: showMenubar) { _ in appDelegate.updateStatusBar() }
}.frame(maxWidth: .infinity).padding([.top, .bottom], 5)
}.frame(width: 270)
}.frame(width: 220)
}
Divider()
HStack {
Expand Down
Binary file modified QuickRecorder/it.lproj/Localizable.strings
Binary file not shown.
3 changes: 1 addition & 2 deletions QuickRecorder/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"Video Settings" = "视频设置";
"Exclude QuickRecorder itself" = "排除QuickRecorder窗口";
"Highlight the Mouse Cursor" = "为鼠标光标添加高亮效果";
"Not available for \"Single Window Capture\"" = "此功能不适用于\"录制单个窗口\"的情况";
"Not available for \"Single Window Capture\"" = "此功能在录制单个窗口时不可用";
"Normal - 128Kbps" = "标准 - 128Kbps";
"Good - 192Kbps" = "优质 - 192Kbps";
"High - 256Kbps" = "高清 - 256Kbps";
Expand All @@ -81,7 +81,6 @@
"Set custom background color:" = "设置用户预设颜色(自定义背景):";
"File size: %@" = "文件大小: %@";
"Recording: " = "正在录制: ";
"Display " = "显示器 ";
"Preferences…" = "设置…";
"Quit QuickRecorder" = "退出QuickRecorder";
"Multiple Windows" = "多个窗口";
Expand Down

0 comments on commit f97cc1b

Please sign in to comment.