[california] Damned Lies only requires two slashes ("//") for translator notes



commit f0a568920a30cf4e8b30ba76329798c82bfb97a1
Author: Jim Nelson <jim yorba org>
Date:   Thu May 22 17:50:18 2014 -0700

    Damned Lies only requires two slashes ("//") for translator notes

 src/application/california-application.vala |    4 +-
 src/calendar/calendar.vala                  |   66 +++++++++++++-------------
 src/host/host-show-event.vala               |   10 ++--
 3 files changed, 40 insertions(+), 40 deletions(-)
---
diff --git a/src/application/california-application.vala b/src/application/california-application.vala
index 3b7387b..996ce75 100644
--- a/src/application/california-application.vala
+++ b/src/application/california-application.vala
@@ -215,8 +215,8 @@ public class Application : Gtk.Application {
             "logo-icon-name", ICON_NAME,
             "website", WEBSITE_URL,
             "website-label", WEBSITE_NAME,
-            /// Translators: add your name and email address to receive credit in the About dialog
-            /// For example: Yamada Taro <yamada taro example com>
+            // Translators: add your name and email address to receive credit in the About dialog
+            // For example: Yamada Taro <yamada taro example com>
             "translator-credits", _("translator-credits")
         );
     }
diff --git a/src/calendar/calendar.vala b/src/calendar/calendar.vala
index d726823..70866ab 100644
--- a/src/calendar/calendar.vala
+++ b/src/calendar/calendar.vala
@@ -107,29 +107,29 @@ public void init() throws Error {
     FMT_DAY_OF_WEEK_ABBREV = "%a";
     FMT_FULL_DATE = "%x";
     
-    /// The month and year according to locale preferences, i.e. "March 2014"
-    /// See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
+    // The month and year according to locale preferences, i.e. "March 2014"
+    // See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
     FMT_MONTH_YEAR_FULL = _("%B %Y");
     
-    /// The abbreviated month and year according to locale preferences, i.e. "Mar 2014"
-    /// See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
+    // The abbreviated month and year according to locale preferences, i.e. "Mar 2014"
+    // See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
     FMT_MONTH_YEAR_ABBREV = _("%b %Y");
     
-    /// A "pretty" date according to locale preferences, i.e. "Monday, March 10, 2014"
-    /// See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
+    // A "pretty" date according to locale preferences, i.e. "Monday, March 10, 2014"
+    // See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
     FMT_PRETTY_DATE = _("%A, %B %e, %Y");
     
-    /// A "pretty" date with no year according to locale preferences, i.e. "Monday, March 10"
-    /// See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
+    // A "pretty" date with no year according to locale preferences, i.e. "Monday, March 10"
+    // See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
     FMT_PRETTY_DATE_NO_YEAR = _("%A, %B %e");
     
-    /// A "pretty" date abbreviated according to locale preferences, i.e. "Mon, Mar 10, 2014"
-    /// See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
+    // A "pretty" date abbreviated according to locale preferences, i.e. "Mon, Mar 10, 2014"
+    // See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
     FMT_PRETTY_DATE_ABBREV = _("%a, %b %e, %Y");
     
-    /// A "pretty" date abbreviated and no year according to locale preferences, i.e.
-    /// "Mon, Mar 10"
-    /// See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
+    // A "pretty" date abbreviated and no year according to locale preferences, i.e.
+    // "Mon, Mar 10"
+    // See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
     FMT_PRETTY_DATE_ABBREV_NO_YEAR = _("%a, %b %e");
     
     // A "pretty" date with no day of week according to locale preferences, i.e. "March 10, 2014"
@@ -150,40 +150,40 @@ public void init() throws Error {
     // See http://www.cplusplus.com/reference/ctime/strftime/ for format reference
     FMT_PRETTY_DATE_ABBREV_NO_DOW_NO_YEAR = _("%b %e");
     
-    /// Ante meridiem
-    /// (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
-    /// format user settings to be honored)
+    // Ante meridiem
+    // (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
+    // format user settings to be honored)
     FMT_AM = _("am");
     
-    /// Brief ante meridiem, i.e. "am" -> "a"
-    /// (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
-    /// format user settings to be honored)
+    // Brief ante meridiem, i.e. "am" -> "a"
+    // (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
+    // format user settings to be honored)
     FMT_BRIEF_AM = _("a");
     
-    /// Post meridiem
-    /// (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
-    /// format user settings to be honored)
+    // Post meridiem
+    // (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
+    // format user settings to be honored)
     FMT_PM = _("pm");
     
-    /// Brief post meridiem, i.e. "pm" -> "p"
-    /// (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
-    /// format user settings to be honored)
+    // Brief post meridiem, i.e. "pm" -> "p"
+    // (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
+    // format user settings to be honored)
     FMT_BRIEF_PM = _("p");
     
-    /// The 12-hour time with minute and meridiem ("am" or "pm"), i.e. "5:06pm"
-    /// (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
-    /// format user settings to be honored)
+    // The 12-hour time with minute and meridiem ("am" or "pm"), i.e. "5:06pm"
+    // (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
+    // format user settings to be honored)
     FMT_12HOUR_MIN_MERIDIEM = _("%d:%02d%s");
     
-    /// The 12-hour time with minute, seconds, and meridiem ("am" or "pm"), i.e. "5:06:31pm"
-    /// (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
-    /// format user settings to be honored)
+    // The 12-hour time with minute, seconds, and meridiem ("am" or "pm"), i.e. "5:06:31pm"
+    // (Please translate even if 24-hour clock used in your locale; this allows for GNOME time
+    // format user settings to be honored)
     FMT_12HOUR_MIN_SEC_MERIDIEM = _("%d:%02d:%02d%s");
     
-    /// The 24-hour time with minutes, i.e. "17:06"
+    // The 24-hour time with minutes, i.e. "17:06"
     FMT_24HOUR_MIN = _("%02d:%02d");
     
-    /// The 24-hour time with minutes and seconds, i.e. "17:06:31"
+    // The 24-hour time with minutes and seconds, i.e. "17:06:31"
     FMT_24HOUR_MIN_SEC = _("%02d:%02d:%02d");
     
     // Used by quick-add to convert a user's day unit into an internal value.  Common abbreviations
diff --git a/src/host/host-show-event.vala b/src/host/host-show-event.vala
index 6bf03f3..9bc4a02 100644
--- a/src/host/host-show-event.vala
+++ b/src/host/host-show-event.vala
@@ -85,7 +85,7 @@ public class ShowEvent : Gtk.Grid, Toolkit.Card {
             } else {
                 // All-day event spanning days, print "<abbrev date> to <abbrev date>"
                 date_flags |= Calendar.Date.PrettyFlag.ABBREV;
-                /// Prints a span of dates, i.e. "January 3 to January 6"
+                // Prints a span of dates, i.e. "January 3 to January 6"
                 span = _("%s to %s").printf(date_span.start_date.to_pretty_string(date_flags),
                     date_span.end_date.to_pretty_string(date_flags));
             }
@@ -95,7 +95,7 @@ public class ShowEvent : Gtk.Grid, Toolkit.Card {
             if (exact_time_span.is_same_day) {
                 // Single-day timed event, print "<full date>\n<full start time> to <full end time>",
                 // including year if not current year
-                /// Prints a span of time, i.e. "3:30pm to 4:30pm"
+                // Prints a span of time, i.e. "3:30pm to 4:30pm"
                 string timespan = _("%s to %s").printf(
                     
exact_time_span.start_exact_time.to_pretty_time_string(Calendar.WallTime.PrettyFlag.NONE),
                     exact_time_span.end_exact_time.to_pretty_time_string(Calendar.WallTime.PrettyFlag.NONE));
@@ -104,9 +104,9 @@ public class ShowEvent : Gtk.Grid, Toolkit.Card {
             } else {
                 // Multi-day timed event, print "<full time>, <full date>" on both lines,
                 // including year if either not current year
-                /// Prints two full time and date strings on separate lines, i.e.:
-                /// 12 January 2012, 3:30pm
-                /// 13 January 2013, 6:30am
+                // Prints two full time and date strings on separate lines, i.e.:
+                // 12 January 2012, 3:30pm
+                // 13 January 2013, 6:30am
                 span = _("%s, %s\n%s, %s").printf(
                     exact_time_span.start_exact_time.to_pretty_date_string(date_flags),
                     
exact_time_span.start_exact_time.to_pretty_time_string(Calendar.WallTime.PrettyFlag.NONE),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]