@visulima/humanizer
Version:
Humanizer is a library for humanizing data in a human-readable form.
21 lines (16 loc) • 971 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
const language_util_createDurationLanguage = require('./util/create-duration-language.cjs');
const durationLanguage = language_util_createDurationLanguage(
(counter) => `సంవత్స${counter === 1 ? "రం" : "రాల"}`,
(counter) => `నెల${counter === 1 ? "" : "ల"}`,
(counter) => counter === 1 ? "వారం" : "వారాలు",
(counter) => `రోజు${counter === 1 ? "" : "లు"}`,
(counter) => `గంట${counter === 1 ? "" : "లు"}`,
(counter) => counter === 1 ? "నిమిషం" : "నిమిషాలు",
(counter) => counter === 1 ? "సెకను" : "సెకన్లు",
(counter) => counter === 1 ? "మిల్లీసెకన్" : "మిల్లీసెకన్లు",
"%s లో",
"%s క్రితం"
);
exports.durationLanguage = durationLanguage;