Skip to content

Commit

Permalink
added ja localization for Auth text for 10.8 or earlier. Reverted the…
Browse files Browse the repository at this point in the history
… key string to original.
  • Loading branch information
hkurosawa committed Jun 19, 2014
1 parent a07e289 commit b4befb6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ShiftIt/ShiftItAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ - (void)checkAuthorization {
defaultButton:NSLocalizedString(@"Recheck", nil)
alternateButton:NSLocalizedString(@"Open System Preferences", nil)
otherButton:NSLocalizedString(@"Quit", nil)
informativeTextWithFormat:NSLocalizedString(@"AUTHORIZATION_INFORMATIVE_TEXT_10_9", nil)
informativeTextWithFormat:NSLocalizedString(@"ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nYou can do this in System Preferences > Security & Privacy > Privacy > Accessibility. You might need to drag-and-drop ShiftIt into the list of allowed apps and make sure the checkbox is on.", nil)
];

NSImageView *accessory = [[[NSImageView alloc] initWithFrame:NSMakeRect(0, 0, 300, 234)] autorelease];
Expand Down Expand Up @@ -374,7 +374,7 @@ - (void)checkAuthorization {
defaultButton:NSLocalizedString(@"Quit", nil)
alternateButton:nil
otherButton:NSLocalizedString(@"Open System Preferences", nil)
informativeTextWithFormat:NSLocalizedString(@"AUTHORIZATION_INFORMATIVE_TEXT_10_8", nil)
informativeTextWithFormat:NSLocalizedString(@"ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nPlease \"Enable access for assistive devices\" in the System Preferences > Universal Access and then restart ShiftIt.", nil)
];

NSImageView *accessory = [[[NSImageView alloc] initWithFrame:NSMakeRect(0, 0, 300, 234)] autorelease];
Expand Down
4 changes: 2 additions & 2 deletions ShiftIt/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"Recheck" = "Recheck";
"Open System Preferences" = "Open System Preferences";
"Quit" = "Quit";
"AUTHORIZATION_INFORMATIVE_TEXT_10_9" = "ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nYou can do this in System Preferences > Security & Privacy > Privacy > Accessibility. You might need to drag-and-drop ShiftIt into the list of allowed apps and make sure the checkbox is on.";
"AUTHORIZATION_INFORMATIVE_TEXT_10_8" = "ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nPlease \"Enable access for assistive devices\" in the System Preferences > Universal Access and then restart ShiftIt.";
"ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nYou can do this in System Preferences > Security & Privacy > Privacy > Accessibility. You might need to drag-and-drop ShiftIt into the list of allowed apps and make sure the checkbox is on." = "ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nYou can do this in System Preferences > Security & Privacy > Privacy > Accessibility. You might need to drag-and-drop ShiftIt into the list of allowed apps and make sure the checkbox is on.";
"ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nPlease \"Enable access for assistive devices\" in the System Preferences > Universal Access and then restart ShiftIt." = "ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nPlease \"Enable access for assistive devices\" in the System Preferences > Universal Access and then restart ShiftIt.";
3 changes: 2 additions & 1 deletion ShiftIt/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@
"Recheck" = "再確認";
"Open System Preferences" = "システム環境設定を開く";
"Quit" = "終了";
"AUTHORIZATION_INFORMATIVE_TEXT_10_9" = "ShiftItはアプリケーションウインドウの移動やリサイズをするためにアクセシビリティサービスの許可が必要です。\n\nこれはシステム環境設定 > セキュリティとプライバシー > プライバシー > アクセシビリティで設定が行えます。ShiftItを許可アプリケーションのリストにドラッグ&ドロップして追加し、チェックボックスにチェックマークを付ける必要があるかもしれません。";
"ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nYou can do this in System Preferences > Security & Privacy > Privacy > Accessibility. You might need to drag-and-drop ShiftIt into the list of allowed apps and make sure the checkbox is on." = "ShiftIt はアプリケーションウインドウの移動やリサイズをするためにアクセシビリティサービスの許可が必要です。\n\nこれはシステム環境設定 > セキュリティとプライバシー > プライバシー > アクセシビリティで設定が行えます。ShiftIt を許可アプリケーションのリストにドラッグ&ドロップして追加し、チェックボックスにチェックマークを付ける必要があるかもしれません。";
"ShiftIt needs to be authorized to use an Accessibility Services in order to be able to move and resize application windows.\n\nPlease \"Enable access for assistive devices\" in the System Preferences > Universal Access and then restart ShiftIt." = "ShiftIt はアプリケーションウインドウの移動やリサイズをするためにアクセシビリティサービスの許可が必要です。\n\nPlease \"Enable access for assistive devices\" in the システム環境設定 > ユニバーサルアクセスから\"補助装置にアクセスできるようにする\"を有効にした後、ShiftIt を再起動してください。";

0 comments on commit b4befb6

Please sign in to comment.