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

elextr notifications at xxxxx
Mon Oct 12 23:38:05 UTC 2020


@elextr 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

It doesn't matter what its called in the users language, the info is for the project, which is in English,  "مايكروسوفت ويندوز 7" (Google translate Arabic for Microsoft Windows 7) isn't any use to us.

-- 
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_r503586047
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201012/09f97bbd/attachment.htm>


More information about the Github-comments mailing list