[Github-comments] [geany/geany] OS Info Improvements (#2618)

Matthew Brush notifications at xxxxx
Mon Oct 12 23:26:05 UTC 2020


@codebrainz commented on this pull request.



> +# endif
+#else
+	/* if g_get_os_info() is not available, do it the old-fashioned way */
+# if defined(_WIN64)
+	os_info = g_strdup(_("Microsoft Windows (64-bit)"));
+# elif defined(_WIN32)
+	os_info = g_strdup(_("Microsoft Windows"));
+# elif defined(__APPLE__)
+	os_info = g_strdup(_("Apple macOS"));
+# elif defined(__linux__)
+	os_info = g_strdup(_("Linux"));
+# elif defined(__FreeBSD__)
+	os_info = g_strdup(_("FreeBSD"));
+# elif defined(__ANDROID__)
+	os_info = g_strdup(_("Android"));
+# endif

They are marked translatable in case some language(s) call them something else. No opinion really, other than that if they aren't already translated before release, then it will just put the English names anyway.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2618#discussion_r503582879
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201012/64dec539/attachment.htm>


More information about the Github-comments mailing list