summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-05-20 17:54:48 -0300
committerDan Winship <danw@gnome.org>2013-05-21 11:23:22 -0300
commit4b94c0831e449374ce769cb4938a28b3dca59a43 (patch)
tree28f53ec4bc4bd8e224e9747e90f87f9308a119bc /tests
parent52f6a7d16250d2b180c83cce8929f3e14972e1a9 (diff)
Use 'dumb quotes' rather than `really dumb quotes'
Back in the far-off twentieth century, it was normal on unix workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027 APOSTROPHE to be drawn as "’". This led to the convention of using them as poor-man's ‛smart quotes’ in ASCII-only text. However, "'" is now universally drawn as a vertical line, and "`" at a 45-degree angle, making them an `odd couple' when used together. Unfortunately, there are lots of very old strings in glib, and also lots of new strings in which people have kept up the old tradition, perhaps entirely unaware that it used to not look stupid. Fix this by just using 'dumb quotes' everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=700746
Diffstat (limited to 'tests')
-rw-r--r--tests/testgdateparser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testgdateparser.c b/tests/testgdateparser.c
index 473637902..dea560248 100644
--- a/tests/testgdateparser.c
+++ b/tests/testgdateparser.c
@@ -45,7 +45,7 @@ int main(int argc, char** argv)
{
if (input[0] == '\n')
{
- g_print("Enter a date to parse and press enter, or type `POSIX':\n");
+ g_print("Enter a date to parse and press enter, or type 'POSIX':\n");
continue;
}
@@ -55,7 +55,7 @@ int main(int argc, char** argv)
while (*s) {
g_date_set_parse(d, *s);
- g_print("POSIXy parse test `%s' ...", *s);
+ g_print("POSIXy parse test '%s' ...", *s);
if (!g_date_valid(d))
{
@@ -65,7 +65,7 @@ int main(int argc, char** argv)
{
gchar buf[256];
- g_date_strftime(buf,100," parsed `%x' (%B %d %Y)\n",
+ g_date_strftime(buf,100," parsed '%x' (%B %d %Y)\n",
d);
g_print("%s", buf);
}
@@ -85,7 +85,7 @@ int main(int argc, char** argv)
{
gchar buf[256];
- g_date_strftime(buf,100,"Parsed: `%x' (%B %d %Y)\n",
+ g_date_strftime(buf,100,"Parsed: '%x' (%B %d %Y)\n",
d);
g_print("%s", buf);
}