Skip to content

Commit 3a33810

Browse files
committed
- Fix browser title to "Cesium" - fix #53
- Fix playstore deployment error
1 parent 0de59f6 commit 3a33810

File tree

19 files changed

+417
-397
lines changed

19 files changed

+417
-397
lines changed

hooks/after_build/090_deploy_to_playstore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var rootdir = process.argv[2];
99
var argv = require('yargs').argv;
1010

1111
var skip = true;
12-
if (cmd.indexOf("--release") > -1 || cmd.indexOf("--useref") > -1) {
12+
if (/*cmd.indexOf("--release") > -1 || */cmd.indexOf("--playstore") > -1) {
1313
skip = false;
1414
}
1515

@@ -30,7 +30,7 @@ if (rootdir && !skip) {
3030

3131
console.log('Publishing APK file [' + apkFileLocation + '] to playstore...');
3232

33-
var config = JSON.parse(fs.readFileSync('../playstore-config.json', 'utf8'));
33+
var config = require('../playstore-config.json');
3434

3535
if(!config) {
3636
gutil.log(gutil.colors.red("ERROR => Could not load `hooks/playstore-config.json` file!"));

www/i18n/locale-en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
}
101101
},
102102
"PEER": {
103+
"TITLE": "Peer",
103104
"PEERS": "Peers",
104105
"KNOWN_PEERS": "Known peers",
105106
"SIGNED_ON_BLOCK": "Signed on block"

www/i18n/locale-fr-FR.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
}
101101
},
102102
"PEER": {
103+
"TITLE": "Noeud",
103104
"PEERS": "Noeuds",
104105
"KNOWN_PEERS": "Noeuds connus",
105106
"SIGNED_ON_BLOCK": "Signé sur le bloc"

www/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
6-
<title></title>
6+
<title>Cesium</title>
77

88
<!-- build:css dist_css/cesium.css -->
99
<link href="css/ionic.app.css" rel="stylesheet">
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<ion-view view-title="UD" left-buttons="leftButtons" class="pane">
2-
<ion-nav-buttons side="secondary">
3-
<button class="button button-icon button-clear icon ion-loop" ng-click="refresh()">
4-
</button>
5-
</ion-nav-buttons>
1+
<ion-view left-buttons="leftButtons" class="pane">
2+
<ion-nav-title>
3+
4+
</ion-nav-title>
5+
6+
<ion-nav-buttons side="secondary">
7+
<button class="button button-icon button-clear icon ion-loop" ng-click="refresh()">
8+
</button>
9+
</ion-nav-buttons>
610

711
<ion-content class="has-header">
8-
<div class="scroll">
9-
<!-- TODO -->
10-
</div>
11-
<div class="scroll-bar scroll-bar-v"></div>
1212
</ion-content>
1313
</ion-view>

www/templates/currency/lookup.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

www/templates/currency/lookup_form.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

www/templates/currency/view_currency.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
<ion-view view-title="{{id}}" left-buttons="leftButtons" class="pane">
1+
<ion-view
2+
left-buttons="leftButtons" class="pane"
3+
cache-view="false"
4+
>
5+
<ion-nav-title>
6+
{{id}}
7+
</ion-nav-title>
8+
29
<ion-nav-buttons side="secondary">
310
<button class="button button-icon button-clear icon ion-loop" ng-click="refresh()">
411
</button>

www/templates/currency/view_currency_lg.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
<ion-view view-title="{{'CURRENCY.VIEW.TITLE' | translate}} {{id}}" left-buttons="leftButtons" class="pane">
1+
<ion-view left-buttons="leftButtons"
2+
cache-view="false"
3+
class="pane">
4+
<ion-nav-title>
5+
{{'CURRENCY.VIEW.TITLE' | translate}} {{id}}
6+
</ion-nav-title>
7+
28
<ion-nav-buttons side="secondary">
39
<button class="button button-icon button-clear icon ion-loop" ng-click="refresh()">
410
</button>

www/templates/currency/view_peer.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
<ion-view view-title="Peer">
2-
<ion-content class="has-header padding">
1+
<ion-view>
2+
<ion-nav-title>
3+
<span translate>PEER.TITLE</span>
4+
</ion-nav-title>
5+
6+
<ion-content class="has-header padding">
37
<div class="list">
48

59
<div class="item item-divider">

0 commit comments

Comments
 (0)