Fix English and update links in READMEs

This commit is contained in:
TacoTheDank 2019-04-19 09:01:51 +00:00 committed by Marcus
parent a566c97e21
commit 0c743b8b8b
2 changed files with 31 additions and 26 deletions

View File

@ -1,14 +1,15 @@
# Artwork
This repository holds images and designs for the F-Droid project. It
contains the source for the F-Droid logo, used in the client and server,
This repository holds images and designs for the F-Droid project.
It contains the source for the F-Droid logo used in the client and server,
as well as badges and anything in between.
[How to use an F-Droid badge](badge/README.md)
### SVG images
Most of the SVG files found in here are in the Inkscape format. You
should convert them to plain SVG with Inkscape if you would like to use
them in a website, for example. Depending on the viewer/browser, the
resulting look of the SVG might differ.
Most of the SVG files found in here are in the Inkscape format.
You should convert them to plain SVG with Inkscape if you would like to use
them in something like a website.
The resulting look of the SVG might differ depending on the viewer/browser.

View File

@ -1,49 +1,53 @@
# Badge
Use F-Droid badge on your site or README.md to indicate that your app is
available on the F-Droid main repository:
Use the F-Droid badge on your site or README.md to indicate that your app is
available on the F-Droid main repository. Badges are listed below.
<img src="https://f-droid.org/badge/get-it-on.png"
alt="Get it on F-Droid" height="80">
<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">
HTML code:
```html
<a href="https://f-droid.org/app/YOUR.APP.ID">
<img src="https://f-droid.org/badge/get-it-on.png"
alt="Get it on F-Droid" height="80">
<a href="https://f-droid.org/packages/YOUR.APP.ID">
<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">
</a>
```
Markdown code:
```markdown
[<img src="https://f-droid.org/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">](https://f-droid.org/app/YOUR.APP.ID)
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/YOUR.APP.ID)
```
Note that those code samples are to point people at the main F-Droid repository.
If you have your own F-Droid repository, you should instead tell people to
add your repository via a QR code. Such examples of landing pages for
Note that those code samples are to point people to the main F-Droid repository.
If you have your own F-Droid repository, you should tell people to
add your repository via a QR code instead. Such examples of landing pages for
third-party F-Droid repositories include:
* https://guardianproject.info/fdroid/
* https://microg.org/fdroid.html
* https://grobox.de/fdroid/
* https://fdroid.eutopia.cz/
* https://briarproject.org/fdroid.html
Generation
----------
The file `translate-svg.sh` will generate all translations. From `get-it-on.svg`
, which is designed for English, all other badges with left-to-right (LTR)
language-specifc text at top in is being generated. Some badges have tekst
right-to-left (RTL). For that the Hebrew version is the source, see
`git-it-on-iw.svg`.
The file `translate-svg.sh` will generate all translations.
All other badges with left-to-right (LTR)
language-specific text at the top are generated from `get-it-on.svg`
(which is designed for English). Some badges have right-to-left (RTL) text.
For these badges, the Hebrew version is the source (see
`get-it-on-iw.svg`).
For some languages, the text goes at the bottom. For LTR the file
`get-it-on-uz.svg` for Uzbek is the souce. See te content of `translate-svg.sh`
For some languages, the text goes at the bottom. For LTR, `get-it-on-uz.svg`
for Uzbek is the source. See the contents of `translate-svg.sh`
for all other variations and source designs. The file `export-png.sh` will
export a PNG file for each SVG file.