diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-07 15:47:05 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-07 15:47:05 +0100 |
commit | a334668751ca122e0e34c77d297f60818e951df6 (patch) | |
tree | 608072104444ab955774f6eb7dc6ac4ac419c343 /web/i18n | |
parent | 6c3cf500cd115227148c8a8a8e8ce9c51ac337bc (diff) | |
download | taginfo-a334668751ca122e0e34c77d297f60818e951df6.tar taginfo-a334668751ca122e0e34c77d297f60818e951df6.tar.gz |
Empty table issue cleanup.
Sometimes there are not results for some query and you'll end up with an empty
table. It would be nice if no empty table appears in this case but instead some
nice message. But we can't simply remove the table, because if people use the
search-inside-table function and that was the result of the empty table they
loose the ability to change the search term.
We could only draw the table in the first place if there will be something in
it. But just finding out whether there will be something in the table can be
quite expensive, for instance with searches for values. So we don't want to do
this twice (once in the template to find out whether to draw the table in the
first place and once in the API call filling the table.) So we are currently
stuck with what we have until somebody invents a better way.
Diffstat (limited to 'web/i18n')
-rw-r--r-- | web/i18n/de.yml | 1 | ||||
-rw-r--r-- | web/i18n/en.yml | 1 | ||||
-rw-r--r-- | web/i18n/pl.yml | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/web/i18n/de.yml b/web/i18n/de.yml index da8c841..55f37f8 100644 --- a/web/i18n/de.yml +++ b/web/i18n/de.yml @@ -184,7 +184,6 @@ pages: to_count_tooltip: Anzahl Objekte mit diesem Tag, die auch den anderen Tag/Key haben. other_key_tooltip: Andere Tags/Keys, die zusammen mit diesem Tag vorkommen. from_count_tooltip: Anzahl Objekte mit dem anderen Tag, die auch diesen Tag/Key haben. - none_found: Keine Kombinationen gefunden (nur die häufigsten Kombinationen wurden geprüft). combinations: title: Kombinationen description: Diese Tabelle zeigt nur die häufigsten Kombinationen der häufigsten Tags. diff --git a/web/i18n/en.yml b/web/i18n/en.yml index 6d4a0c8..a1c5ad5 100644 --- a/web/i18n/en.yml +++ b/web/i18n/en.yml @@ -180,7 +180,6 @@ pages: to_count_tooltip: Number of objects with this tag that also have the other tag/key. other_key_tooltip: Tags/Keys used together with this tag. from_count_tooltip: Number of objects with other tag/key that also have this tag. - none_found: No combinations found (only checked the most common ones). combinations: title: Combinations description: This table shows only the most common combinations of the most common tags. diff --git a/web/i18n/pl.yml b/web/i18n/pl.yml index ab72853..a733799 100644 --- a/web/i18n/pl.yml +++ b/web/i18n/pl.yml @@ -171,7 +171,6 @@ pages: to_count_tooltip: Liczba obiektów z tym tagiem, które mają także inne tagi/klucze. other_key_tooltip: Tagi/klucze użyte wraz z tym tagiem. from_count_tooltip: Liczba obiektów z innym tagiem/kluczem, które mają także ten tag. - none_found: Brak znalezionych powiązań (tylko najbardziej powrzechne). combinations: title: Połączenia description: Ta tabela pokazuje tylko najbardziej powszechne połączenia najpopularniejszych tagów. |