Skip to content

best way to save what you love

beginning of 2.2 (one more fix)

wukko227dc8436cea
diff --git a/modules/page-renderer.js b/modules/page-renderer.js
index 567701e1..499ff7bc 100644
--- a/modules/page-renderer.js
+++ b/modules/page-renderer.js
@@ -91,7 +91,7 @@ export default function(obj) {
</div>
<div id="content" class="popup-content">
<div id="desc" class="popup-desc about-padding">${com[1]}</div>
- <div id="desc" class="popup-desc"><a class="text-backdrop" href="${repo}/commits">${loc(obj.lang, 'changelog', 'github')}</a></div>
+ <div id="desc" class="popup-desc"><a class="text-backdrop" href="${repo}/commits">${loc(obj.lang, 'desc', 'github')}</a></div>
</div>
</div>
<div id="popup-donate" class="popup scrollable center box" style="visibility: hidden;">
diff --git a/modules/sub/current-commit.js b/modules/sub/current-commit.js
index 140fb209..f2897323 100644
--- a/modules/sub/current-commit.js
+++ b/modules/sub/current-commit.js
@@ -4,7 +4,7 @@ export function shortCommit() {
return execSync('git rev-parse --short HEAD').toString().trim()
}
export function getCommitInfo() {
- let d = execSync(`git show -s --format='%s;;;%B'`).toString().trim().slice(1,-1).replace(/[\r\n]/gm, '\n').split(';;;')
+ let d = execSync(`git show -s --format='%s;;;%B'`).toString().trim().replace(/[\r\n]/gm, '\n').split(';;;')
d[1] = d[1].replace(d[0], '').trim().toString().replace(/[\r\n]/gm, '<br>')
return d
}
\ No newline at end of file
diff --git a/strings/en/changelog.json b/strings/en/changelog.json
deleted file mode 100644
index c11d0d83..00000000
--- a/strings/en/changelog.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "subtitle": "beginning of 2.2",
- "text": "- added download popup to solve the issue with downloads on ios\n- merged big and small popups into one\n- made buttons in donation menu act like buttons\n- began to clean up localisation\n- added ability to embed repo url into localisation strings\n- moved ffmpeg args to config for more flexibility (and hopefully future changes)\n- removed error response in stream that could result in a crash\n- removed notice for ios users from about cause it's no longer relevant\n- made error popup look and act like the rest\n- a tiny bit of clean up",
- "github": "&gt;&gt; see previous changes and contribute on github"
-}
\ No newline at end of file
diff --git a/strings/en/desc.json b/strings/en/desc.json
index 0868081f..ea05092b 100644
--- a/strings/en/desc.json
+++ b/strings/en/desc.json
@@ -14,5 +14,6 @@
"normalDownload": "download button opens a new tab with requested video. you can disable this popup in settings.",
"download": "download",
"copy": "copy url",
- "open": "open"
+ "open": "open",
+ "github": "&gt;&gt; see previous changes and contribute on github"
}
\ No newline at end of file