GPGSStrings.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. // <copyright file="GPGSStrings.cs" company="Google Inc.">
  2. // Copyright (C) 2014 Google Inc.
  3. //
  4. // Licensed under the Apache License, Version 2.0 (the "License");
  5. // you may not use this file except in compliance with the License.
  6. // You may obtain a copy of the License at
  7. //
  8. // http://www.apache.org/licenses/LICENSE-2.0
  9. //
  10. // Unless required by applicable law or agreed to in writing, software
  11. // distributed under the License is distributed on an "AS IS" BASIS,
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. // </copyright>
  16. // Keep the strings all the time even if on an unsupported configuration.
  17. namespace GooglePlayGames.Editor
  18. {
  19. public class GPGSStrings
  20. {
  21. public const string Error = "Error";
  22. public const string Ok = "OK";
  23. public const string Cancel = "Cancel";
  24. public const string Yes = "Yes";
  25. public const string No = "No";
  26. public const string Success = "Success";
  27. public const string Warning = "Warning";
  28. public class PostInstall
  29. {
  30. public const string Title = "Google Play Games Plugin for Unity";
  31. public const string Text = "The Google Play Games Plugin for Unity version $VERSION " +
  32. "is now ready to use. If this is a new installation or if you have " +
  33. "just upgraded from a previous version, please click the 'Google Play Games' " +
  34. "menu and select 'Android Setup' to set up your project.";
  35. }
  36. public class Setup
  37. {
  38. public const string AppIdTitle = "Google Play Games Application ID";
  39. public const string AppId = "Application ID";
  40. public const string AppIdBlurb = "Enter your application ID below. This is the numeric\n" +
  41. "identifier provided by the Developer Console (for example, 123456789012).";
  42. public const string AppIdError = "The App Id does not appear to be valid. " +
  43. "It must consist solely of digits, usually 10 or more.";
  44. public const string WebClientIdTitle = "Web App Client ID (Optional)";
  45. public const string ClientId = "Client ID";
  46. public const string ClientIdError = "The Client ID does not appear to be valid. " +
  47. "It should end in .apps.googleusercontent.com.";
  48. public const string AppIdMismatch = "Web app client ID not associated with this game!";
  49. public const string NearbyServiceId = "Nearby Connection Service ID";
  50. public const string NearbyServiceBlurb = "Enter the service id that identifies the " +
  51. "nearby connections service scope";
  52. public const string SetupButton = "Setup";
  53. }
  54. public class NearbyConnections
  55. {
  56. public const string Title = "Google Play Games - Nearby Connections Setup";
  57. public const string Blurb = "To configure Nearby Connections in this project,\n" +
  58. "please enter the information below and click on the Setup button.";
  59. public const string SetupComplete = "Nearby connections configured successfully.";
  60. }
  61. public class AndroidSetup
  62. {
  63. public const string Title = "Google Play Games - Android Configuration";
  64. public const string Blurb = "To configure Google Play Games in this project,\n" +
  65. "go to the Play Game console, then enter the information below and click on the Setup button.";
  66. public const string WebClientIdBlurb =
  67. "The web app client ID is needed to access the user's ID token and " +
  68. "call other APIs onbehalf of the user." +
  69. " It is not required for Game Services. Enter your oauth2 client ID below.\nTo obtain this " +
  70. "ID, generate a web linked app in Developer Console. Example:\n" +
  71. "123456789012-abcdefghijklm.apps.googleusercontent.com";
  72. public const string PkgName = "Package name";
  73. public const string PkgNameBlurb = "Enter your application's package name below.\n" +
  74. "(for example, com.example.lorem.ipsum).";
  75. public const string PackageNameError = "The package name does not appear to be valid. " +
  76. "Enter a valid Android package name (for example, com.example.lorem.ipsum).";
  77. public const string SdkNotFound = "Android SDK Not found";
  78. public const string SdkNotFoundBlurb = "The Android SDK path was not found. " +
  79. "Please configure it in the Unity preferences window (under External Tools).";
  80. public const string LibProjNotFound = "Google Play Services Library Project Not Found";
  81. public const string LibProjNotFoundBlurb = "Google Play Services library project " +
  82. "could not be found your SDK installation. Make sure it is installed (open " +
  83. "the SDK manager and go to Extras, and select Google Play Services).";
  84. public const string SupportJarNotFound = "Android Support Library v4 Not Found";
  85. public const string SupportJarNotFoundBlurb = "Android Support Library v4 " +
  86. "could not be found your SDK installation. Make sure it is installed (open " +
  87. "the SDK manager and go to Extras, and select 'Android Support Library').";
  88. public const string LibProjVerNotFound = "The version of your copy of the Google Play " +
  89. "Services Library Project could not be determined. Please make sure it is " +
  90. "at least version {0}. Continue?";
  91. public const string LibProjVerTooOld = "Your copy of the Google Play " +
  92. "Services Library Project is out of date. Please launch the Android SDK manager " +
  93. "and upgrade your Google Play Services bundle to the latest version (your version: " +
  94. "{0}; required version: {1}). Proceeding may cause problems. Proceed anyway?";
  95. public const string SetupComplete = "Google Play Games configured successfully.";
  96. }
  97. public class ExternalLinks
  98. {
  99. public const string GettingStartedGuideURL =
  100. "https://github.com/playgameservices/play-games-plugin-for-unity";
  101. public const string PlayGamesServicesApiURL =
  102. "https://developers.google.com/games/services";
  103. public const string GooglePlayGamesAndroidSdkTitle = "Google Play Games Android SDK Download";
  104. public const string GooglePlayGamesAndroidSdkBlurb = "The Google Play Games SDK for " +
  105. "Android must be downloaded via the Android SDK Manager. Do you wish to " +
  106. "start the SDK manager now?";
  107. public const string GooglePlayGamesAndroidSdkInstructions = "The Android SDK manager " +
  108. "will be launched. Install or upgrade the 'Google Play Services' package, " +
  109. "which can be found under the 'Extras' " +
  110. "category.";
  111. public const string GooglePlayGamesAndroidSdkManagerFailed = "Failed to find the " +
  112. "Android SDK manager executable. Make sure the Android SDK is properly installed " +
  113. "and that its path is correctly configured in the Unity preferences window " +
  114. "(under External Tools).";
  115. }
  116. public const string AboutTitle = "Google Play Games Plugin for Unity";
  117. public const string AboutText = "Copyright (C) 2014 Google Inc.\n\nThis is an open-source " +
  118. "plugin that allows cross-platform integration with Google Play games services. " +
  119. "For more information, visit the official site on Github:\n\n" +
  120. "https://github.com/playgameservices/play-games-plugin-for-unity\n\nPlugin version: ";
  121. public const string LicenseTitle = "Google Play Games Plugin for Unity";
  122. public const string LicenseText = "Copyright (C) 2014 Google Inc. All Rights Reserved.\n\n" +
  123. "Licensed under the Apache License, Version 2.0 (the \"License\"); " +
  124. "you may not use this file except in compliance with the License. " +
  125. "You may obtain a copy of the License at\n\n" +
  126. " http://www.apache.org/licenses/LICENSE-2.0\n\n" +
  127. "Unless required by applicable law or agreed to in writing, software " +
  128. "distributed under the License is distributed on an \"AS IS\" BASIS, " +
  129. "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. " +
  130. "See the License for the specific language governing permissions and " +
  131. "limitations under the License.";
  132. }
  133. }