chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8b3589
)
timedatectl: improve english language DST change texts a bit
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Nov 2012 20:38:42 +0000
(21:38 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Nov 2012 20:38:42 +0000
(21:38 +0100)
src/timedate/timedatectl.c
patch
|
blob
|
history
diff --git
a/src/timedate/timedatectl.c
b/src/timedate/timedatectl.c
index d379bccd7f4707194a161ae8ede9eff585b3e09b..6a1c19a5748598df26f49949047028b9735265e9 100644
(file)
--- a/
src/timedate/timedatectl.c
+++ b/
src/timedate/timedatectl.c
@@
-173,10
+173,10
@@
static void print_status_info(StatusInfo *i) {
zero(tm);
assert_se(strftime(b, sizeof(b), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&tc, &tm)) > 0);
char_array_0(b);
zero(tm);
assert_se(strftime(b, sizeof(b), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&tc, &tm)) > 0);
char_array_0(b);
- printf(" Last DST change: DST
became %s
\n"
+ printf(" Last DST change: DST
%s at
\n"
" %s\n"
" %s\n",
" %s\n"
" %s\n",
- is_dstc ? "
active" : "inactive
", a, b);
+ is_dstc ? "
began" : "ended
", a, b);
t = tn - 1;
zero(tm);
t = tn - 1;
zero(tm);
@@
-186,10
+186,10
@@
static void print_status_info(StatusInfo *i) {
zero(tm);
assert_se(strftime(b, sizeof(b), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&tn, &tm)) > 0);
char_array_0(b);
zero(tm);
assert_se(strftime(b, sizeof(b), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&tn, &tm)) > 0);
char_array_0(b);
- printf(" Next DST change: DST
will become %s, the clock will jump %s
\n"
+ printf(" Next DST change: DST
%s (the clock jumps %s) at
\n"
" %s\n"
" %s\n",
" %s\n"
" %s\n",
- is_dstn ? "
active" : "inactive
", jump_str(dn, s, sizeof(s)), a, b);
+ is_dstn ? "
begins" : "ends
", jump_str(dn, s, sizeof(s)), a, b);
free(zc);
free(zn);
free(zc);
free(zn);