l10n: Eliminated STRING_CMD_REPORTS_*

This commit is contained in:
Paul Beckingham 2018-01-21 12:14:45 -05:00
parent f307cabc9e
commit c8c2be1652
10 changed files with 4 additions and 42 deletions

View file

@ -31,7 +31,6 @@
#include <Table.h>
#include <format.h>
#include <util.h>
#include <i18n.h>
extern Context context;
@ -40,7 +39,7 @@ CmdReports::CmdReports ()
{
_keyword = "reports";
_usage = "task reports";
_description = STRING_CMD_REPORTS_USAGE;
_description = "Lists all supported reports";
_read_only = true;
_displays_id = false;
_needs_gc = false;
@ -87,8 +86,8 @@ int CmdReports::execute (std::string& output)
std::stringstream out;
Table view;
view.width (context.getWidth ());
view.add (STRING_CMD_REPORTS_REPORT);
view.add (STRING_CMD_REPORTS_DESC);
view.add ("Report");
view.add ("Description");
setHeaderUnderline (view);
for (auto& report : reports)
@ -101,8 +100,7 @@ int CmdReports::execute (std::string& output)
out << optionalBlankLine ()
<< view.render ()
<< optionalBlankLine ()
<< format (STRING_CMD_REPORTS_SUMMARY, reports.size ())
<< '\n';
<< format ("{1} reports\n", reports.size ());
output = out.str ();
return 0;

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Bis"
#define STRING_CMD_INFO_USAGE "Zeigt alle Daten und Metadaten"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Virtual tags"
#define STRING_CMD_REPORTS_DESC "Beschreibung"
#define STRING_CMD_REPORTS_REPORT "Report"
#define STRING_CMD_REPORTS_SUMMARY "{1} Reports"
#define STRING_CMD_REPORTS_USAGE "Zeigt alle unterstützten Reports"
#define STRING_CMD_TAGS_NO_TAGS "Keine Schlagworte."
#define STRING_CMD_TAGS_PLURAL "{1} Schlagworte"
#define STRING_CMD_TAGS_SINGLE "1 Schlagwort"

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Until"
#define STRING_CMD_INFO_USAGE "Shows all data and metadata"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Virtual tags"
#define STRING_CMD_REPORTS_DESC "Description"
#define STRING_CMD_REPORTS_REPORT "Report"
#define STRING_CMD_REPORTS_SUMMARY "{1} reports"
#define STRING_CMD_REPORTS_USAGE "Lists all supported reports"
#define STRING_CMD_TAGS_NO_TAGS "No tags."
#define STRING_CMD_TAGS_PLURAL "{1} tags"
#define STRING_CMD_TAGS_SINGLE "1 tag"

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Ĝis"
#define STRING_CMD_INFO_USAGE "Montras datumojn kaj metadatumojn"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Virtual tags"
#define STRING_CMD_REPORTS_DESC "Priskribo"
#define STRING_CMD_REPORTS_REPORT "Raporto"
#define STRING_CMD_REPORTS_SUMMARY "{1} raportoj"
#define STRING_CMD_REPORTS_USAGE "Listigas ĉian raporton subtenatan"
#define STRING_CMD_TAGS_NO_TAGS "Nenia etikedo."
#define STRING_CMD_TAGS_PLURAL "{1} etikedoj"
#define STRING_CMD_TAGS_SINGLE "1 etikedo"

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Hasta"
#define STRING_CMD_INFO_USAGE "Muestra todos los datos y metadatos"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Marcas virtuales"
#define STRING_CMD_REPORTS_DESC "Descripción"
#define STRING_CMD_REPORTS_REPORT "Informe"
#define STRING_CMD_REPORTS_SUMMARY "{1} informes"
#define STRING_CMD_REPORTS_USAGE "Lista todos los informes soportados"
#define STRING_CMD_TAGS_NO_TAGS "No hay marcas."
#define STRING_CMD_TAGS_PLURAL "{1} marcas"
#define STRING_CMD_TAGS_SINGLE "1 marca"

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Jusqu'au"
#define STRING_CMD_INFO_USAGE "Affiche toutes les données et méta-données"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Virtual tags"
#define STRING_CMD_REPORTS_DESC "Description"
#define STRING_CMD_REPORTS_REPORT "Rapport"
#define STRING_CMD_REPORTS_SUMMARY "{1} rapports"
#define STRING_CMD_REPORTS_USAGE "Liste tous les rapports supportés"
#define STRING_CMD_TAGS_NO_TAGS "Pas d'étiquettes."
#define STRING_CMD_TAGS_PLURAL "{1} étiquettes"
#define STRING_CMD_TAGS_SINGLE "1 étiquette"

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Fino a"
#define STRING_CMD_INFO_USAGE "Mostra tutti i dati e i metadati"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Virtual tags"
#define STRING_CMD_REPORTS_DESC "Descrizione"
#define STRING_CMD_REPORTS_REPORT "Report"
#define STRING_CMD_REPORTS_SUMMARY "{1} report"
#define STRING_CMD_REPORTS_USAGE "Lista dei report supportati"
#define STRING_CMD_TAGS_NO_TAGS "Nessun tag."
#define STRING_CMD_TAGS_PLURAL "{1} tag"
#define STRING_CMD_TAGS_SINGLE "1 tag"

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Until"
#define STRING_CMD_INFO_USAGE "すべてのデータとメタデータを表示"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Virtual tags"
#define STRING_CMD_REPORTS_DESC "Description"
#define STRING_CMD_REPORTS_REPORT "Report"
#define STRING_CMD_REPORTS_SUMMARY "{1} reports"
#define STRING_CMD_REPORTS_USAGE "Lists all supported reports"
#define STRING_CMD_TAGS_NO_TAGS "タグがない。"
#define STRING_CMD_TAGS_PLURAL "{1} 個のタグ"
#define STRING_CMD_TAGS_SINGLE "1 つのタグ"

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Do"
#define STRING_CMD_INFO_USAGE "Pokazuje wszystkie dane i metadane"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Virtual tags"
#define STRING_CMD_REPORTS_DESC "Opis"
#define STRING_CMD_REPORTS_REPORT "Raport"
#define STRING_CMD_REPORTS_SUMMARY "{1} raportów"
#define STRING_CMD_REPORTS_USAGE "Lista wszystkich wspieranych raportów"
#define STRING_CMD_TAGS_NO_TAGS "Brak tagów."
#define STRING_CMD_TAGS_PLURAL "{1} tagów"
#define STRING_CMD_TAGS_SINGLE "1 tag"

View file

@ -53,10 +53,6 @@
#define STRING_CMD_INFO_UNTIL "Até"
#define STRING_CMD_INFO_USAGE "Exibe todos os dados e meta-dados"
#define STRING_CMD_INFO_VIRTUAL_TAGS "Virtual tags"
#define STRING_CMD_REPORTS_DESC "Descrição"
#define STRING_CMD_REPORTS_REPORT "Relatório"
#define STRING_CMD_REPORTS_SUMMARY "{1} relatórios"
#define STRING_CMD_REPORTS_USAGE "Lista todos os relatórios suportados"
#define STRING_CMD_TAGS_NO_TAGS "Sem marcas."
#define STRING_CMD_TAGS_PLURAL "{1} marcas"
#define STRING_CMD_TAGS_SINGLE "1 marca"