Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions Languages/ja.lproj/CharacterScripts.strings
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"Oh, right!" = "あ、そうだ!";

/* Character-Script-1000-0 Push The Lab. */
"Well, everything you taught me%nis unlocked in The Lab!" = "${userName}が教えてくれたことは全て%nじっけん室で使って遊べるよ!";
"Well, everything you taught me%nis unlocked in The Lab!" = "キミが教えてくれたことは全て%nじっけん室で使って遊べるよ!";

/* Character-Script-1000-0 Explain Romo Control. */
"Really?" = "ほんとう?";
Expand Down Expand Up @@ -335,7 +335,7 @@
"Let's play%nPeek-a-Boo!" = "いないいないばあを%nして遊ぼう!";

/* Character-Script-2-4 Ask to see their face */
"Lemme see%nyour face." = "${userName}の顔を見せて";
"Lemme see%nyour face." = "キミの顔を見せて";

/* Character-Script-2-4 play */
"Now cover%nyour face." = "つぎは顔をかくして";
Expand All @@ -347,7 +347,7 @@
"I missed ya,%n${userName}!" = "キミがいないとさみしいよ、%n${userName}!";

/* Character-Script-2-4 */
"Now I know%nhow to follow your face." = "${userName}の顔を追いかける%nやりかたがわかったよ";
"Now I know%nhow to follow your face." = "キミの顔を追いかける%nやりかたがわかったよ";

/* Character-Script-2-5 Ask to be removed from base */
"Getting un-docked%n feels...%n" = "ドックからはずされてると%nなんだか…%n";
Expand Down Expand Up @@ -380,7 +380,7 @@
"Hey%n${userName}!" = "やぁ%n${userName}!";

/* Character-Script-2-7 Prompt for pickup */
"Pick me up%nand bring me to%nyour favorite place." = "ボクをもち上げて%n${userName}の好きな場所へ%nつれてって";
"Pick me up%nand bring me to%nyour favorite place." = "ボクをもち上げて%nキミの好きな場所へ%nつれてって";

/* Character-Script-2-7 get picked up */
"Tell me when%nwe're there!" = "そこについたら%n教えてね!";
Expand All @@ -395,7 +395,7 @@
"Let me%ntake a look!" = "ちょっと%n見せて!";

/* Character-Script-2-7 Explain that you like it here */
"I see why you%nlike it here!" = "${userName}がここを好きな%nりゆうが分かるよ!";
"I see why you%nlike it here!" = "キミがここを好きな%nりゆうが分かるよ!";

/* Character-Script-2-7 Ask for photo */
"%nWant me to snap a photo?" = "%nボクにしゃしんをとってほしい?";
Expand Down Expand Up @@ -428,7 +428,7 @@
"Let's practice %nour starts" = "スタートの練習をしよう";

/* Character-Script-3-1 */
"You clap, %nand I'll dart forward" = "${userName}が手をたたくと、%nボクは前にすすむよ";
"You clap, %nand I'll dart forward" = "キミが手をたたくと、%nボクは前にすすむよ";

/* Character-Script-3-1 */
"First put me somewhere%nwith plenty of room" = "まずは広い場所に%nボクをおいてね";
Expand Down Expand Up @@ -473,7 +473,7 @@
"I'm gonna%nchill out%nfor a sec." = "ちょっとおちつかないと";

/* Character-Script-3-2 Explain wtf is about to happen */
"Ooh!%nShow me your best%nFreeze Dance." = "そうだ!${userName}の%nさいこうのフリーズダンス%nを見せてよ";
"Ooh!%nShow me your best%nFreeze Dance." = "そうだ!キミの%nさいこうのフリーズダンス%nを見せてよ";

/* Character-Script-3-2 Explain wtf is about to happen */
"Do you guys do%nFreeze Dance%non Earth?" = "地球では%nフリーズダンス%nをしないの?";
Expand All @@ -491,13 +491,13 @@
"But if you freeze...%nthen it's just the breeze." = "でも止まると…%n風の音しか聞こえなくなるよ";

/* Character-Script-3-2 Explain wtf is about to happen */
"OK, talk is cheap.%nLet's see your best..." = "さあ、口で言うのは%nかんたんだ見せてよ%n${userName}のベストを…";
"OK, talk is cheap.%nLet's see your best..." = "さあ、口で言うのは%nかんたんだ見せてよ%nキミのベストを…";

/* Character-Script-3-2 Do the freeze dance */
"That dance was..." = "そのダンスは…";

/* Character-Script-3-2 Do the freeze dance */
"Incredible!%nYour arms%nare so wobbly!" = "すばらしい!%n${userName}のうでは%nすごくくねくねだね!";
"Incredible!%nYour arms%nare so wobbly!" = "すばらしい!%nキミのうでは%nすごくくねくねだね!";

/* Character-Script-3-3 Looks up and chuckles */
"That's...%npretty neat." = "それってすごくいいね";
Expand All @@ -518,7 +518,7 @@
"Look at the photos%nI snapped!" = "しゃしんを見て%nボクがとったんだ!";

/* Character-Script-3-5 Show off them photos */
"I'll save these in%nyour Camera app." = "${userName}のカメラアプリに%nほぞんするよ";
"I'll save these in%nyour Camera app." = "キミのカメラアプリに%nほぞんするよ";

/* Character-Script-3-6 */
"Now that I can%ndrive on a path" = "みちを走れる%nようになったよ";
Expand All @@ -539,7 +539,7 @@
"Robots race after%na colorful ball." = "カラフルなボールを%n追いかけるよ";

/* Chase-Introduction-First-Run Explains Chase */
"Let's use everying%nyou taught me..." = "${userName}が教えてくれたことを%n全て使おう!";
"Let's use everying%nyou taught me..." = "キミが教えてくれたことを%n全て使おう!";

/* Chase-Introduction-First-Run Explains Chase */
"...and%nstart chasing!" = "そして追いかけはじめよう!";
Expand Down Expand Up @@ -584,7 +584,7 @@
"On Earth, there's%nso much to explore!" = "地球にはたんけんする%n場所がたくさんあるね!";

/* Favorite-Color-Introduction-First-Run Lead in to interactive help */
"Let me%nshow you something" = "${userName}に見せたいものが%nあるんだ";
"Let me%nshow you something" = "キミに見せたいものが%nあるんだ";

/* Favorite-Color-Introduction Explain the game */
"I have a%nfavorite color" = "好きな色%nがあるんだ";
Expand All @@ -596,7 +596,7 @@
"Try to find%nmy favorite color" = "ボクの好きな色%nを見つけてみよう";

/* Favorite-Color-Introduction Explain the game */
"I'll give you%na hint..." = "${userName}にヒント%nをあげるよ…";
"I'll give you%na hint..." = "キミにヒント%nをあげるよ…";

/* Favorite-Color-Introduction Explain the game */
"I'll help%nyou out..." = "手つだって%nあげる…";
Expand Down Expand Up @@ -647,7 +647,7 @@
"And let me get%na good look!" = "そして、よく%n見せて!";

/* Favorite-Color-Introduction Explain the game */
"And I'll tell you%nif I like it!" = "もし好きな色だったら%n${userName}に教えるね!";
"And I'll tell you%nif I like it!" = "もし好きな色だったら%nキミに教えるね!";

/* Favorite-Color-Introduction Explain the game */
"And if I don't like it,%nkeep guessing!" = "好きじゃなかったら、%n考えつづけてね!";
Expand Down Expand Up @@ -713,7 +713,7 @@
"Now go build%nyour track!" = "自分のコース%nをつくりに行こう!";

/* LineFollow-Introduction-First-Run DO NOT See Video */
"Okay, I'll leave you to%nbuild your track." = "よし、コース作りは%n{userName}にまかせるね";
"Okay, I'll leave you to%nbuild your track." = "よし、コース作りは%nキミにまかせるね";

/* LineFollow-Introduction-First-Run Ask them to let Romo know when they are done! */
"Tell me when you're%ndone building." = "作りおわったら%n教えてね";
Expand Down
2 changes: 1 addition & 1 deletion Languages/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@
"FavColor-WrongColorPrompt1" = "ちがうよ!考えつづけてね!";

/* FavColor-WrongColorPrompt10 */
"FavColor-WrongColorPrompt10" = "ちがうけど、それは{userName}の\n好きな色?";
"FavColor-WrongColorPrompt10" = "ちがうけど、それはキミの\n好きな色?";

/* FavColor-WrongColorPrompt11 */
"FavColor-WrongColorPrompt11" = "うーん…その色じゃないよ";
Expand Down
26 changes: 26 additions & 0 deletions src/Creature/RMMatureCreatureRobotController.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

#import "RMMatureCreatureRobotController.h"
#import "Photos/Photos.h"

#import <Romo/RMVision.h>
#import <Romo/RMImageUtils.h>
Expand Down Expand Up @@ -491,6 +492,31 @@ - (RMMotionDetectionModule *)motionDetectionModule

- (void)requestPhotoLibraryPermission
{
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Error"
message:@"Please allow to access PhotoLibrary"
preferredStyle:UIAlertControllerStyleAlert];
[alert addAction:[UIAlertAction actionWithTitle:@"OK"
style:UIAlertActionStyleDefault handler:nil]];

switch ([PHPhotoLibrary authorizationStatus]) {
case PHAuthorizationStatusNotDetermined: {
// In case of unpermitted
[PHPhotoLibrary requestAuthorization:^(PHAuthorizationStatus status){
switch (status) {
case PHAuthorizationStatusRestricted:
case PHAuthorizationStatusDenied:
// Alert
[self presentViewController:alert animated:YES completion:nil];
break;

default:
break;
}
}];
break;
}
}

// By creating and showing a UIImagePickerController, the user will be
// prompted to allow photo access
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
Expand Down