You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-06 09:19:22 +02:00
Updated Readme, mentioned Homebrew
This commit is contained in:
@@ -68,8 +68,11 @@ function buildLocale(inputFile, outputFile) {
|
||||
}
|
||||
|
||||
async function removePoHeaderDate(filePath) {
|
||||
await execCommand('sed -i "" -e\'/POT-Creation-Date:/d\' "' + filePath + '"');
|
||||
await execCommand('sed -i "" -e\'/PO-Revision-Date:/d\' "' + filePath + '"');
|
||||
// Note: on macOS this will fail because it needs to be 'sed -i ""'
|
||||
// Solution would be to install gsed, detect it here, and use it in place of sed in macOS
|
||||
// https://stackoverflow.com/questions/30003570/how-to-use-gnu-sed-on-mac-os-x#34815955
|
||||
await execCommand('sed -i -e\'/POT-Creation-Date:/d\' "' + filePath + '"');
|
||||
await execCommand('sed -i -e\'/PO-Revision-Date:/d\' "' + filePath + '"');
|
||||
}
|
||||
|
||||
async function createPotFile(potFilePath, sources) {
|
||||
|
||||
Reference in New Issue
Block a user