Skip to content

Commit

Permalink
maf3-sdk: add new Demo UI
Browse files Browse the repository at this point in the history
  • Loading branch information
oscaruitenbroek committed Oct 17, 2017
1 parent b8a2a04 commit d46baf5
Show file tree
Hide file tree
Showing 94 changed files with 621 additions and 2,061 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions apps/com.metrological.ui.Demo/Contents/Javascript/init.js
@@ -0,0 +1,27 @@
Theme.set({
BaseFocus: {
styles: {
backgroundColor: 'rgba(3,138,224,.5)'
}
}
});

Theme.Fonts.add('InterstatePro-Bold', 'Fonts/InterstatePro-Bold');
Theme.Fonts.add('InterstatePro-ExtraLight', 'Fonts/InterstatePro-ExtraLight');
Theme.Fonts.add('InterstatePro-Light', 'Fonts/InterstatePro-Light');
Theme.Fonts.add('InterstatePro-Regular', 'Fonts/InterstatePro-Regular');

Theme.Fonts.setDefault('InterstatePro-Regular');

include('Javascript/Core/ApplicationManager.js');
include('Javascript/Views/Apps.js');

Facebook.init('183031261739046');
Twitter.init('requiredATM');

MAF.application.init({
views: [
{ id: 'view-Apps', viewClass: AppsView }
],
defaultViewId: 'view-Apps'
});
Expand Up @@ -15,8 +15,8 @@
"RETRY" = "OBNOVIT";
"CLOSE" = "ZAVŘÍT";
"IMPRESSUM" = "IMPRESSUM";
"APP_STORE" = "APLIKACE";
"TOS_HEADER" = "APLIKACE";
"APP_STORE" = "APP STORE";
"TOS_HEADER" = "App Store";
"ALL_APPS" = "VŠECHNY APLIKACE";
"NOW_PLAYING" = "PŘEHRÁVÁ SE";
"LIVE_TV" = "ŽIVÉ VYSÍLÁNÍ";
Expand Down Expand Up @@ -54,9 +54,9 @@
"TWITTER_METHOD" = "Připojení k Twitteru";
"TWITTER_QRCODE" = "Please scan QRCode below. When authentication has been completed, a 7 digit code will be generated.";
"TWITTER_EMAIL" = "Níže zadejte prosím Vaši emailovou adresu. Na uvedenou emailovou adresu Vám bude zaslán link s kódem pro dokončení nastavení";
"TWITTER_EMAIL_FROM" = "no-reply@horizon.tv";
"TWITTER_EMAIL_FROM" = "no-reply@metrological.com";
"TWITTER_EMAIL_SUBJECT" = "Aktivační kód pro Vaši aplikaci Twitter";
"TWITTER_EMAIL_BODY" = "Obdrželi jsme Váš požadavek na používání aplikace Twitter na Horizon TV HD+ boxu. Pro aktivaci je nutné zadat 7místný kód. Klikněte na link uvedený níže pro zaslání kódu a dokončete aktivaci aplikace Twitter na Vašem Horizon TV HD+ boxu. %s Doufáme, že s užíváním aplikace budete spokojeni. Vaše UPC";
"TWITTER_EMAIL_BODY" = "Obdrželi jsme Váš požadavek na používání aplikace Twitter na Metrological TV HD+ boxu. Pro aktivaci je nutné zadat 7místný kód. Klikněte na link uvedený níže pro zaslání kódu a dokončete aktivaci aplikace Twitter na Vašem Metrological TV HD+ boxu. %s Doufáme, že s užíváním aplikace budete spokojeni. Vaše Metrological";
"FB_CONNECT" = "Facebook";
"FB_CODE" = "Běžte na stránky facebook pro zařízení a použijte kód. %s";
"CATEGORY_FAVORITES" = "OBLÍBENÉ";
Expand Down Expand Up @@ -92,7 +92,12 @@
"START_REORDERFAVO" = "Zvolte OK pro zařazení aplikace mezi OBLÍBENÉ. Stiskněte ZPĚT pro zrušení";
"STOP_REORDERFAVO" = "Zvolte NAHORU, DOLEVA, DOPRAVA nebo DOLŮ pro přesun aplikace a stiskněte OK pro potvrzení nové pozice. Stiskněte ZPĚT pro zrušení";
"BLOCKEDTEXT" = "Stiskněte ZPĚT pro navrácení do sekce ŽIVÉ VYSÍLÁNÍ";
"PaymentCode400" = "Vámi zvolená \"služba\" přestala fungovat, kontaktujte svého poskytovatele.";
"PaymentCode420" = "Dosáhli jste povoleného denního limitu (nedostatek prostředků).";
"PaymentCode500" = "Vámi zvolená \"služba\" přestala fungovat, kontaktujte svého poskytovatele.";
"PaymentCode409" = "Tuto aplikaci již máte k dispozici.";
"PaymentCode400" = "Something went wrong, please try again or contact your provider.";
"PaymentCode420" = "You have reached your creditlimit.";
"PaymentCode500" = "Something went wrong, please try again or contact your provider.";
"PaymentCode409" = "You already own this app.";
"PAYMENT" = "PAYMENT";
"PAYMENT_PIN_MESSAGE" = "By entering your PIN you agree to the terms and go to a payment obligation.";
"PAYMENT_DONE" = "You have successfully completed your purchase.";
"PAYMENT_FAILED" = "The purchase has failed";
"ValidatePurchaseError" = "Something went wrong while checking the payment state of this app. Please try again later.";
Expand Up @@ -15,7 +15,7 @@
"RETRY" = "WIEDERHOLEN";
"CLOSE" = "SCHLIESSEN";
"IMPRESSUM" = "IMPRESSUM";
"APP_STORE" = "APPS";
"APP_STORE" = "APP STORE";
"TOS_HEADER" = "App Store";
"ALL_APPS" = "ALLE APPS";
"NOW_PLAYING" = "AKTUELLE SENDUNG";
Expand Down Expand Up @@ -54,9 +54,9 @@
"TWITTER_METHOD" = "Verbindungsart für Twitter:";
"TWITTER_QRCODE" = "Please scan QRCode below. When authentication has been completed, a 7 digit code will be generated.";
"TWITTER_EMAIL" = "Bitte E-Mail-Adresse unten eingeben. An diese Adresse erhalten Sie eine E-Mail mit dem Link zum Code, den Sie benötigen, um fertig einzurichten.";
"TWITTER_EMAIL_FROM" = "no-reply@horizon.tv";
"TWITTER_EMAIL_FROM" = "no-reply@metrological.com";
"TWITTER_EMAIL_SUBJECT" = "Aktivierungscode für Ihre Twitter-App";
"TWITTER_EMAIL_BODY" = "Sie teilten uns mit, dass Sie die Twitter-App auf Ihrer Horizon TV HD+ Box nutzen möchten. Die App wird mit einem 7-stelligen Code aktiviert. Mit dem Link unten erhalten Sie den 7-stelligen Code für die Aktivierung der Twitter-App auf Ihrer Horizon TV HD+ Box. %s Wir wünschen Ihnen viel Spass mit der Twitter-App. Freundliche Grüsse, upc cablecom";
"TWITTER_EMAIL_BODY" = "Sie teilten uns mit, dass Sie die Twitter-App auf Ihrer Metrological TV HD+ Box nutzen möchten. Die App wird mit einem 7-stelligen Code aktiviert. Mit dem Link unten erhalten Sie den 7-stelligen Code für die Aktivierung der Twitter-App auf Ihrer Metrological TV HD+ Box. %s Wir wünschen Ihnen viel Spass mit der Twitter-App. Freundliche Grüsse, Metrological";
"FB_CONNECT" = "Facebook";
"FB_CODE" = "Bei facebook.com/device Code: %s eingeben";
"CATEGORY_FAVORITES" = "FAVORITEN";
Expand All @@ -83,8 +83,12 @@
"START_REORDERFAVO" = "App mit OK in den Favoriten verschieben. Zum Abbrechen BACK drücken";
"STOP_REORDERFAVO" = "Mit UP, LEFT, RIGHT und DOWN App an gewünschte Position verschieben und mit OK bestätigen. Zum Abbrechen BACK drücken";
"BLOCKEDTEXT" = "Wenn Sie zum TV Sender zurückkehren möchten, drücken Sie BACK";
"PaymentCode409" = "Sie haben diese App bereits erworben.";
"PaymentCode400" = "Etwas ist schief gelaufen, bitte versuchen Sie es erneut oder wenden Sie sich.";
"PaymentCode420" = "Sie haben Ihr tägliches Kreditlimit erreicht.";
"PaymentCode500" = "Etwas ist schief gelaufen, bitte versuchen Sie es erneut oder wenden Sie sich an Ihren Anbieter.";
"NetflixReset" = "Your Netflix has been reset";
"PaymentCode400" = "Something went wrong, please try again or contact your provider.";
"PaymentCode420" = "You have reached your creditlimit.";
"PaymentCode500" = "Something went wrong, please try again or contact your provider.";
"PaymentCode409" = "You already own this app.";
"PAYMENT" = "PAYMENT";
"PAYMENT_PIN_MESSAGE" = "By entering your PIN you agree to the terms and go to a payment obligation.";
"PAYMENT_DONE" = "You have successfully completed your purchase.";
"PAYMENT_FAILED" = "The purchase has failed";
"ValidatePurchaseError" = "Something went wrong while checking the payment state of this app. Please try again later.";
Expand Up @@ -18,7 +18,7 @@
"APP_STORE" = "APPSTORE";
"TOS_HEADER" = "Appstore";
"ALL_APPS" = "ALLE APPS";
"NOW_PLAYING" = " ";
"NOW_PLAYING" = "JETZT LÄUFT";
"LIVE_TV" = "LINEAR TV";
"FORGOT_PIN" = "PIN VERGESSEN?";
"ADD_PROFILE" = "PROFIL HINZUFÜGEN";
Expand Down Expand Up @@ -54,9 +54,9 @@
"TWITTER_METHOD" = "Verbindungsmethode für Twitter:";
"TWITTER_QRCODE" = "Please scan QRCode below. When authentication has been completed, a 7 digit code will be generated.";
"TWITTER_EMAIL" = "Bitte geben Sie unten Ihre E-Mail Adresse ein. Eine E-Mail wird an diese Adresse gesendet mit einem Link zu einem Code, der erforderlich ist, um die Aktivierung abzuschließen.";
"TWITTER_EMAIL_FROM" = "no-reply@horizon.tv";
"TWITTER_EMAIL_FROM" = "no-reply@metrological.com";
"TWITTER_EMAIL_SUBJECT" = "Aktivierungscode fuer Ihre Twitter App";
"TWITTER_EMAIL_BODY" = "Sie haben uns mitgeteilt, dass Sie die Twitter App auf Ihrer Horizon Box verwenden möchten. Ein 7-stelliger Code wird benoetigt, um die App zu aktivieren. Klicken Sie auf den nachfolgenden Link, um den 7-stelligen Code zu erhalten und um damit die Twitter App auf Ihrer Horizon Box zu aktivieren. %s Wir wuenschen viel Vergnuegen mit der Twitter App.";
"TWITTER_EMAIL_BODY" = "Sie haben uns mitgeteilt, dass Sie die Twitter App auf Ihrer Metrological Box verwenden möchten. Ein 7-stelliger Code wird benoetigt, um die App zu aktivieren. Klicken Sie auf den nachfolgenden Link, um den 7-stelligen Code zu erhalten und um damit die Twitter App auf Ihrer Metrological Box zu aktivieren. %s Wir wuenschen viel Vergnuegen mit der Twitter App.";
"FB_CONNECT" = "Facebook";
"FB_CODE" = "Gehen Sie zu facebook.com/device und geben Sie folgenden Code ein: %s";
"CATEGORY_FAVORITES" = "FAVORITEN";
Expand All @@ -83,8 +83,12 @@
"START_REORDERFAVO" = "Drücken Sie OK, um die App innerhalb Ihrer FAVORITEN zu bewegen. Drücken Sie BACK zum Beenden.";
"STOP_REORDERFAVO" = "Drücken Sie HOCH, LINKS, RECHTS und RUNTER um die App zu bewegen und drücken Sie OK, um die neue Position zu bestätigen. Drücken Sie BACK zum Beenden.";
"BLOCKEDTEXT" = "Wenn Sie zum TV Sender zurückkehren möchten, drücken Sie BACK";
"PaymentCode409" = "Sie haben diese App bereits erworben.";
"PaymentCode400" = "Etwas ist schief gelaufen, bitte versuchen Sie es erneut oder wenden Sie sich.";
"PaymentCode420" = "Sie haben Ihr tägliches Kreditlimit erreicht.";
"PaymentCode500" = "Etwas ist schief gelaufen, bitte versuchen Sie es erneut oder wenden Sie sich an Ihren Anbieter.";
"NetflixReset" = "Your Netflix has been reset";
"PaymentCode400" = "Something went wrong, please try again or contact your provider.";
"PaymentCode420" = "You have reached your creditlimit.";
"PaymentCode500" = "Something went wrong, please try again or contact your provider.";
"PaymentCode409" = "You already own this app.";
"PAYMENT" = "PAYMENT";
"PAYMENT_PIN_MESSAGE" = "By entering your PIN you agree to the terms and go to a payment obligation.";
"PAYMENT_DONE" = "You have successfully completed your purchase.";
"PAYMENT_FAILED" = "The purchase has failed";
"ValidatePurchaseError" = "Something went wrong while checking the payment state of this app. Please try again later.";
Expand Up @@ -18,7 +18,7 @@
"APP_STORE" = "APPSTORE";
"TOS_HEADER" = "Appstore";
"ALL_APPS" = "ALLE APPS";
"NOW_PLAYING" = "";
"NOW_PLAYING" = "JETZT LÄUFT";
"LIVE_TV" = "LINEAR TV";
"FORGOT_PIN" = "PIN VERGESSEN?";
"ADD_PROFILE" = "PROFIL HINZUFÜGEN";
Expand Down Expand Up @@ -54,9 +54,9 @@
"TWITTER_METHOD" = "Verbindungsmethode für Twitter:";
"TWITTER_QRCODE" = "Please scan QRCode below. When authentication has been completed, a 7 digit code will be generated.";
"TWITTER_EMAIL" = "Bitte geben Sie unten Ihre E-Mail Adresse ein. Eine E-Mail wird an diese Adresse gesendet mit einem Link zu einem Code, der erforderlich ist, um die Aktivierung abzuschließen.";
"TWITTER_EMAIL_FROM" = "no-reply@horizon.tv";
"TWITTER_EMAIL_FROM" = "no-reply@metrological.com";
"TWITTER_EMAIL_SUBJECT" = "Aktivierungscode für Ihre Twitter App";
"TWITTER_EMAIL_BODY" = "Sie haben uns mitgeteilt, dass Sie die Twitter App auf Ihrer Horizon Box verwenden möchten. Ein 7-stelliger Code wird benötigt, um die App zu aktivieren. Klicken Sie auf den nachfolgenden Link, um den 7-stelligen Code zu erhalten und um damit die Twitter App auf Ihrer Horizon Box aktivieren können. %s Wir wünschen viel Vergnügen mit der Twitter App. Mit freundlichen Grüßen, UPC";
"TWITTER_EMAIL_BODY" = "Sie haben uns mitgeteilt, dass Sie die Twitter App auf Ihrer Metrological Box verwenden möchten. Ein 7-stelliger Code wird benötigt, um die App zu aktivieren. Klicken Sie auf den nachfolgenden Link, um den 7-stelligen Code zu erhalten und um damit die Twitter App auf Ihrer Metrological Box aktivieren können. %s Wir wünschen viel Vergnügen mit der Twitter App. Mit freundlichen Grüßen, Metrological";
"FB_CONNECT" = "Facebook";
"FB_CODE" = "Gehen Sie zu facebook.com/device und geben Sie folgenden Code ein: %s";
"CATEGORY_FAVORITES" = "FAVORITEN";
Expand All @@ -83,8 +83,12 @@
"START_REORDERFAVO" = "Drücken Sie OK, um die App innerhalb Ihrer FAVORITEN zu bewegen. Drücken Sie BACK zum Beenden.";
"STOP_REORDERFAVO" = "Drücken Sie HOCH, LINKS, RECHTS und RUNTER um die App zu bewegen und drücken Sie OK, um die neue Position zu bestätigen. Drücken Sie BACK zum Beenden.";
"BLOCKEDTEXT" = "Wenn Sie zum TV Sender zurückkehren möchten, drücken Sie BACK";
"PaymentCode409" = "Sie haben diese App bereits erworben.";
"PaymentCode400" = "Etwas ist schief gelaufen, bitte versuchen Sie es erneut oder wenden Sie sich.";
"PaymentCode420" = "Sie haben Ihr tägliches Kreditlimit erreicht.";
"PaymentCode500" = "Etwas ist schief gelaufen, bitte versuchen Sie es erneut oder wenden Sie sich an Ihren Anbieter.";
"NetflixReset" = "Your Netflix has been reset";
"PaymentCode400" = "Something went wrong, please try again or contact your provider.";
"PaymentCode420" = "You have reached your creditlimit.";
"PaymentCode500" = "Something went wrong, please try again or contact your provider.";
"PaymentCode409" = "You already own this app.";
"PAYMENT" = "PAYMENT";
"PAYMENT_PIN_MESSAGE" = "By entering your PIN you agree to the terms and go to a payment obligation.";
"PAYMENT_DONE" = "You have successfully completed your purchase.";
"PAYMENT_FAILED" = "The purchase has failed";
"ValidatePurchaseError" = "Something went wrong while checking the payment state of this app. Please try again later.";
Expand Up @@ -18,7 +18,7 @@
"APP_STORE" = "APP STORE";
"TOS_HEADER" = "App Store";
"ALL_APPS" = "ALL APPS";
"NOW_PLAYING" = " ";
"NOW_PLAYING" = "NOW PLAYING";
"LIVE_TV" = "LIVE TV";
"FORGOT_PIN" = "FORGOT PIN?";
"ADD_PROFILE" = "ADD PROFILE";
Expand Down Expand Up @@ -54,9 +54,9 @@
"TWITTER_METHOD" = "Connection method for twitter:";
"TWITTER_QRCODE" = "Please scan QRCode below. When authentication has been completed, a 7 digit code will be generated.";
"TWITTER_EMAIL" = "Please enter your e-mail address below. An e-mail will be sent to this address containing a link to the code required to complete the setup.";
"TWITTER_EMAIL_FROM" = "no-reply@horizon.tv";
"TWITTER_EMAIL_FROM" = "no-reply@metrological.com";
"TWITTER_EMAIL_SUBJECT" = "Activation code for your Twitter-app";
"TWITTER_EMAIL_BODY" = "You have informed us that you want to use the Twitter-app on your Horizon TV HD+ Box. A 7-digit code is needed to activate the App. Click the link below to receive the 7-digit code required to activate the Twitter app on your Horizon TV HD+ Box. %s We hope you enjoy the Twitter app. Kind regards.";
"TWITTER_EMAIL_BODY" = "You have informed us that you want to use the Twitter-app on your Metrological TV HD+ Box. A 7-digit code is needed to activate the App. Click the link below to receive the 7-digit code required to activate the Twitter app on your Metrological TV HD+ Box. %s We hope you enjoy the Twitter app. Kind regards.";
"FB_CONNECT" = "Facebook";
"FB_CODE" = "Goto facebook.com/device and use code: %s";
"CATEGORY_FAVORITES" = "FAVOURITES";
Expand All @@ -73,20 +73,24 @@
"CATEGORY_RECENTLY" = "RECENTLY";
"ADDFAVO" = "Add/remove favourite Apps";
"ADDFAVO_DESC" = "Press OK to start managing your favourite Apps";
"ADDFAVO_SELECTED" = "Navigate to your favourite App and press OK to add the App to FAVOURITES. Press BACK at any time to confirm";
"ADDFAVO_SELECTED" = "Navigate to your favourite App and press OK to add the App to FAVOURITES. Press BACK at any time to cancel";
"ADDFAVO_APP" = "Add %s";
"REMOVEFAVO_APP" = "Remove %s";
"CONFIRM_ADDFAVO" = "Press OK to add App to FAVOURITES. Press BACK at any time to confirm";
"CONFIRM_REMOVEFAVO" = "Press OK to remove App from FAVOURITES. Press BACK at any time to confirm";
"CONFIRM_ADDFAVO" = "Press OK to add App to FAVOURITES. Press BACK at any time to cancel";
"CONFIRM_REMOVEFAVO" = "Press OK to remove App from FAVOURITES. Press BACK at any time to cancel";
"REORDERFAVO" = "Re-order FAVOURITES";
"REORDERFAVO_DESC" = "Press OK to re-order the positions of the Apps in FAVOURITES. Press BACK at any time to confirm";
"REORDERFAVO_SELECTED" = "Navigate to the App you want to move to a new position or press OK to confirm. Arrows indicate the direction to which you are able to move the App";
"REORDERFAVO_DESC" = "Press OK to re-order the positions of the Apps in FAVOURITES. Press BACK at any time to cancel";
"REORDERFAVO_SELECTED" = "Navigate to the App you want to move to a new position or press OK to cancel. Arrows indicate the direction to which you are able to move the App";
"REORDERFAVO_APP" = "Move %s";
"START_REORDERFAVO" = "Press OK to move App in FAVOURITES. Press BACK at any time to confirm";
"STOP_REORDERFAVO" = "Press UP, LEFT, RIGHT and DOWN to reposition the App and press OK to confirm the new position. Press BACK at any time to confirm";
"START_REORDERFAVO" = "Press OK to move App in FAVOURITES. Press BACK at any time to cancel";
"STOP_REORDERFAVO" = "Press UP, LEFT, RIGHT and DOWN to reposition the App and press OK to confirm the new position. Press BACK at any time to cancel";
"BLOCKEDTEXT" = "Press BACK to return to Live TV";
"PaymentCode400" = "Something went wrong, please try again or contact your provider.";
"PaymentCode420" = "You have reached your creditlimit.";
"PaymentCode500" = "Something went wrong, please try again or contact your provider.";
"PaymentCode409" = "You already own this app.";
"NetflixReset" = "Your Netflix has been reset";
"PAYMENT" = "PAYMENT";
"PAYMENT_PIN_MESSAGE" = "By entering your PIN you agree to the terms and go to a payment obligation.";
"PAYMENT_DONE" = "You have successfully completed your purchase.";
"PAYMENT_FAILED" = "The purchase has failed";
"ValidatePurchaseError" = "Something went wrong while checking the payment state of this app. Please try again later.";

0 comments on commit d46baf5

Please sign in to comment.