Skip to content

Commit

Permalink
spelling and grammar improvements (English)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksinghj committed Jun 5, 2020
1 parent 7600b20 commit e01cc7f
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 55 deletions.
110 changes: 55 additions & 55 deletions js/prompt.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$(function(){
$.confirm({
title: '',
content: `
$(function () {
$.confirm({
title: "",
content: `
<div id="featurepopup">
<div class="row text-center">
<div class="col-md-3">
Expand All @@ -13,7 +13,7 @@ $(function(){
</div>
<div class="col-md-3">
<i class="icon-user-secret featureicon"></i>
<div class="summary">All your images and data is safe as saved locally</div>
<div class="summary">Your images and data are safe, they are saved locally</div>
</div>
<div class="col-md-3">
<i class="icon-object-group featureicon"></i>
Expand All @@ -31,7 +31,7 @@ $(function(){
</div>
<div class="col-md-3">
<i class="icon-firefox featureicon"></i>
<div class="summary">No installation, work in your browser</div>
<div class="summary">No installation, works in your browser</div>
</div>
<div class="col-md-3">
<i class="icon-doc-text featureicon"></i>
Expand All @@ -47,11 +47,11 @@ $(function(){
<div class="row text-center">
<div class="col-md-3">
<i class="icon-tags featureicon"></i>
<div class="summary">Multiple labele types: name, category, tags</div>
<div class="summary">Multiple label types including name, category, tags</div>
</div>
<div class="col-md-3">
<i class="icon-emo-thumbsup featureicon"></i>
<div class="summary">Better user experience: autofill, hotkeys, cut paste labels, ...</div>
<div class="summary">Better user experience with features like autofill, hotkeys, cut & paste labels...</div>
</div>
<div class="col-md-3">
<i class="icon-globe featureicon"></i>
Expand All @@ -64,28 +64,28 @@ $(function(){
</div>
</div>
`,
escapeKey: true,
backgroundDismiss: true,
useBootstrap : false,
boxWidth : 900,
buttons: {
confirm: {
text: "Donate",
action : function () {
displayDonationPrompt();
}
},
leave : {
text: "Umm! may be next time."
}
}
});
escapeKey: true,
backgroundDismiss: true,
useBootstrap: false,
boxWidth: 900,
buttons: {
confirm: {
text: "Donate",
action: function () {
displayDonationPrompt();
},
},
leave: {
text: "Umm! may be next time.",
},
},
});
});

function displayDonationPrompt(){
$.dialog({
title: 'Donate',
content: `<div style="text-align:center;">
function displayDonationPrompt() {
$.dialog({
title: "Donate",
content: `<div style="text-align:center;">
<div>
<div onclick="javascript:tezpayment()" class="chip" style="cursor: pointer;">
<img src="img/tez_logo2.png" alt="Tez" width="95" height="95"> Tez
Expand All @@ -96,37 +96,37 @@ function displayDonationPrompt(){
<br>
<div><a onclick=""javascript:logPateron()" href="https://www.patreon.com/bePatron?u=9531404" target="_blank"><img src="img/support_patreon.svg" width="200px"></a></div>
<div>`,
escapeKey: true,
backgroundDismiss: true,
});
escapeKey: true,
backgroundDismiss: true,
});
}

function tezpayment(){
$.dialog({
title: "Tez Payment",
content: "<p>Please scan the below QR code or use UPI : amitgupta.gwl@oksbi</p>" + '<img src="img/tez_qrcode.png">'
})
gtag('event', 'click', {
'event_category': 'outbound',
'event_label': "tez",
'transport_type': 'beacon',
});
function tezpayment() {
$.dialog({
title: "Tez Payment",
content:
"<p>Please scan the below QR code or use UPI : amitgupta.gwl@oksbi</p>" +
'<img src="img/tez_qrcode.png">',
});
gtag("event", "click", {
event_category: "outbound",
event_label: "tez",
transport_type: "beacon",
});
}

function logPaypal(){
gtag('event', 'click', {
'event_category': 'outbound',
'event_label': "paypal",
'transport_type': 'beacon',
});
function logPaypal() {
gtag("event", "click", {
event_category: "outbound",
event_label: "paypal",
transport_type: "beacon",
});
}

function logPateron(){
gtag('event', 'click', {
'event_category': 'outbound',
'event_label': "patreon",
'transport_type': 'beacon',
});
function logPateron() {
gtag("event", "click", {
event_category: "outbound",
event_label: "patreon",
transport_type: "beacon",
});
}


3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e01cc7f

Please sign in to comment.