diff options
-rw-r--r-- | displaymenu.c | 5 | ||||
-rw-r--r-- | po/de_DE.po | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/displaymenu.c b/displaymenu.c index fe0ab134..d7bfec18 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -103,9 +103,10 @@ void cFlatDisplayMenu::SetTitle(const char *Title) { if( (menuCategory == mcRecording || menuCategory == mcTimer) && Config.DiskUsageShow ) { cVideoDiskUsage::HasChanged(VideoDiskUsageState); int DiskUsage = cVideoDiskUsage::UsedPercent(); - int FreeGB = cVideoDiskUsage::FreeMB() / 1024; + double FreeGB = cVideoDiskUsage::FreeMB() / 1024.0; + int FreeMinutes = cVideoDiskUsage::FreeMinutes(); cString extra1 = cString::sprintf("%s: %d%%", tr("disk usage"), DiskUsage); - cString extra2 = cString::sprintf("%s: %d GB", tr("free space"), FreeGB); + cString extra2 = cString::sprintf("%s: %.1f GB ~ %02d:%02d", tr("free"), FreeGB, FreeMinutes / 60, FreeMinutes % 60); cString iconName("chart1"); if( DiskUsage > 14 ) diff --git a/po/de_DE.po b/po/de_DE.po index 49e2bdad..b8cd81e4 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -21,8 +21,8 @@ msgstr "Uhr" msgid "disk usage" msgstr "Plattennutzung" -msgid "free space" -msgstr "freier Platz" +msgid "free" +msgstr "frei" msgid "Volume" msgstr "Lautstärke" |