Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application description shown in all languages available #333

Closed
massarom opened this issue Jul 9, 2021 · 1 comment
Closed

Application description shown in all languages available #333

massarom opened this issue Jul 9, 2021 · 1 comment
Labels
external-issue Not our bug, but an issue from an external source impacting us.

Comments

@massarom
Copy link

massarom commented Jul 9, 2021

Some applications return their descriptions with all possible translations, instead of following the system's language. I noticed this first while browsing on Discover (Plasma's software store) and reported it on its bug tracker, but it looks like that Discover is not the culprit.

An example is running appstreamcli search kcron --details, which has the following output.

Output
Identificatore: org.kde.kcron [addon]
Internal ID: system/package/os/org.kde.kcron/*
Nome: KCron
Riepilogo: Pianificatore di operazioni
Pacchetto: kcron
Sito web: https://www.kde.org
Icona: preferences-system-time
Estende: org.kde.plasmashell
Descrizione:
  Task Scheduler is a graphical front end to the standard "cron" utility. With it, commands (or
  "tasks") can be run at specific times, on a certain day or date, or at specific intervals (time
  between execution).

  El planificador de tasques és un frontal gràfic per a la utilitat
  estàndard «cron». Amb ella, les ordres (o «tasques») es podran executar en moments
  específics, en un dia o data determinats, o en intervals específics (temps entre les
  execucions).

  El planificador de tasques és un frontal gràfic per a la utilitat estàndard
  «cron». Amb ella, les ordres (o «tasques») es podran executar en moments específics, en un
  dia o data determinats, o en intervals específics (temps entre les execucions).

  Der
  Aufgabenplaner ist eine grafische Benutzeroberfläche zum Standarddienstprogramm „cron“.
  Damit können Befehle oder „Aufgaben“ an bestimmten Tagen oder Zeiten oder in bestimmten
  Abständen zwischen der Ausführung ausgeführt werden.

  Ο
  χρονοπρογραμματιστής εργασιών είναι ένα περιβάλλον
  χρήσης για το τυπικό εργαλείο «cron». Με αυτόοι εντολές
  (ή «εργασίες») μπορούν να εκτελούνται σε καθορισμένο
  χρόνο, σε ορισμένη ημέρα ή ημερομηνία ή σε ορισμένα
  χρονικά διαστήματα (χρόνος ανάμεσα στις
  εκτελέσει).

  Task Scheduler is a graphical front end to the standard "cron" utility.
  With it, commands (or "tasks") can be run at specific times, on a certain day or date, or at
  specific intervals (time between execution).

  El planificador de tareas es una interfaz gráfica
  para la utilidad estándar «cron». Mediante ella, puede ejecutar órdenes (o «tareas») a una
  hora determinada, en un día o a una hora determinada, o a intervalos específicos (tiempo entre
  ejecuciones).

  Tegumihaldur on programmi "cron" graafiline kasutajaliides. Selle abil saab käske
  (ehk "tegumeid") panna käima kindlal kellaajal, kindlal päeval või kuupäeval või kindla
  intervalliga.

  Ataza antolatzailea "cron" estandarrerako bitarteko grafiko bat da. Berari esker,
  komandoak (edo "atazak") ordu zehatzetan exekutatu daitezke, egun edo data jakin batean, edo
  bitarte jakinetan (exekuzio arteko denbora).

  Graafinen käyttöliittymä standardinmukaiseen
  ”cron”-työkaluun, jolla komennon (tai tehtävän) voi ajaa tiettyyn aikaan tai
  määräajoin.

  Le planificateur de tâches est une interface graphique pour l'utilitaire
  standard « cron ». Grâce à lui, vous pouvez lancer des commandes (les « tâches ») à
  certains horaires spécifiques, à certaines dates ou jours de la semaine, ou à des intervalles
  spécifiques (entre deux exécutions).

  O planificador de tarefas é unha interface gráfica para
  a utilizade estándar «cron». Con el as ordes (ou «tarefas») poden executarse en horas
  concretas, en días ou datas concretas, ou en intervalos específicos (tempo entre
  execucións).

  A Feladatüzemető egy grafikus előtétprogram a „cron” segédprogramhoz.
  Ezzel parancsok (vagy „feladatok”) futtathatóak adott időpontban, egy bizonyos napon vagy
  dátumon, vagy adott időközönként (két végrehajtás között).

  Planificator de carga (Task
  Scheduler) es uninterfacie graphic al utilitate standard "cron". Con illo, commandos (or
  "tasks",i.e.cargas) pote esser executate a tempores specific, a un certe data o die, o a
  intervallos specific (tempore intra execution).

  Il pianificatore di operazioni è un'interfaccia
  grafica al programma «cron». Con esso i comandi (o «processi») possono essere avviati ad
  orari specifici, in certi giorni o in certe date, oppure ad intervalli specifici (tempo tra le
  esecuzioni).

  작업 스케줄러는 "cron" 유틸리티의 그래픽 프론트엔드입니다.
  명령(혹은 "작업")을 지정한 시간, 지정한 요일이나 날짜, 또는 지정한
  시간 간격마다 실행시킬 수 있습니다.

  Užduočių planuoklė yra standartinės
  "cron" paslaugų programos grafinė naudotojo sąsaja. Naudojant ją, komandos (ar "užduotys")
  gali būti paleidžiamos tam tikru laiku, tam tikrą dieną ar datą, ar tam tikrais intervalais
  (laikais tarp paleidimo).

  Takenplanner is een grafische front-end voor het standaard hulpmiddel
  "cron". Hiermee kunt u commando's (of "takens") laten uitvoeren op specifieke tijden, op een
  bepaalde dag of datum of op specifieke intervallen (tijd tussen
  uitvoeren).

  Oppgåveplanleggjaren er eit grafisk grensesnitt til «cron»-verktøyet. Du kan
  bruka programmet til å køyra kommandoar («oppgåver») til faste klokkeslett, på faste
  vekedagar eller datoar, eller etter faste tidsintervall.

  Harmonogram zadań jest graficzną
  nakładką na podstawowe narzędzie "cron". Dzięki niemu, polecenia (lub "zadania") można
  wykonywać o danym czasie, o danym dniu lub dacie, lub w danych odstępach czasowych.

  O
  Escalonador de Tarefas é uma interface gráfica para o utilitário-padrão "cron". Com ele, os
  comandos (ou "tarefas") poderão ser executados em horas específicas, num dado dia ou data ou
  com intervalos específicos (períodos de tempo entre execuções).

  O Agendador de Tarefas é
  uma interface gráfica para o utilitário padrão "cron". Com ele, os comandos (ou "tarefas")
  poderão ser executados em horários específicos, em uma determinada data ou dia da semana, ou
  ainda em intervalos específicos (períodos de tempo entre execuções).

  Planificatorul de
  Sarcini e o interfață grafică pentru utilitarul standard „cron”. Cu el, comenzi (sau
  „sarcini”) pot fi rulate la anumite ore, într-o anumită zi sau dată, sau la intervale
  anumite (durată între executări).

  Планировщик задач —
  графическая оболочка к стандартной программе cron.
  Приложение Планировщик задач позволяет
  запланировать запуск программ (задач) указанное
  количество раз в указанное время и дату или через
  указанный интервал времени.

  Plánovač úloh je grafický frontend pre
  štandardnú utilitu "cron". Príkazy alebo úlohy sa dajú spúšťať v určenom čase alebo v
  určenom dátume, prípadne v špecifických intervaloch (časom medzi spusteniami).

  Task
  scheduler (Razporejevalnik opravil) je grafični vmesnik standardnega pomožnega programa "cron".
  Z njim lahko dosežemo, da se ukazi (oz. opravila) sprožijo ob določenem času, na določen dan
  ali datum ali ponovljeno v določenih intervalih (z določenim časom med
  proženji).

  Jobbschemaläggare är ett grafiskt gränssnitt för det vanliga verktyget "cron".
  Med det kan kommandon (eller "aktiviteter") köras vid specifika tider, en viss dag eller ett
  visst datum, eller med specifika intervall (tid mellan körningar).

  Планувальник
  завдань є графічною оболонкою до стандартної
  програми «cron». За його допомогою можна віддавати
  команди (або виконувати «завдання») у певні моменти
  часу, у певні дні або дати або з певним інтервалом
  (часом між послідовними виконаннями).

  xxTask Scheduler is a
  graphical front end to the standard "cron" utility. With it, commands (or "tasks") can be run at
  specific times, on a certain day or date, or at specific intervals (time between
  execution).xx

  任务调度器是标准“cron”工具的图形化前端。利用它,您可以在特定时间,一周中的某天,特定日期,或者按照某个周期
  (运行之间的间隔) 运行命令 (或者“任务”)。

  《工作排程工具》是標準
  cron
  工具程式的圖形前端。使用這工具,指令(或「工作」)可以執行指定次數、特定的日期,或特定的間隔(執行間隔時間)。
URL predefinito della schermata: https://cdn.kde.org/screenshots/kcron/kcron.png
Gruppo progetto: KDE
Licenza: GPL-2.0-or-later
Categorie: Utility
System details
Operating System: openSUSE Tumbleweed 20210702
Appstreamcli version: 0.14.3

It happens to some apps, but not all, so I don't know if the problem is malformed metadata files or what.

@ximion
Copy link
Owner

ximion commented Jul 10, 2021

I looked at the data that Tumbleweed provides, http://opensuse.schlundtech.de/tumbleweed/repo/oss/repodata/5b50274218a3c3b6a70ec9b0e859a4e6adee218d711f2cd64e036ca4114be9c5-appdata.xml.gz and it looks like OpenSUSE generates invalid AppStream metadata.
For metadata collections, a description must be translated as a block and must not have individual by-line translations. Surprisingly, this is done correctly sometimes and wrong at other times.
Looks very much OpenSUSE-specific though, I haven't seen this in Debian/Ubuntu/Fedora from a quick look, so maybe file a bug against OpenSUSE to fix this? (not sure how exactly their data is generated)

@ximion ximion added the external-issue Not our bug, but an issue from an external source impacting us. label Jul 10, 2021
@ximion ximion closed this as completed Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-issue Not our bug, but an issue from an external source impacting us.
Projects
None yet
Development

No branches or pull requests

2 participants