Skip to content

Commit cff14dc

Browse files
committed
Quick fix Ukrainian locale.
1 parent c1844e6 commit cff14dc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎core/src/main/java/org/ocpsoft/prettytime/i18n/Resources_ua.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ private String performFormat(Duration duration) {
142142
return "зараз";
143143
}
144144
if (duration.isInPast()) {
145-
return "тільки що";
145+
return "щойно";
146146
}
147147
return null;
148148
}

‎core/src/test/java/org/ocpsoft/prettytime/PrettyTimeI18n_UA_Test.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public void testCenturiesFromNow() throws Exception
152152
public void testMomentsAgo() throws Exception
153153
{
154154
PrettyTime t = new PrettyTime(new Date(6000), locale);
155-
assertEquals("тільки що", t.format(new Date(0)));
155+
assertEquals("щойно", t.format(new Date(0)));
156156
}
157157

158158
@Test

0 commit comments

Comments
 (0)