This repository has been archived by the owner on Oct 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from RostiMelk/development
Version 2.5.0
- Loading branch information
Showing
15 changed files
with
203 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
.DS_Store | ||
dist/ | ||
*.zip | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
# Colors | ||
error='\033[0;31m' | ||
warning='\033[0;33m' | ||
success='\033[0;32m' | ||
end='\033[0m' | ||
|
||
if brew ls --versions jq > /dev/null; then | ||
NAME="acf-tools" | ||
VERSION=$(jq -r .version src/manifest.json) | ||
|
||
mkdir -p dist | ||
rm dist/*.zip | ||
|
||
# for Chrome | ||
zip -r "dist/${NAME}-v${VERSION}-chrome.zip" src -x "*.DS_Store" | ||
|
||
# for Firefox | ||
cd src | ||
zip -r "../dist/${NAME}-v${VERSION}-firefox.zip" * -x "*.DS_Store" | ||
|
||
echo "" | ||
echo "${success}β Finished build!${end}" | ||
else | ||
echo "" | ||
echo "${error}β package jq not found.${end}" | ||
echo "${warning}Try running: brew install jq${end}" | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"extDescription": { | ||
"message": "Advanced Custom Fields Code einfach gemacht!" | ||
}, | ||
"copyFieldName": { | ||
"message": "Feldname in Zwischenablage kopieren" | ||
}, | ||
"copiedFieldName": { | ||
"message": "Feldname in Zwischenablage kopiert!" | ||
}, | ||
"openDocsTitle": { | ||
"message": "Γffne die ACF Dokumentation fΓΌr dieses Feld" | ||
}, | ||
"copyCodeBtn": { | ||
"message": "Code kopieren" | ||
}, | ||
"copyCodeBtnTitle": { | ||
"message": "PHP Code fΓΌr dieses Feld kopieren" | ||
}, | ||
"copyAllCodeBtn": { | ||
"message": "Code mit Unterfeldern kopieren" | ||
}, | ||
"copyAllCodeBtnTitle": { | ||
"message": "PHP Code fΓΌr dieses Feld und Unterfelder kopieren" | ||
}, | ||
"copiedCode": { | ||
"message": "Code in Zwischenablage kopiert!" | ||
}, | ||
"copiedCodeSub": { | ||
"message": "Code mit Unterfeldern in Zwischenablage kopiert!" | ||
}, | ||
"fieldError": { | ||
"message": "Nicht unterstΓΌtztes Feld, reiche hier ein Issue ein: https://github.com/RostiMelk/ACF-Tools/issues" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"extDescription": { | ||
"message": "Advanced Custom Fields code made simple!" | ||
}, | ||
"copyFieldName": { | ||
"message": "Copy field name to clipboard" | ||
}, | ||
"copiedFieldName": { | ||
"message": "Copied field name to clipboard!" | ||
}, | ||
"openDocsTitle": { | ||
"message": "Open ACF documentation for this field" | ||
}, | ||
"copyCodeBtn": { | ||
"message": "Copy code" | ||
}, | ||
"copyCodeBtnTitle": { | ||
"message": "Copy PHP code for this field" | ||
}, | ||
"copyAllCodeBtn": { | ||
"message": "Copy code with sub fields" | ||
}, | ||
"copyAllCodeBtnTitle": { | ||
"message": "Copy PHP code for this field and inner fields" | ||
}, | ||
"copiedCode": { | ||
"message": "Copied code to clipboard!" | ||
}, | ||
"copiedCodeSub": { | ||
"message": "Copied code with sub fields to clipboard!" | ||
}, | ||
"fieldError": { | ||
"message": "Unsupported field, submit an issue on: https://github.com/RostiMelk/ACF-Tools/issues" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"extDescription": { | ||
"message": "Advanced Custom Fields kode gjort enkelt!" | ||
}, | ||
"copyFieldName": { | ||
"message": "Kopier feltnavn til utklippstavlen" | ||
}, | ||
"copiedFieldName": { | ||
"message": "Kopierte feltnavn til utklippstavlen!" | ||
}, | ||
"openDocsTitle": { | ||
"message": "Γ pne ACF dokumentasjonen for denne feltgruppen" | ||
}, | ||
"copyCodeBtn": { | ||
"message": "Kopier kode" | ||
}, | ||
"copyCodeBtnTitle": { | ||
"message": "Kopier PHP koden for dette feltet" | ||
}, | ||
"copyAllCodeBtn": { | ||
"message": "Kopier kode med underfelt" | ||
}, | ||
"copyAllCodeBtnTitle": { | ||
"message": "Kopier PHP koden for dette feltet med underfelt" | ||
}, | ||
"copiedCode": { | ||
"message": "Kopierte koden til utklippstavlen!" | ||
}, | ||
"copiedCodeSub": { | ||
"message": "Kopierte koden med underfelt til utklippstavlen!" | ||
}, | ||
"fieldError": { | ||
"message": "Dette feltet stΓΈttes. Send inn en issue her: https://github.com/RostiMelk/ACF-Tools/issues" | ||
} | ||
} |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.