Kaynağa Gözat

new Intro .. in building

Marino Faggiana 8 yıl önce
ebeveyn
işleme
67c6a996ec
2 değiştirilmiş dosya ile 3 ekleme ve 146 silme
  1. 1 126
      iOSClient/Intro/CCIntro.m
  2. 2 20
      iOSClient/en.lproj/Intro.strings

+ 1 - 126
iOSClient/Intro/CCIntro.m

@@ -73,133 +73,8 @@
     page1.titleIconPositionY = titleIconPositionY;
     page1.showTitleView = NO;
     
-    EAIntroPage *page2 = [EAIntroPage page];
-    page2.title = [CCUtility localizableBrand:@"_intro_03_" table:@"Intro"]; // "CHIAVE DI CRIPTAZIONE"
-    page2.titlePositionY = titlePositionY;
-    page2.titleFont = [UIFont systemFontOfSize:20];
-    page2.desc = [CCUtility localizableBrand:@"_intro_04_" table:@"Intro"];
-    page2.descPositionY = descPositionY;
-    page2.descFont = [UIFont systemFontOfSize:14];
-    page2.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro2Nextcloud"]];
-    page2.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page2.titleColor = COLOR_GRAY;
-    page2.descColor = COLOR_GRAY;
-    page2.titleIconPositionY = titleIconPositionY;
-    page2.showTitleView = NO;
     
-    EAIntroPage *page3 = [EAIntroPage page];
-    page3.title = [CCUtility localizableBrand:@"_intro_05_" table:@"Intro"]; // ACCEDI
-    page3.titlePositionY = titlePositionY;
-    page3.titleFont = [UIFont systemFontOfSize:20];
-    page3.descPositionY = descPositionY;
-    page3.descFont = [UIFont systemFontOfSize:14];
-    page3.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro3Nextcloud"]];
-    page3.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page3.titleColor = COLOR_GRAY;
-    page3.descColor = COLOR_GRAY;
-    page3.desc = [CCUtility localizableBrand:@"_intro_06_" table:@"Intro"];
-    page3.titleIconPositionY = titleIconPositionY;
-    page3.showTitleView = NO;
-    
-    EAIntroPage *page4 = [EAIntroPage page];
-    page4.title = [[CCUtility localizableBrand:@"_intro_07_" table:@"Intro"] uppercaseString]; // "CRYPTO CLOUD" - "NEXTCLOUD"
-    page4.titlePositionY = titlePositionY;
-    page4.titleColor = COLOR_GRAY;
-    page4.titleFont = [UIFont systemFontOfSize:20];
-    page4.desc = [CCUtility localizableBrand:@"_intro_08_" table:@"Intro"];
-    page4.descPositionY = descPositionY;
-    page4.descColor = COLOR_GRAY;
-    page4.descFont = [UIFont systemFontOfSize:14];
-    page4.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro4Nextcloud"]];
-    page4.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page4.titleIconPositionY = titleIconPositionY;
-    page4.showTitleView = NO;
-    
-    EAIntroPage *page5 = [EAIntroPage page];
-    page5.title = [CCUtility localizableBrand:@"_intro_09_" table:@"Intro"]; // "OFFLINE & LOCAL"
-    page5.titlePositionY = titlePositionY;
-    page5.titleFont = [UIFont systemFontOfSize:20];
-    page5.desc = [CCUtility localizableBrand:@"_intro_10_" table:@"Intro"];
-    page5.descPositionY = descPositionY;
-    page5.descFont = [UIFont systemFontOfSize:14];
-    page5.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro5Nextcloud"]];
-    page5.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page5.titleColor = COLOR_GRAY;
-    page5.descColor = COLOR_GRAY;
-    page5.titleIconPositionY = titleIconPositionY;
-    page5.showTitleView = NO;
-    
-    EAIntroPage *page6 = [EAIntroPage page];
-    page6.title = [CCUtility localizableBrand:@"_intro_11_" table:@"Intro"]; // "CRIPTA / DECRIPTA"
-    page6.titlePositionY = titlePositionY;
-    page6.titleFont = [UIFont systemFontOfSize:20];
-    page6.desc = [CCUtility localizableBrand:@"_intro_12_" table:@"Intro"];
-    page6.descPositionY = descPositionY;
-    page6.descFont = [UIFont systemFontOfSize:14];
-    page6.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro6Nextcloud"]];
-    page6.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page6.titleColor = COLOR_GRAY;
-    page6.descColor = COLOR_GRAY;
-    page6.titleIconPositionY = titleIconPositionY;
-    page6.showTitleView = NO;
-    
-    EAIntroPage *page7 = [EAIntroPage page];
-    page7.title = [CCUtility localizableBrand:@"_intro_13_" table:@"Intro"]; // "AGGIUNGI"
-    page7.titlePositionY = titlePositionY;
-    page7.titleColor = COLOR_GRAY;
-    page7.titleFont = [UIFont systemFontOfSize:20];
-    page7.desc = [CCUtility localizableBrand:@"_intro_14_" table:@"Intro"];
-    page7.descPositionY = descPositionY;
-    page7.descColor = COLOR_GRAY;
-    page7.descFont = [UIFont systemFontOfSize:14];
-    page7.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro7Nextcloud"]];
-    page7.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page7.titleIconPositionY = titleIconPositionY;
-    page7.showTitleView = NO;
-    
-    EAIntroPage *page8 = [EAIntroPage page];
-    page8.title = [CCUtility localizableBrand:@"_intro_15_" table:@"Intro"]; // "TEMPLATES"
-    page8.titlePositionY = titlePositionY;
-    page8.titleFont = [UIFont systemFontOfSize:20];
-    page8.desc = [CCUtility localizableBrand:@"_intro_16_" table:@"Intro"];
-    page8.descPositionY = descPositionY;
-    page8.descFont = [UIFont systemFontOfSize:14];
-    page8.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro8Nextcloud"]];
-    page8.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page8.titleColor = COLOR_GRAY;
-    page8.descColor = COLOR_GRAY;
-    page8.titleIconPositionY = titleIconPositionY;
-    page8.showTitleView = NO;
-    
-    EAIntroPage *page9 = [EAIntroPage page];
-    page9.title = [CCUtility localizableBrand:@"_intro_17_" table:@"Intro"]; // "BLOCCO PASSCODE"
-    page9.titlePositionY = titlePositionY;
-    page9.titleFont = [UIFont systemFontOfSize:20];
-    page9.desc = [CCUtility localizableBrand:@"_intro_18_" table:@"Intro"];
-    page9.descPositionY = descPositionY;
-    page9.descFont = [UIFont systemFontOfSize:14];
-    page9.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro9Nextcloud"]];
-    page9.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page9.titleColor = COLOR_GRAY;
-    page9.descColor = COLOR_GRAY;
-    page9.titleIconPositionY = titleIconPositionY;
-    page9.showTitleView = NO;
-    
-    EAIntroPage *page10 = [EAIntroPage page];
-    page10.title = [CCUtility localizableBrand:@"_intro_19_" table:@"Intro"]; // "INIZIO"
-    page10.titlePositionY = titlePositionY;
-    page10.titleColor = COLOR_GRAY;
-    page10.titleFont = [UIFont systemFontOfSize:20];
-    page10.descPositionY = descPositionY;
-    page10.descColor = COLOR_GRAY;
-    page10.descFont = [UIFont systemFontOfSize:14];
-    page10.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"intro10Nextcloud"]];
-    page10.bgImage = [UIImage imageNamed:@"bgbianco"];
-    page10.desc = [CCUtility localizableBrand:@"_intro_20_" table:@"Intro"];
-    page10.titleIconPositionY = titleIconPositionY;
-    page10.showTitleView = NO;
-    
-    EAIntroView *intro = [[EAIntroView alloc] initWithFrame:self.rootView.bounds andPages:@[page1, page2, page3, page4, page5, page6, page7, page8, page9, page10]];
+    EAIntroView *intro = [[EAIntroView alloc] initWithFrame:self.rootView.bounds andPages:@[page1]];
     //intro.backgroundColor = [UIColor whiteColor];
     intro.tapToNext = YES;
     intro.pageControl.pageIndicatorTintColor = [UIColor lightGrayColor];

+ 2 - 20
iOSClient/en.lproj/Intro.strings

@@ -8,26 +8,8 @@
 
 // Intro
 
-"_intro_01_" = "WELCOME";
-"_intro_02_" = "Based on the encryption AES-256, _brand_ will enable you to store all your private data (documents, templates, photos, videos, etc…) in your Cloud, thus keeping them safe from possible 'prying eyes'.";
-"_intro_03_" = "ENCRYPTION KEY";
-"_intro_04_" = "In order to immediately start using _brand_ you will be asked to enter a encryption key (minimum 4 characters, maximum 64 characters). The combination will be required just once and it cannot be modified. Should you forget it, you will never be able to retrieve it and your files will remain encrypted. Should you re-install _brand_ or access to your data from another iPhone, use the same combination you entered the first time.";
-"_intro_05_" = "LOGIN";
-"_intro_06_" = "Afterwards, you can create your own account by entering the requested data.";
-"_intro_07_" = "_brand_";
-"_intro_08_" = "From now on, you will be able to see all the files stored in your Cloud. You will be able to rename, move, delete them, send them to other compatible programs installed in your iPhone, and much more.";
-"_intro_09_" = "OFFLINE & LOCAL STORAGE";
-"_intro_10_" = "You can tag the most important files or folders as 'Offline', so that they are copied and will always remain synchronized on your iPhone and they can be consulted offline. In the 'Local storage' instead enter files that are no longer synchronized. In the 'Local storage' they will be decompress the compressed files you download from the cloud where you can also access it via iTunes.";
-"_intro_11_" = "ENCRYPT / DECRYPT";
-"_intro_12_" = "Any file can be encrypted or decrypted. The name of folders containing your files can be encrypted as well (so as to hide any possible hint at their contents).";
-"_intro_13_" = "ADD";
-"_intro_14_" = "Any kind of document, either in standard or in encrypted format, can be uploaded from _brand_ onto your Cloud. All encrypted files and folders will be marked in orange colour. If they are in preview mode, they will be identified by a 3 bullets orange label instead.";
-"_intro_15_" = "TEMPLATES";
-"_intro_16_" = "Templates for recording your confidential data (note, credit card, ATM card, bank accounts, passwords to websites, etc…) are available and they can be saved in your Cloud in encrypted mode as well.";
-"_intro_17_" = "PASSWORD LOCK";
-"_intro_18_" = "In order to  prevent other potential users of your iPhone from accessing your _brand_, you can activate the 'password lock' directly from the settings. The password lock can be modified, disabled, or even used to protect access to individual folders.";
-"_intro_19_" = "START";
-"_intro_20_" = "Good, you’re now ready to start using your _brand_. We remind you that you can find further information and news or contact us on the site: \n\n https://nextcloud.com \n\n Come and visit us!";
+"_intro_01_" = "START";
+"_intro_02_" = "Good, you’re now ready to start using your _brand_. We remind you that you can find further information and news or contact us on the site: \n\n https://nextcloud.com \n\n Come and visit us!";
 
 // Intro END