Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Commit

Permalink
GCR v4.3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ragaeeb committed Dec 1, 2015
1 parent c8d7daf commit db71be1
Show file tree
Hide file tree
Showing 17 changed files with 57 additions and 56 deletions.
2 changes: 1 addition & 1 deletion assets/AyatImageListItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ AyatListItemBase
{
horizontalAlignment: HorizontalAlignment.Fill
verticalAlignment: VerticalAlignment.Fill
topPadding: deviceUtils.du(1); bottomPadding: deviceUtils.du(1); leftPadding: deviceUtils.du(1); rightPadding: deviceUtils.du(1)
topPadding: tutorial.du(1); bottomPadding: tutorial.du(1); leftPadding: tutorial.du(1); rightPadding: tutorial.du(1)

ImageView
{
Expand Down
6 changes: 3 additions & 3 deletions assets/AyatImageTranslationListItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ AyatImageListItem
Container
{
horizontalAlignment: HorizontalAlignment.Fill
rightPadding: deviceUtils.du(1)
leftPadding: deviceUtils.du(1)
bottomPadding: deviceUtils.du(1)
rightPadding: tutorial.du(1)
leftPadding: tutorial.du(1)
bottomPadding: tutorial.du(1)

Label
{
Expand Down
4 changes: 2 additions & 2 deletions assets/AyatListItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ AyatListItemBase
Container
{
horizontalAlignment: HorizontalAlignment.Fill
rightPadding: deviceUtils.du(1)
leftPadding: deviceUtils.du(1)
rightPadding: tutorial.du(1)
leftPadding: tutorial.du(1)

Label
{
Expand Down
18 changes: 9 additions & 9 deletions assets/AyatPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -131,24 +131,24 @@ Page
tutorial.execActionBar( "markFav", qsTr("To quickly access this verse again, tap on the '%1' action at the bottom to put it in the Favourites tab.").arg(markFav.title) );
tutorial.execActionBar( "addShortcutHome", qsTr("To quickly access this verse again, tap on the '%1' action at the bottom to pin it to your homescreen.").arg(addHome.title), "l" );
tutorial.execActionBar( "share", qsTr("To share this verse with your friends tap on the '%1' action at the bottom.").arg(shareAction.title), "r" );
tutorial.exec( "lpArabic", qsTr("Press-and-hold on the arabic text if you want to copy or share it."), HorizontalAlignment.Right, VerticalAlignment.Top, 0, deviceUtils.du(2), deviceUtils.du(21));
tutorial.exec( "lpArabic", qsTr("Press-and-hold on the arabic text if you want to copy or share it."), HorizontalAlignment.Right, VerticalAlignment.Top, 0, tutorial.du(2), tutorial.du(21));

if (tafsirOption.tafsirCount > 0 && similarOption.similarCount > 0)
{
tutorial.execTitle( "tafsir", qsTr("There are explanations of this verse by the people of knowledge! Tap on the '%1' option at the top to view them.").arg(tafsirOption.text), "r");
tutorial.exec( "similarAyat", qsTr("There appears to be other verses with similar wording, choose the '%1' option at the top to view them in a split screen.").arg(similarOption.text), HorizontalAlignment.Center, VerticalAlignment.Top, deviceUtils.du(16), 0, deviceUtils.du(4));
tutorial.exec( "ayatAudio", qsTr("Tap on the '%1' option to listen to this verse over and over in isolation.").arg(recitationOption.text), HorizontalAlignment.Center, VerticalAlignment.Top, 0, deviceUtils.du(24), deviceUtils.du(4));
tutorial.exec( "similarAyat", qsTr("There appears to be other verses with similar wording, choose the '%1' option at the top to view them in a split screen.").arg(similarOption.text), HorizontalAlignment.Center, VerticalAlignment.Top, tutorial.du(16), 0, tutorial.du(4));
tutorial.exec( "ayatAudio", qsTr("Tap on the '%1' option to listen to this verse over and over in isolation.").arg(recitationOption.text), HorizontalAlignment.Center, VerticalAlignment.Top, 0, tutorial.du(24), tutorial.du(4));
}

if (body.text.length > 0)
{
tutorial.execCentered( "arabicZoom", qsTr("Do a pinch gesture on the arabic text to increase or decrease the size of the font!"), "images/common/pinch.png" );
tutorial.exec( "transliteration", qsTr("Tap on the arabic text to show the transliteration."), HorizontalAlignment.Right, VerticalAlignment.Top, 0, deviceUtils.du(2), deviceUtils.du(21));
tutorial.exec( "transliteration", qsTr("Tap on the arabic text to show the transliteration."), HorizontalAlignment.Right, VerticalAlignment.Top, 0, tutorial.du(2), tutorial.du(21));
}

if (helper.showTranslation) {
tutorial.exec( "translationZoom", qsTr("Do a pinch gesture on the translation text to increase or decrease the size of the font!"), HorizontalAlignment.Center, VerticalAlignment.Center, 0, 0, 0, deviceUtils.du(10), "images/common/pinch.png" );
tutorial.exec( "lpTranslation", qsTr("Press-and-hold on the translation text if you want to copy or share it."), HorizontalAlignment.Left, VerticalAlignment.Center, 0, 0, deviceUtils.du(36));
tutorial.exec( "translationZoom", qsTr("Do a pinch gesture on the translation text to increase or decrease the size of the font!"), HorizontalAlignment.Center, VerticalAlignment.Center, 0, 0, 0, tutorial.du(10), "images/common/pinch.png" );
tutorial.exec( "lpTranslation", qsTr("Press-and-hold on the translation text if you want to copy or share it."), HorizontalAlignment.Left, VerticalAlignment.Center, 0, 0, tutorial.du(36));
}

reporter.record("AyatOpened", surahId+":"+verseId);
Expand Down Expand Up @@ -476,7 +476,7 @@ Page
easingCurve: StockCurve.ExponentialIn

onEnded: {
tutorial.exec( "transliterationWarning", qsTr("Please note that the scholars have mentioned to avoid the transliteration option since when depended upon it may introduce many mistakes because it cannot capture the Arabic pronunciations and rules properly.\n\nPlease use the Audio option to play the verse, and only use the transliteration text as a tool to help you, and do not depend on it fully."), HorizontalAlignment.Center, VerticalAlignment.Top, 0, 0, deviceUtils.du(18) );
tutorial.exec( "transliterationWarning", qsTr("Please note that the scholars have mentioned to avoid the transliteration option since when depended upon it may introduce many mistakes because it cannot capture the Arabic pronunciations and rules properly.\n\nPlease use the Audio option to play the verse, and only use the transliteration text as a tool to help you, and do not depend on it fully."), HorizontalAlignment.Center, VerticalAlignment.Top, 0, 0, tutorial.du(18) );
}
}
]
Expand Down Expand Up @@ -506,8 +506,8 @@ Page
{
horizontalAlignment: HorizontalAlignment.Fill
verticalAlignment: VerticalAlignment.Fill
leftPadding: deviceUtils.du(1)
rightPadding: deviceUtils.du(1)
leftPadding: tutorial.du(1)
rightPadding: tutorial.du(1)

Label
{
Expand Down
2 changes: 1 addition & 1 deletion assets/AyatTafsirParser.qml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ QtObject
parser.process();
footer.visible = true;

tutorial.exec( "tapBio", qsTr("Tap on the author's name to see his/her profile, biography, quotes, and works."), HorizontalAlignment.Left, VerticalAlignment.Top, deviceUtils.du(14), 0, deviceUtils.du(14) );
tutorial.exec( "tapBio", qsTr("Tap on the author's name to see his/her profile, biography, quotes, and works."), HorizontalAlignment.Left, VerticalAlignment.Top, tutorial.du(14), 0, tutorial.du(14) );
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions assets/AyatTafsirPicker.qml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ ResizableContainer
duration: 1200

onEnded: {
tutorial.execBelowTitleBar( "tafsirPicking", qsTr("These are the explanations for this verse from the various people of knowledge. As more tafsir is available the app will automatically try to fetch them and update its database in the future with your permission. Tap on any one of them to open it and read it."), deviceUtils.du(20) );
tutorial.execBelowTitleBar( "tafsirShortcut", qsTr("Press-and-hold on any of the tafsir and choose 'Add Shortcut' to pin it to your homescreen."), deviceUtils.du(15) );
tutorial.execBelowTitleBar( "tafsirPicking", qsTr("These are the explanations for this verse from the various people of knowledge. As more tafsir is available the app will automatically try to fetch them and update its database in the future with your permission. Tap on any one of them to open it and read it."), tutorial.du(20) );
tutorial.execBelowTitleBar( "tafsirShortcut", qsTr("Press-and-hold on any of the tafsir and choose 'Add Shortcut' to pin it to your homescreen."), tutorial.du(15) );
}
}
]
Expand Down
6 changes: 3 additions & 3 deletions assets/AyatTranslationListItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ AyatListItem
Container
{
horizontalAlignment: HorizontalAlignment.Fill
rightPadding: deviceUtils.du(1)
leftPadding: deviceUtils.du(1)
bottomPadding: deviceUtils.du(1)
rightPadding: tutorial.du(1)
leftPadding: tutorial.du(1)
bottomPadding: tutorial.du(1)

Label
{
Expand Down
6 changes: 3 additions & 3 deletions assets/QuranHelp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ HelpPage
onExpandedChanged: {
if (expanded)
{
tutorial.execBelowTitleBar( "disabledUpdates", qsTr("As more and more tafsir and biographies become available, the app can try to download them. Use the '%1' option to never check for these updates.").arg(disabledUpdates.text), deviceUtils.du(16) );
tutorial.execBelowTitleBar( "promptUpdates", qsTr("To be prompted before downloading the latest tafsir updates, use the '%1' option.").arg(promptUpdates.text), deviceUtils.du(24) );
tutorial.execBelowTitleBar( "autoUpdates", qsTr("To automatically download the latest tafsir updates as they become available, use the '%1' option.").arg(autoUpdates.text), deviceUtils.du(32) );
tutorial.execBelowTitleBar( "disabledUpdates", qsTr("As more and more tafsir and biographies become available, the app can try to download them. Use the '%1' option to never check for these updates.").arg(disabledUpdates.text), tutorial.du(16) );
tutorial.execBelowTitleBar( "promptUpdates", qsTr("To be prompted before downloading the latest tafsir updates, use the '%1' option.").arg(promptUpdates.text), tutorial.du(24) );
tutorial.execBelowTitleBar( "autoUpdates", qsTr("To automatically download the latest tafsir updates as they become available, use the '%1' option.").arg(autoUpdates.text), tutorial.du(32) );
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions assets/QuranPane.qml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ NavigationPane
text: progressData ? progressData.surah_id+":"+progressData.verse_id : ""
imageSource: "images/dropdown/saved_bookmark.png"
verticalAlignment: VerticalAlignment.Center
maxWidth: deviceUtils.du(18.75)
maxWidth: tutorial.du(18.75)
translationX: -250
scaleX: 1.1
scaleY: 1.1
Expand All @@ -67,7 +67,7 @@ NavigationPane

onVisibleChanged: {
if ( visible && tutorial.isTopPane(navigationPane, pickerPage) ) {
tutorial.exec( "bookmarkAnchor", qsTr("Notice the button on the top left. This is used to track your Qu'ran reading progress. You can use it to quickly jump to the verse you last left off."), HorizontalAlignment.Left, VerticalAlignment.Top, deviceUtils.du(2), 0, deviceUtils.du(4) );
tutorial.exec( "bookmarkAnchor", qsTr("Notice the button on the top left. This is used to track your Qu'ran reading progress. You can use it to quickly jump to the verse you last left off."), HorizontalAlignment.Left, VerticalAlignment.Top, tutorial.du(2), 0, tutorial.du(4) );
}

if (visible && scaleX != 1) {
Expand Down Expand Up @@ -310,7 +310,7 @@ NavigationPane

tutorial.execActionBar( "openMushaf", qsTr("Tap here to open the mushaf!") );
tutorial.execActionBar("selectAllSurahs", qsTr("Tap on the '%1' action to view the entire Qu'ran (all the surahs)!").arg(selectAll.title), "r");
var noMoreTutorialsLeft = tutorial.exec("lpSurahPicker", "Press and hold on a surah for a menu to select multiple chapters.", HorizontalAlignment.Center, VerticalAlignment.Center, deviceUtils.du(2), 0, 0, deviceUtils.du(2));
var noMoreTutorialsLeft = tutorial.exec("lpSurahPicker", "Press and hold on a surah for a menu to select multiple chapters.", HorizontalAlignment.Center, VerticalAlignment.Center, tutorial.du(2), 0, 0, tutorial.du(2));

if ( !noMoreTutorialsLeft && persist.getValueFor("hideRandomQuote") != 1 ) {
helper.fetchRandomQuote(pickerPage);
Expand Down
2 changes: 1 addition & 1 deletion assets/SearchPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Page
titleBar.kindProperties.expandableArea.expanded = true;
tutorial.execBelowTitleBar("searchOptions", qsTr("Tap on the '%1' button to restrict the search to only a specific surah.").arg(restrictButton.text) );
} if (key == "searchOptions") {
tutorial.execBelowTitleBar("searchGoogle", qsTr("Sometimes the translations are not the same depending on where you got your translated text from. Quran10 can also search Google to find a better match than the ones found in the app. Enable the '%1' check box to enable it.").arg(searchGoogleCheckBox.text), deviceUtils.du(8) );
tutorial.execBelowTitleBar("searchGoogle", qsTr("Sometimes the translations are not the same depending on where you got your translated text from. Quran10 can also search Google to find a better match than the ones found in the app. Enable the '%1' check box to enable it.").arg(searchGoogleCheckBox.text), tutorial.du(8) );
} else if (key == "searchGoogle") {
titleBar.kindProperties.expandableArea.expanded = false;
}
Expand Down
6 changes: 3 additions & 3 deletions assets/SettingsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ Page
}

tutorial.execBelowTitleBar( "translation", qsTr("If you want to show a specific translation for the Qu'ran, choose it here.") );
tutorial.execBelowTitleBar( "qaree", qsTr("If you want to use a specific qaree to recite the Qu'ran set it here."), deviceUtils.du(8) );
tutorial.execBelowTitleBar( "dloadDir", qsTr("To change the directory where the mushaf pages, ayat images, and recitations are downloaded, set it here."), deviceUtils.du(21), "r" );
tutorial.exec( "overlay", qsTr("Sometimes BlackBerry 10's font rules override the arabic rulings of the Qu'ran, and some letters get disconnected. It does not change the meaning however it looks slightly different from the original mushaf text, if you want to prevent this, choose '%1' to display images for the ayats instead of text. Please note that this will have a negative performance impact.").arg(joinDisconnected.text), HorizontalAlignment.Right, VerticalAlignment.Center, 0, 0, 0, deviceUtils.du(8) );
tutorial.execBelowTitleBar( "qaree", qsTr("If you want to use a specific qaree to recite the Qu'ran set it here."), tutorial.du(8) );
tutorial.execBelowTitleBar( "dloadDir", qsTr("To change the directory where the mushaf pages, ayat images, and recitations are downloaded, set it here."), tutorial.du(21), "r" );
tutorial.exec( "overlay", qsTr("Sometimes BlackBerry 10's font rules override the arabic rulings of the Qu'ran, and some letters get disconnected. It does not change the meaning however it looks slightly different from the original mushaf text, if you want to prevent this, choose '%1' to display images for the ayats instead of text. Please note that this will have a negative performance impact.").arg(joinDisconnected.text), HorizontalAlignment.Right, VerticalAlignment.Center, 0, 0, 0, tutorial.du(8) );
tutorial.exec( "keepAwake", qsTr("Use the '%1' feature if you want to keep the device screen lit up when the app is playing the recitation so you can follow along and not have to continually touch the screen.").arg(keepAwake.text), HorizontalAlignment.Right, VerticalAlignment.Center);
tutorial.execCentered( "hideBenefits", qsTr("Use the '%1' feature if you want to supress the random quotes that shows up in the start of the app.").arg(hideBenefits.text), "images/menu/ic_copy_from_english.png");
}
Expand Down
2 changes: 1 addition & 1 deletion assets/SimilarAyatControl.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ResizableContainer
offloader.decorateSimilarResults(data, bodyControl.value, adm, bodyControl);

tutorial.execBelowTitleBar( "relatedExpand", qsTr("You can expand this top section by tapping on the 'Related' header.") );
tutorial.exec( "relatedExpand2", qsTr("To minimize it, tap on the ayat header on the bottom pane."), HorizontalAlignment.Center, VerticalAlignment.Center, 0, 0, deviceUtils.du(12) );
tutorial.exec( "relatedExpand2", qsTr("To minimize it, tap on the ayat header on the bottom pane."), HorizontalAlignment.Center, VerticalAlignment.Center, 0, 0, tutorial.du(12) );
}

ListView
Expand Down
Loading

0 comments on commit db71be1

Please sign in to comment.