diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
| commit | d55b767039605256c736166a942a9138e3eacfd7 (patch) | |
| tree | 947063b634c50d438a794325f13275e134aa5993 /node_modules/date-fns/locale/ar-TN/_lib/formatDistance | |
| parent | 864ce67d89c77d8ef9c3361f80d619853abcf91c (diff) | |
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/date-fns/locale/ar-TN/_lib/formatDistance')
| -rw-r--r-- | node_modules/date-fns/locale/ar-TN/_lib/formatDistance/index.js | 125 |
1 files changed, 0 insertions, 125 deletions
diff --git a/node_modules/date-fns/locale/ar-TN/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ar-TN/_lib/formatDistance/index.js deleted file mode 100644 index 5fc5912..0000000 --- a/node_modules/date-fns/locale/ar-TN/_lib/formatDistance/index.js +++ /dev/null @@ -1,125 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var formatDistanceLocale = { - lessThanXSeconds: { - one: 'أقل من ثانية', - two: 'أقل من زوز ثواني', - threeToTen: 'أقل من {{count}} ثواني', - other: 'أقل من {{count}} ثانية' - }, - xSeconds: { - one: 'ثانية', - two: 'زوز ثواني', - threeToTen: '{{count}} ثواني', - other: '{{count}} ثانية' - }, - halfAMinute: 'نص دقيقة', - lessThanXMinutes: { - one: 'أقل من دقيقة', - two: 'أقل من دقيقتين', - threeToTen: 'أقل من {{count}} دقايق', - other: 'أقل من {{count}} دقيقة' - }, - xMinutes: { - one: 'دقيقة', - two: 'دقيقتين', - threeToTen: '{{count}} دقايق', - other: '{{count}} دقيقة' - }, - aboutXHours: { - one: 'ساعة تقريب', - two: 'ساعتين تقريب', - threeToTen: '{{count}} سوايع تقريب', - other: '{{count}} ساعة تقريب' - }, - xHours: { - one: 'ساعة', - two: 'ساعتين', - threeToTen: '{{count}} سوايع', - other: '{{count}} ساعة' - }, - xDays: { - one: 'نهار', - two: 'نهارين', - threeToTen: '{{count}} أيام', - other: '{{count}} يوم' - }, - aboutXWeeks: { - one: 'جمعة تقريب', - two: 'جمعتين تقريب', - threeToTen: '{{count}} جماع تقريب', - other: '{{count}} جمعة تقريب' - }, - xWeeks: { - one: 'جمعة', - two: 'جمعتين', - threeToTen: '{{count}} جماع', - other: '{{count}} جمعة' - }, - aboutXMonths: { - one: 'شهر تقريب', - two: 'شهرين تقريب', - threeToTen: '{{count}} أشهرة تقريب', - other: '{{count}} شهر تقريب' - }, - xMonths: { - one: 'شهر', - two: 'شهرين', - threeToTen: '{{count}} أشهرة', - other: '{{count}} شهر' - }, - aboutXYears: { - one: 'عام تقريب', - two: 'عامين تقريب', - threeToTen: '{{count}} أعوام تقريب', - other: '{{count}} عام تقريب' - }, - xYears: { - one: 'عام', - two: 'عامين', - threeToTen: '{{count}} أعوام', - other: '{{count}} عام' - }, - overXYears: { - one: 'أكثر من عام', - two: 'أكثر من عامين', - threeToTen: 'أكثر من {{count}} أعوام', - other: 'أكثر من {{count}} عام' - }, - almostXYears: { - one: 'عام تقريب', - two: 'عامين تقريب', - threeToTen: '{{count}} أعوام تقريب', - other: '{{count}} عام تقريب' - } -}; -var formatDistance = function formatDistance(token, count, options) { - var usageGroup = formatDistanceLocale[token]; - var result; - if (typeof usageGroup === 'string') { - result = usageGroup; - } else if (count === 1) { - result = usageGroup.one; - } else if (count === 2) { - result = usageGroup.two; - } else if (count <= 10) { - result = usageGroup.threeToTen.replace('{{count}}', String(count)); - } else { - result = usageGroup.other.replace('{{count}}', String(count)); - } - if (options !== null && options !== void 0 && options.addSuffix) { - if (options.comparison && options.comparison > 0) { - return 'في ' + result; - } else { - return 'عندو ' + result; - } - } - return result; -}; -var _default = formatDistance; -exports.default = _default; -module.exports = exports.default;
\ No newline at end of file |
