Removed not longer localization strings

This commit is contained in:
Bernd Bestel 2021-11-15 19:53:59 +01:00
parent 321a141978
commit b0329d70ec
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
6 changed files with 0 additions and 12 deletions

View File

@ -12,12 +12,6 @@ msgstr ""
"Language: en\n" "Language: en\n"
"X-Domain: grocy/component_translations\n" "X-Domain: grocy/component_translations\n"
msgid "timeago_locale"
msgstr ""
msgid "timeago_nan"
msgstr ""
msgid "moment_locale" msgid "moment_locale"
msgstr "" msgstr ""

View File

@ -16,7 +16,6 @@ Grocy.Components.BatteryCard.Refresh = function(batteryId)
$('#batterycard-battery-edit-button').removeClass("disabled"); $('#batterycard-battery-edit-button').removeClass("disabled");
$('#batterycard-battery-journal-button').removeClass("disabled"); $('#batterycard-battery-journal-button').removeClass("disabled");
EmptyElementWhenMatches('#batterycard-battery-last-charged-timeago', __t('timeago_nan'));
RefreshContextualTimeago(".batterycard"); RefreshContextualTimeago(".batterycard");
}, },
function(xhr) function(xhr)

View File

@ -25,7 +25,6 @@ Grocy.Components.ChoreCard.Refresh = function(choreId)
$("#chorecard-chore-last-tracked-timeago").removeClass("timeago-date-only"); $("#chorecard-chore-last-tracked-timeago").removeClass("timeago-date-only");
} }
EmptyElementWhenMatches('#chorecard-chore-last-tracked-timeago', __t('timeago_nan'));
RefreshContextualTimeago(".chorecard"); RefreshContextualTimeago(".chorecard");
}, },
function(xhr) function(xhr)

View File

@ -270,7 +270,6 @@ Grocy.Components.DateTimePicker.GetInputElement().on('keyup', function(e)
Grocy.Components.DateTimePicker.GetInputElement().on('input', function(e) Grocy.Components.DateTimePicker.GetInputElement().on('input', function(e)
{ {
$('#datetimepicker-timeago').attr("datetime", Grocy.Components.DateTimePicker.GetValue()); $('#datetimepicker-timeago').attr("datetime", Grocy.Components.DateTimePicker.GetValue());
EmptyElementWhenMatches('#datetimepicker-timeago', __t('timeago_nan'));
RefreshContextualTimeago(".datetimepicker-wrapper"); RefreshContextualTimeago(".datetimepicker-wrapper");
}); });

View File

@ -270,7 +270,6 @@ Grocy.Components.DateTimePicker2.GetInputElement().on('keyup', function(e)
Grocy.Components.DateTimePicker2.GetInputElement().on('input', function(e) Grocy.Components.DateTimePicker2.GetInputElement().on('input', function(e)
{ {
$('#datetimepicker2-timeago').attr("datetime", Grocy.Components.DateTimePicker2.GetValue()); $('#datetimepicker2-timeago').attr("datetime", Grocy.Components.DateTimePicker2.GetValue());
EmptyElementWhenMatches('#datetimepicker2-timeago', __t('timeago_nan'));
RefreshContextualTimeago(".datetimepicker2-wrapper"); RefreshContextualTimeago(".datetimepicker2-wrapper");
}); });

View File

@ -110,8 +110,6 @@ Grocy.Components.ProductCard.Refresh = function(productId)
$("#productcard-product-picture").addClass("d-none"); $("#productcard-product-picture").addClass("d-none");
} }
EmptyElementWhenMatches('#productcard-product-last-purchased-timeago', __t('timeago_nan'));
EmptyElementWhenMatches('#productcard-product-last-used-timeago', __t('timeago_nan'));
RefreshContextualTimeago(".productcard"); RefreshContextualTimeago(".productcard");
}, },
function(xhr) function(xhr)