mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
Merge branch 'translation-app-field' into 'master'
metadata: add new Translation app field for URL for contributions See merge request fdroid/fdroidserver!450
This commit is contained in:
commit
bc5bf7e0ec
@ -32,6 +32,7 @@ metadata_v0:
|
||||
- cd fdroiddata
|
||||
- ../tests/dump_internal_metadata_format.py
|
||||
- sed -i
|
||||
-e '/Translation:/d'
|
||||
-e '/kivy:\sfalse/d'
|
||||
-e '/timeout:\s/d'
|
||||
metadata/dump_*/*.yaml
|
||||
|
@ -67,6 +67,7 @@ app_fields = set([
|
||||
'Web Site',
|
||||
'Source Code',
|
||||
'Issue Tracker',
|
||||
'Translation',
|
||||
'Changelog',
|
||||
'Donate',
|
||||
'FlattrID',
|
||||
@ -118,6 +119,7 @@ class App(dict):
|
||||
self.WebSite = ''
|
||||
self.SourceCode = ''
|
||||
self.IssueTracker = ''
|
||||
self.Translation = ''
|
||||
self.Changelog = ''
|
||||
self.Donate = None
|
||||
self.FlattrID = None
|
||||
@ -400,7 +402,7 @@ valuetypes = {
|
||||
|
||||
FieldValidator("HTTP link",
|
||||
r'^http[s]?://',
|
||||
["WebSite", "SourceCode", "IssueTracker", "Changelog", "Donate"]),
|
||||
["WebSite", "SourceCode", "IssueTracker", "Translation", "Changelog", "Donate"]),
|
||||
|
||||
FieldValidator("Email",
|
||||
r'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$',
|
||||
@ -1143,6 +1145,7 @@ def write_yaml(mf, app):
|
||||
'WebSite',
|
||||
'SourceCode',
|
||||
'IssueTracker',
|
||||
'Translation',
|
||||
'Changelog',
|
||||
'Donate',
|
||||
'FlattrID',
|
||||
@ -1437,6 +1440,7 @@ def write_plaintext_metadata(mf, app, w_comment, w_field, w_build):
|
||||
w_field_always('Web Site')
|
||||
w_field_always('Source Code')
|
||||
w_field_always('Issue Tracker')
|
||||
w_field_nonempty('Translation')
|
||||
w_field_nonempty('Changelog')
|
||||
w_field_nonempty('Donate')
|
||||
w_field_nonempty('FlattrID')
|
||||
|
@ -4,6 +4,7 @@ License: GPL-3.0+
|
||||
WebSite: https://f-droid.org
|
||||
SourceCode: https://gitlab.com/fdroid/fdroidclient
|
||||
IssueTracker: https://gitlab.com/fdroid/fdroidclient/issues
|
||||
Translation: https://hosted.weblate.org/projects/f-droid/f-droid
|
||||
Changelog: https://gitlab.com/fdroid/fdroidclient/raw/HEAD/CHANGELOG.md
|
||||
Donate: https://f-droid.org/about
|
||||
FlattrID: '343053'
|
||||
|
@ -29,6 +29,7 @@ RepoType: git
|
||||
RequiresRoot: false
|
||||
SourceCode: https://github.com/miguelvps/PoliteDroid
|
||||
Summary: Calendar tool
|
||||
Translation: ''
|
||||
UpdateCheckData: null
|
||||
UpdateCheckIgnore: null
|
||||
UpdateCheckMode: Tags
|
||||
|
@ -52,6 +52,7 @@ RepoType: git
|
||||
RequiresRoot: true
|
||||
SourceCode: https://github.com/dschuermann/ad-away
|
||||
Summary: Block advertisements
|
||||
Translation: https://www.transifex.com/dominikschuermann/adaway
|
||||
UpdateCheckData: null
|
||||
UpdateCheckIgnore: null
|
||||
UpdateCheckMode: Tags
|
||||
|
@ -49,6 +49,7 @@ RepoType: git
|
||||
RequiresRoot: false
|
||||
SourceCode: https://github.com/SMSSecure/SMSSecure
|
||||
Summary: Send encrypted text messages (SMS)
|
||||
Translation: https://www.transifex.com/silence/silence
|
||||
UpdateCheckData: null
|
||||
UpdateCheckIgnore: null
|
||||
UpdateCheckMode: Tags
|
||||
|
@ -51,6 +51,7 @@ RepoType: git
|
||||
RequiresRoot: false
|
||||
SourceCode: http://git.videolan.org/?p=vlc-ports/android.git;a=summary
|
||||
Summary: Media player
|
||||
Translation: ''
|
||||
UpdateCheckData: null
|
||||
UpdateCheckIgnore: null
|
||||
UpdateCheckMode: Tags
|
||||
|
@ -3,6 +3,7 @@ License:GPL-3.0
|
||||
Web Site:https://dev.guardianproject.info/projects/checkey
|
||||
Source Code:https://github.com/guardianproject/checkey
|
||||
Issue Tracker:https://dev.guardianproject.info/projects/checkey/issues
|
||||
Translation:https://www.transifex.com/otf/checkey
|
||||
Bitcoin:1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk
|
||||
|
||||
Auto Name:Checkey
|
||||
|
@ -29,6 +29,7 @@
|
||||
"RequiresRoot": true,
|
||||
"SourceCode": "https://github.com/dschuermann/ad-away",
|
||||
"Summary": "Block advertisements",
|
||||
"Translation": "https://www.transifex.com/dominikschuermann/adaway",
|
||||
"UpdateCheckMode": "Tags",
|
||||
"WebSite": "http://sufficientlysecure.org/index.php/adaway",
|
||||
|
||||
|
@ -3,6 +3,7 @@ License:GPL-3.0+
|
||||
Web Site:https://f-droid.org
|
||||
Source Code:https://gitlab.com/fdroid/fdroidclient
|
||||
Issue Tracker:https://gitlab.com/fdroid/fdroidclient/issues
|
||||
Translation:https://hosted.weblate.org/projects/f-droid/f-droid
|
||||
Changelog:https://gitlab.com/fdroid/fdroidclient/raw/HEAD/CHANGELOG.md
|
||||
Donate:https://f-droid.org/about
|
||||
FlattrID:343053
|
||||
|
@ -3,6 +3,7 @@ License:GPL-3.0
|
||||
Web Site:http://www.smssecure.org
|
||||
Source Code:https://github.com/SMSSecure/SMSSecure
|
||||
Issue Tracker:https://github.com/SMSSecure/SMSSecure/issues
|
||||
Translation:https://www.transifex.com/silence/silence
|
||||
|
||||
Auto Name:SMSSecure
|
||||
Summary:Send encrypted text messages (SMS)
|
||||
|
Loading…
Reference in New Issue
Block a user