GPGSStrings.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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 of 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 = "The web app client ID is needed to access the user's ID token and " +
  67. "call other APIs onbehalf of the user." +
  68. " It is not required for Game Services. Enter your oauth2 client ID below.\nTo obtain this " +
  69. "ID, generate a web linked app in Developer Console. Example:\n" +
  70. "123456789012-abcdefghijklm.apps.googleusercontent.com";
  71. public const string PkgName = "Package name";
  72. public const string PkgNameBlurb = "Enter your application's package name below.\n" +
  73. "(for example, com.example.lorem.ipsum).";
  74. public const string PackageNameError = "The package name does not appear to be valid. " +
  75. "Enter a valid Android package name (for example, com.example.lorem.ipsum).";
  76. public const string SdkNotFound = "Android SDK Not found";
  77. public const string SdkNotFoundBlurb = "The Android SDK path was not found. " +
  78. "Please configure it in the Unity preferences window (under External Tools).";
  79. public const string LibProjNotFound = "Google Play Services Library Project Not Found";
  80. public const string LibProjNotFoundBlurb = "Google Play Services library project " +
  81. "could not be found your SDK installation. Make sure it is installed (open " +
  82. "the SDK manager and go to Extras, and select Google Play Services).";
  83. public const string SupportJarNotFound = "Android Support Library v4 Not Found";
  84. public const string SupportJarNotFoundBlurb = "Android Support Library v4 " +
  85. "could not be found your SDK installation. Make sure it is installed (open " +
  86. "the SDK manager and go to Extras, and select 'Android Support Library').";
  87. public const string LibProjVerNotFound = "The version of your copy of the Google Play " +
  88. "Services Library Project could not be determined. Please make sure it is " +
  89. "at least version {0}. Continue?";
  90. public const string LibProjVerTooOld = "Your copy of the Google Play " +
  91. "Services Library Project is out of date. Please launch the Android SDK manager " +
  92. "and upgrade your Google Play Services bundle to the latest version (your version: " +
  93. "{0}; required version: {1}). Proceeding may cause problems. Proceed anyway?";
  94. public const string SetupComplete = "Google Play Games configured successfully.";
  95. }
  96. public class ExternalLinks
  97. {
  98. public const string GettingStartedGuideURL =
  99. "https://github.com/playgameservices/play-games-plugin-for-unity";
  100. public const string PlayGamesServicesApiURL =
  101. "https://developers.google.com/games/services";
  102. public const string GooglePlayGamesAndroidSdkTitle = "Google Play Games Android SDK Download";
  103. public const string GooglePlayGamesAndroidSdkBlurb = "The Google Play Games SDK for " +
  104. "Android must be downloaded via the Android SDK Manager. Do you wish to " +
  105. "start the SDK manager now?";
  106. public const string GooglePlayGamesAndroidSdkInstructions = "The Android SDK manager " +
  107. "will be launched. Install or upgrade the 'Google Play Services' package, " +
  108. "which can be found under the 'Extras' " +
  109. "category.";
  110. public const string GooglePlayGamesAndroidSdkManagerFailed = "Failed to find the " +
  111. "Android SDK manager executable. Make sure the Android SDK is properly installed " +
  112. "and that its path is correctly configured in the Unity preferences window " +
  113. "(under External Tools).";
  114. }
  115. public const string AboutTitle = "Google Play Games Plugin for Unity";
  116. public const string AboutText = "Copyright (C) 2014 Google Inc.\n\nThis is an open-source " +
  117. "plugin that allows cross-platform integration with Google Play games services. " +
  118. "For more information, visit the official site on Github:\n\n" +
  119. "https://github.com/playgameservices/play-games-plugin-for-unity\n\nPlugin version: ";
  120. public const string LicenseTitle = "Google Play Games Plugin for Unity";
  121. public const string LicenseText = "Copyright (C) 2014 Google Inc. All Rights Reserved.\n\n" +
  122. "Licensed under the Apache License, Version 2.0 (the \"License\"); " +
  123. "you may not use this file except in compliance with the License. " +
  124. "You may obtain a copy of the License at\n\n" +
  125. " http://www.apache.org/licenses/LICENSE-2.0\n\n" +
  126. "Unless required by applicable law or agreed to in writing, software " +
  127. "distributed under the License is distributed on an \"AS IS\" BASIS, " +
  128. "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. " +
  129. "See the License for the specific language governing permissions and " +
  130. "limitations under the License.";
  131. }
  132. }