Skip to content

Commit

Permalink
standardize data formats for config/*.yml
Browse files Browse the repository at this point in the history
This means mostly sorting by key:

for f in sorted(glob.glob('*.yml')) + sorted(glob.glob('[a-z]*/*.yml')):
    print(f)
    with open(f) as fp:
        data = yaml.safe_load(fp)
    with open(f, 'w') as fp:
        yaml.dump(data, fp, default_flow_style=False, sort_keys=True, allow_unicode=True)
  • Loading branch information
eighthave committed Dec 24, 2022
1 parent 7bb60cd commit 29a3c92
Show file tree
Hide file tree
Showing 56 changed files with 506 additions and 504 deletions.
22 changes: 11 additions & 11 deletions config/antiFeatures.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
Ads:
name: Ads
description: This app contains advertising
icon: ic_antifeature_ads.xml
name: Ads
DisabledAlgorithm:
name: Signed Using An Unsafe Algorithm
description: This app has a weak security signature
icon: ic_antifeature_disabledalgorithm.xml
name: Signed Using An Unsafe Algorithm
KnownVuln:
name: Known Vulnerability
description: This app contains a known security vulnerability
icon: ic_antifeature_knownvuln.xml
name: Known Vulnerability
NSFW:
name: NSFW
description: This app contains content that should not be publicized or visible
everywhere
icon: ic_antifeature_nsfw.xml
name: NSFW
NoSourceSince:
name: The source code is no longer available, no updates possible.
icon: ic_antifeature_nosourcesince.xml
name: The source code is no longer available, no updates possible.
NonFreeAdd:
name: Non-Free Addons
description: This app promotes non-free add-ons
icon: ic_antifeature_nonfreeadd.xml
name: Non-Free Addons
NonFreeAssets:
name: Non-Free Assets
description: This app contains non-free assets
icon: ic_antifeature_nonfreeassets.xml
name: Non-Free Assets
NonFreeDep:
name: Non-Free Dependencies
description: This app depends on other non-free apps
icon: ic_antifeature_nonfreedep.xml
name: Non-Free Dependencies
NonFreeNet:
name: Non-Free Network Services
description: This app promotes or depends entirely on a non-free network service
icon: ic_antifeature_nonfreenet.xml
name: Non-Free Network Services
Tracking:
name: Tracking
description: This app tracks and reports your activity
icon: ic_antifeature_tracking.xml
name: Tracking
UpstreamNonFree:
name: Upstream Non-Free
description: The upstream source code is not entirely Free
icon: ic_antifeature_upstreamnonfree.xml
name: Upstream Non-Free
20 changes: 10 additions & 10 deletions config/ar/antiFeatures.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
Ads:
name: إعلانات
description: يحتوي هذا التطبيق على إعلانات
name: إعلانات
DisabledAlgorithm:
name: تم التوقيع باستخدام خوارزمية غير آمنة
description: هذا التطبيق لديه توقيع أمان ضعيف
name: تم التوقيع باستخدام خوارزمية غير آمنة
KnownVuln:
name: مشكلة ثغرة معروفة
description: يحتوي هذا التطبيق على ثغرة أمنية معروفة
name: مشكلة ثغرة معروفة
NSFW:
name: NSFW
description: يحتوي هذا التطبيق على محتوى لا يجب نشره أو رؤيته في كل مكان
name: NSFW
NoSourceSince:
name: لم يعد الكود المصدري متاحًا، ولا توجد تحديثات ممكنة.
NonFreeAdd:
name: إضافات غير مجانية
description: هذا التطبيق يحمل إضافات غير حرة
name: إضافات غير مجانية
NonFreeAssets:
name: الأصول غير الحرة
description: هذا التطبيق يحتوي على أصول غير الحرة
name: الأصول غير الحرة
NonFreeDep:
name: تبعيات غير حرة
description: هذا التطبيق يعتمد على تطبيقات أخرى غير حرة
name: تبعيات غير حرة
NonFreeNet:
name: خدمات شبكة غير مجانية
description: هذا التطبيق يحمل خدمات شبكة غير حرة
name: خدمات شبكة غير مجانية
Tracking:
name: تتبع
description: هذا التطبيق يراقب ويوثق النشاطات الخاصة بك
name: تتبع
UpstreamNonFree:
name: المصدر ليس حر
description: شفرة المصدر المنشطة ليست حرة تماماً
name: المصدر ليس حر
20 changes: 10 additions & 10 deletions config/ast/antiFeatures.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
Ads:
name: Anuncios
description: Esta aplicación contién anuncios
name: Anuncios
DisabledAlgorithm:
name: Signed Using An Unsafe Algorithm
description: Esta aplicación tien una firma de seguranza que ye feble
name: Signed Using An Unsafe Algorithm
KnownVuln:
name: Known Vulnerability
description: This app contains a known security vulnerability
name: Known Vulnerability
NSFW:
name: NSFW
description: This app contains content that should not be publicized or visible
everywhere
name: NSFW
NoSourceSince:
name: El códigu fonte yá nun ta disponible. Nun va haber más anovamientos.
NonFreeAdd:
name: Complementos privativos
description: This app promotes non-free add-ons
name: Complementos privativos
NonFreeAssets:
name: Gráficos privativos
description: Esta aplicación contién gráficos que son privativos
name: Gráficos privativos
NonFreeDep:
name: Dependencies privatives
description: This app depends on other non-free apps
name: Dependencies privatives
NonFreeNet:
name: Servicios de rede privativos
description: This app promotes non-free network services
name: Servicios de rede privativos
Tracking:
name: Tracking
description: This app tracks and reports your activity
name: Tracking
UpstreamNonFree:
name: Upstream Non-Free
description: El códigu fonte nun ye llibre dafechu
name: Upstream Non-Free
20 changes: 10 additions & 10 deletions config/bg/antiFeatures.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
Ads:
name: Реклами
description: Приложението съдържа реклами
name: Реклами
DisabledAlgorithm:
name: Подписът е от несигурен алгоритъм
description: Приложението има слаба защита на подписа
name: Подписът е от несигурен алгоритъм
KnownVuln:
name: Известна уязвимост
description: Приложението има известна уязвимост в сигурността
name: Известна уязвимост
NSFW:
name: NSFW
description: Съдържанието на приложението не трябва да бъде публикувано или видимо
навсякъде
name: NSFW
NoSourceSince:
name: Изходният код не е наличен вече, не е възможно обновяване.
NonFreeAdd:
name: Несвободни добавки
description: Приложението насърчава използване на добавки със затворен код
name: Несвободни добавки
NonFreeAssets:
name: Несвободни активи
description: Приложението съдържа несвободни компоненти
name: Несвободни активи
NonFreeDep:
name: Несвободни зависимости
description: Приложението зависи от други несвободни приложения
name: Несвободни зависимости
NonFreeNet:
name: Несвободни мрежови услуги
description: Приложението насърчава използване на несвободни мрежови услуги
name: Несвободни мрежови услуги
Tracking:
name: Проследяване
description: Приложението следи и докладва действията ви
name: Проследяване
UpstreamNonFree:
name: Несвободен оригинален изходен код
description: Изходният код не е напълно свободен
name: Несвободен оригинален изходен код
18 changes: 9 additions & 9 deletions config/bn/antiFeatures.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
Ads:
name: বিজ্ঞাপন
description: এই অ্যাপে বিজ্ঞাপন আছে
name: বিজ্ঞাপন
DisabledAlgorithm:
name: অনিরাপদভাবে স্বাক্ষরিত
description: এই অ্যাপের নিরাপত্তা স্বাক্ষর খুব দুর্বল
name: অনিরাপদভাবে স্বাক্ষরিত
KnownVuln:
name: জানা অনিরাপত্তা আছে
description: এই অ্যাপের একটি জানা নিরাপত্তা দুর্বলতা রয়েছে
name: জানা অনিরাপত্তা আছে
NoSourceSince:
name: উৎস কোড এখন অনুপভ্য, হালনাগাদ সম্ভব নয়।
NonFreeAdd:
name: অ-মুক্ত সংযোজন
description: এই অ্যাপ অ-মুক্ত অ্যাড-অন ব্যবহারে উৎসাহিত করে
name: অ-মুক্ত সংযোজন
NonFreeAssets:
name: অমুক্ত অংশ
description: এই অ্যাপে অ-মুক্ত উপাদান আছে
name: অমুক্ত অংশ
NonFreeDep:
name: অ-মুক্ত নির্ভরশীল শাখা
description: এই অ্যাপ অন্যান্য অ-মুক্ত অ্যাপের উপর নির্ভর করে
name: অ-মুক্ত নির্ভরশীল শাখা
NonFreeNet:
name: অ-মুক্ত নেটওয়ার্ক সেবা
description: এই অ্যাপ অ-মুক্ত নেটওয়ার্ক সেবা নিতে উৎসাহিত করে
name: অ-মুক্ত নেটওয়ার্ক সেবা
Tracking:
name: নজরদারী
description: এই অ্যাপটি আপনার কার্যকলাপ ট্র্যাক করে এবং বলে দেয়
name: নজরদারী
UpstreamNonFree:
name: উজান অ-মুক্ত
description: উজানের কোড সম্পূর্ণরূপে মুক্ত না
name: উজান অ-মুক্ত
20 changes: 10 additions & 10 deletions config/ca/antiFeatures.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
Ads:
name: Anuncis
description: Aquesta aplicació conté publicitat
name: Anuncis
DisabledAlgorithm:
name: Signat amb un algoritme insegur
description: La signatura de seguretat de l\'aplicació és feble
name: Signat amb un algoritme insegur
KnownVuln:
name: Vulnerabilitat coneguda
description: Aquesta aplicació té un problema de seguretat conegut
name: Vulnerabilitat coneguda
NSFW:
name: NSFW
description: Aquesta aplicació conté contingut que no s\'ha de fer públic ni visible
a tot arreu
name: NSFW
NoSourceSince:
name: El codi font ja no està disponible, no és possible actualitzar.
NonFreeAdd:
name: Complements no lliures
description: Aquesta aplicació promou complements no lliures
name: Complements no lliures
NonFreeAssets:
name: Recursos no gratuïts
description: Aquesta aplicació conté parts no lliures
name: Recursos no gratuïts
NonFreeDep:
name: Dependències no lliures
description: Aquesta aplicació depèn d\'altres aplicacions no lliures
name: Dependències no lliures
NonFreeNet:
name: Serveis de xarxa no lliures
description: Aquesta aplicació promou serveis de xarxa no lliures
name: Serveis de xarxa no lliures
Tracking:
name: Seguiment
description: Aquesta aplicació segueix i informa sobre la vostra activitat
name: Seguiment
UpstreamNonFree:
name: Upstream no lliure
description: El codi font no és del tot lliure
name: Upstream no lliure
26 changes: 13 additions & 13 deletions config/categories.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
Connectivity:
name: Connectivity
icon: category_connectivity.png
name: Connectivity
Development:
name: Development
icon: category_development.png
name: Development
Games:
name: Games
icon: category_games.png
name: Games
Graphics:
name: Graphics
icon: category_graphics.png
name: Graphics
Internet:
name: Internet
icon: category_internet.png
name: Internet
Money:
name: Money
icon: category_money.png
name: Money
Multimedia:
name: Multimedia
Navigation:
name: Navigation
icon: category_navigation.png
name: Navigation
Phone & SMS:
name: Phone & SMS
Reading:
name: Reading
icon: category_reading.png
name: Reading
Science & Education:
name: Science & Education
icon: category_science_education.png
name: Science & Education
Security:
name: Security
icon: category_security.png
name: Security
Sports & Health:
name: Sports & Health
System:
name: System
icon: category_system.png
name: System
Theming:
name: Theming
icon: category_theming.png
name: Theming
Time:
name: Time
Writing:
name: Writing
icon: category_writing.png
name: Writing
2 changes: 1 addition & 1 deletion config/channels.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Beta:
name: "Beta"
description: Beta versions
name: Beta
12 changes: 7 additions & 5 deletions config/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
repo:
name: F-Droid
description: The official F-Droid Free Software repository. Everything in this repository is always built from the source code.
icon: fdroid-icon.png
archive:
description: The archive of the official F-Droid Free Software repository. Apps
here are old and can contain known vulnerabilities and security issues!
icon: fdroid-icon.png
name: F-Droid Archive
description: The archive of the official F-Droid Free Software repository. Apps here are old and can contain known vulnerabilities and security issues!
repo:
description: The official F-Droid Free Software repository. Everything in this repository
is always built from the source code.
icon: fdroid-icon.png
name: F-Droid
20 changes: 10 additions & 10 deletions config/cs/antiFeatures.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
Ads:
name: Reklamy
description: Tato aplikace obsahuje reklamu
name: Reklamy
DisabledAlgorithm:
name: Podepsáno pomocí nebezpečného algoritmu
description: Tato aplikace má slabý bezpečnostní podpis
name: Podepsáno pomocí nebezpečného algoritmu
KnownVuln:
name: Známá zranitelnost
description: Tato aplikace má známou zranitelnost v zabezpečení
name: Známá zranitelnost
NSFW:
name: NSFW
description: Tato aplikace obsahuje obsah, který by neměl bý publikovaný či viditelný
kdekoli
name: NSFW
NoSourceSince:
name: Zdrojový kód už není k dispozici, aktualizace nejsou možné.
NonFreeAdd:
name: Nesvobodné doplňky
description: Tato aplikace propaguje nesvobodné doplňky
name: Nesvobodné doplňky
NonFreeAssets:
name: Nesvobodná aktiva
description: Tato aplikace obsahuje nesvobodné části
name: Nesvobodná aktiva
NonFreeDep:
name: Nesvobodné závislosti
description: Tato aplikace závisí na ostatních nesvobodných aplikacích
name: Nesvobodné závislosti
NonFreeNet:
name: Nesvobodné síťové služby
description: Tato aplikace propaguje nesvobodné síťové služby
name: Nesvobodné síťové služby
Tracking:
name: Sledování
description: Tato aplikace zaznamenává a hlásí vaše aktivity
name: Sledování
UpstreamNonFree:
name: Nesvobodný Upstream
description: Originální zdrojový kód je částečně nesvovodný
name: Nesvobodný Upstream
Loading

0 comments on commit 29a3c92

Please sign in to comment.