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 17
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,27 @@ | ||
![ACF Tools - Advanced Custom Fields code made simple](https://user-images.githubusercontent.com/25268506/79060144-bd7e0700-7c81-11ea-958f-4de9aff2bc01.jpg) | ||
|
||
This is a Google Chrome extension/Firefox add-on for Advanced Custom Fields to help with speeding up development. π₯ | ||
|
||
[![License](http://img.shields.io/:license-mit-semigreen.svg)](https://opensource.org/licenses/MIT) | ||
[![Google Web Store version](https://img.shields.io/chrome-web-store/v/ogliegjmpalokmaaeckcdgbhdeedcnmf)](https://chrome.google.com/webstore/detail/acf-tools/ogliegjmpalokmaaeckcdgbhdeedcnmf) | ||
[![Mozilla Firefox add-on libary version](https://img.shields.io/amo/v/ACF-Tools?color=orange)](https://addons.mozilla.org/en-US/firefox/addon/acf-tools/) | ||
|
||
This is a Google Chrome extension/Firefox add-on for Advanced Custom Fields to help with speeding up development. π₯ | ||
## Table of content | ||
|
||
- [What does it do?](#but-what-does-it-do) | ||
- [Installation](#installation) | ||
- [Chrome Web Store](#chrome-web-store) | ||
- [Firefox browser add-ons](#firefox-browser-add-ons) | ||
- [Contributing](#contributing) | ||
- [Translation](#translation) | ||
- [Development setup](#development-setup) | ||
- [Google Chrome](#google-chrome) | ||
- [Mozilla Firefox](#mozilla-firefox) | ||
- [Contact Details](#contact-details) | ||
- [License](#license) | ||
|
||
--- | ||
|
||
|
||
### But what does it do? | ||
|
||
|
@@ -26,22 +43,37 @@ You can [find the extension in the Firefox add-on libary](https://addons.mozilla | |
|
||
--- | ||
|
||
## Contributing | ||
|
||
### Translation | ||
I need your help with translations | ||
|
||
1. Fork this repository. | ||
2. Edit `messages.json` in `src/_locales/[localeCode]`. If it does not already exist, create a directory according to the [supported locales](https://developer.chrome.com/webstore/i18n?csw=1#localeTable). | ||
3. Create a new pull request. | ||
|
||
--- | ||
|
||
## Development setup | ||
|
||
### Google Chrome | ||
|
||
1. Clone repo | ||
2. Go to chrome://extensions/ | ||
3. Drag and drop folder into this window | ||
2. Go to `chrome://extensions/` | ||
3. Drag and drop the `src` folder into this window | ||
4. Write code | ||
5. Refresh Chrome Extension to test and debug as you develop | ||
|
||
### Mozilla Firefox | ||
|
||
1. Clone repo | ||
2. Go to about:debugging | ||
3. Click "Load Temporary Add-on" | ||
4. Refresh Firefox Add-on to test and debug as you develop | ||
2. cd into `ACF-Tools` folder | ||
3. Build Project with `$ sh build.sh` | ||
4. Go to `about:debugging` | ||
5. Click "This Firefox" | ||
6. Click "Load Temporary Add-on" | ||
7. Navigate into ACF-Tools/dist | ||
8. Select `acf-tools-vX.X.X-firefox.zip` to test | ||
|
||
--- | ||
|
||
|
@@ -51,4 +83,8 @@ Rostislav Melkumyan - @RostiMelk - [email protected] \ | |
Project Link: https://github.com/RostiMelk/ACF-Tools \ | ||
Feeling generous? Donations are accepted on paypal: [email protected] | ||
|
||
Distributed under the MIT license. See LICENSE for more information. | ||
--- | ||
|
||
## License | ||
|
||
Distributed under the MIT license. See `LICENSE` for more information. |
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.