Skip to content

Commit

Permalink
Simplify the wording of some actions names (#5929)
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H authored Nov 21, 2023
1 parent 0a0811e commit 45d0a78
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 45 deletions.
4 changes: 2 additions & 2 deletions Core/GDCore/Extensions/Builtin/CameraExtension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsCameraExtension(
extension
.AddAction(
"ChangeLayerTimeScale",
_("Change layer time scale"),
_("Layer time scale"),
_("Change the time scale applied to the objects of the layer."),
_("Set the time scale of layer _PARAM1_ to _PARAM2_"),
"",
Expand Down Expand Up @@ -594,7 +594,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsCameraExtension(
extension
.AddAction(
"SetLayerAmbientLightColor",
_("Set the ambient light color"),
_("Ambient light color"),
_("Set the ambient light color of the lighting layer in format "
"\"R;G;B\" string."),
_("Set the ambient color of the lighting layer _PARAM1_ to _PARAM2_"),
Expand Down
4 changes: 2 additions & 2 deletions Core/GDCore/Extensions/Builtin/WindowExtension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsWindowExtension(
extension
.AddAction(
"SetWindowSize",
_("Change the size of the game window"),
_("This action changes the size of the game window. Note that this "
_("Game window size"),
_("Changes the size of the game window. Note that this "
"will only work on platform supporting this operation: games "
"running in browsers or on mobile phones can not update their "
"window size. Game resolution can still be updated."),
Expand Down
8 changes: 4 additions & 4 deletions Extensions/AdvancedWindow/JsExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {
extension
.addAction(
'Focus',
_('Change focus of the window'),
_('Window focus'),
_('Make the window gain or lose focus.'),
_('Focus the window: _PARAM0_'),
_('Windows, Linux, macOS'),
Expand Down Expand Up @@ -72,7 +72,7 @@ module.exports = {
extension
.addAction(
'Show',
_('Change visibility of the window'),
_('Window visibility'),
_('Make the window visible or invisible.'),
_('Window visible: _PARAM0_'),
_('Windows, Linux, macOS'),
Expand Down Expand Up @@ -624,7 +624,7 @@ module.exports = {
extension
.addAction(
'SetOpacity',
_('Set window opacity'),
_('Window opacity'),
_('Changes the window opacity.'),
_('Set the window opacity to _PARAM0_'),
_('Windows, Linux, macOS'),
Expand All @@ -645,7 +645,7 @@ module.exports = {
extension
.addAction(
'SetWindowPosition',
_('Set window position'),
_('Window position'),
_('Changes the window position.'),
_('Set the window position to _PARAM0_;_PARAM1_'),
_('Windows, Linux, macOS'),
Expand Down
58 changes: 29 additions & 29 deletions Extensions/Firebase/JsExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {
extension
.addAction(
'AnalyticsSetUID',
_('Change user UID'),
_('User UID'),
_(
"Changes the current user's analytics identifier. " +
'This is what let Analytics differentiate user, ' +
Expand Down Expand Up @@ -400,7 +400,7 @@ module.exports = {
extension
.addStrExpression(
'GetAuthToken',
_('Get the user authentication token'),
_('User authentication token'),
_(
'Get the user authentication token. The token is the proof of authentication.'
),
Expand Down Expand Up @@ -438,8 +438,8 @@ module.exports = {
extension
.addStrExpression(
'GetUserEmail',
_('Get the user email address'),
_('Gets the user email address.'),
_('User email address'),
_('Return the user email address.'),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png'
)
Expand All @@ -455,8 +455,8 @@ module.exports = {
extension
.addStrExpression(
'GetAccountCreationTime',
_('Get the accounts creation time'),
_('Gets the accounts creation time.'),
_('Accounts creation time'),
_('Return the accounts creation time.'),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png'
)
Expand All @@ -472,8 +472,8 @@ module.exports = {
extension
.addStrExpression(
'GetLastLoginTime',
_('Get the user last login time'),
_('Gets the user last login time.'),
_('User last login time'),
_('Return the user last login time.'),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png'
)
Expand All @@ -489,8 +489,8 @@ module.exports = {
extension
.addStrExpression(
'GetUserDisplayName',
_('Get the user display name'),
_('Gets the user display name.'),
_('User display name'),
_('Return the user display name.'),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png'
)
Expand All @@ -506,8 +506,8 @@ module.exports = {
extension
.addStrExpression(
'GetPhoneNumber',
_('Get the user phone number'),
_('Gets the user phone number.'),
_('User phone number'),
_('Return the user phone number.'),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png'
)
Expand All @@ -523,9 +523,9 @@ module.exports = {
extension
.addStrExpression(
'GetUserUID',
_('Get the user UID'),
_('User UID'),
_(
'Gets the user Unique IDentifier. Use that to link data to an ' +
'Return the user Unique IDentifier. Use that to link data to an ' +
'user instead of the name or email.'
),
_('Authentication/User Management'),
Expand All @@ -543,8 +543,8 @@ module.exports = {
extension
.addStrExpression(
'GetTenantID',
_('Get the user tenant ID'),
_('Gets the user tenant ID. For advanced usage only.'),
_('User tenant ID'),
_('Return the user tenant ID. For advanced usage only.'),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png'
)
Expand All @@ -560,8 +560,8 @@ module.exports = {
extension
.addStrExpression(
'GetRefreshToken',
_('Get the user refresh token'),
_('Gets the user refresh token. For advanced usage only.'),
_('User refresh token'),
_('Return the user refresh token. For advanced usage only.'),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png'
)
Expand All @@ -577,7 +577,7 @@ module.exports = {
extension
.addStrExpression(
'GetPhotoURL',
_('Get the user profile picture URL'),
_('Profile picture URL'),
_('Gets an URL to the user profile picture.'),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png'
Expand Down Expand Up @@ -635,7 +635,7 @@ module.exports = {
extension
.addAction(
'SetDisplayName',
_('Set display name'),
_('Display name'),
_('Sets the user display name.'),
_("Set the user's display name to _PARAM0_"),
_('Authentication/User Management'),
Expand All @@ -655,9 +655,9 @@ module.exports = {
extension
.addAction(
'SetPhotoURL',
_('Set the user profile picture'),
_('Sets the user profile picture URL to a new one.'),
_("Set the user's profile picture URL to _PARAM0_"),
_('Profile picture'),
_('Change the user profile picture URL to a new one.'),
_("Change the user's profile picture URL to _PARAM0_"),
_('Authentication/User Management'),
'JsPlatform/Extensions/firebase.png',
'JsPlatform/Extensions/firebase.png'
Expand All @@ -676,7 +676,7 @@ module.exports = {
extension
.addAction(
'ChangeEmail',
_('Change the user email'),
_('User email'),
_(
'This action is dangerous so it requires reauthentication.\n' +
"Changes the user's email address."
Expand Down Expand Up @@ -716,7 +716,7 @@ module.exports = {
extension
.addAction(
'ChangeEmailProvider',
_('Change the user email (Provider)'),
_('User email (Provider)'),
_(
'This action is dangerous so it requires reauthentication.\n' +
"Changes the user's email address.\n" +
Expand Down Expand Up @@ -755,7 +755,7 @@ module.exports = {
extension
.addAction(
'ChangePassword',
_('Change the user password'),
_('User password'),
_(
'This action is dangerous so it requires reauthentication.\n' +
'Changes the user password.'
Expand Down Expand Up @@ -796,7 +796,7 @@ module.exports = {
extension
.addAction(
'ChangePasswordProvider',
_('Change the user password (Provider)'),
_('User password (Provider)'),
_(
'This action is dangerous so it requires reauthentication.\n' +
'Changes the user password.\n' +
Expand Down Expand Up @@ -1782,7 +1782,7 @@ module.exports = {
.addAction(
'FirestoreGetField',
_('Get a field of a document'),
_('Gets the value of a field in a firestore document.'),
_('Return the value of a field in a firestore document.'),
_(
'Load field _PARAM2_ of firestore document _PARAM1_ in collection _PARAM0_ into _PARAM3_ (store result state in _PARAM4_)'
),
Expand Down Expand Up @@ -2213,7 +2213,7 @@ module.exports = {
'DatabaseGetField',
_('Get a field of a variable'),
_(
'Gets the value of a field in a variable from the database and store it in a scene variable.'
'Return the value of a field in a variable from the database and store it in a scene variable.'
),
_(
'Load field _PARAM1_ of database variable _PARAM0_ into _PARAM2_ (store result state in _PARAM3_)'
Expand Down
4 changes: 2 additions & 2 deletions Extensions/Lighting/JsExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ module.exports = {
object
.addAction(
'SetRadius',
_('Set the radius of light object'),
_('Light radius'),
_('Set the radius of light object'),
_('Set the radius of _PARAM0_ to: _PARAM1_'),
'',
Expand All @@ -218,7 +218,7 @@ module.exports = {
object
.addAction(
'SetColor',
_('Set the color of light object'),
_('Light color'),
_('Set the color of light object in format "R;G;B" string.'),
_('Set the color of _PARAM0_ to: _PARAM1_'),
'',
Expand Down
6 changes: 3 additions & 3 deletions Extensions/SpatialSound/JsExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ module.exports = {
extension
.addAction(
'SetListenerPosition',
_('Set position of the listener'),
_('Sets the spatial position of the listener/player.'),
_('Set the listener position to _PARAM0_, _PARAM1_, _PARAM2_'),
_('Listener position'),
_('Change the spatial position of the listener/player.'),
_('Change the listener position to _PARAM0_, _PARAM1_, _PARAM2_'),
'',
'res/actions/son24.png',
'res/actions/son.png'
Expand Down
2 changes: 1 addition & 1 deletion Extensions/Steamworks/JsExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ module.exports = {
extension
.addAction(
'SetRichPresence',
_('Change the Steam rich presence'),
_('Steam rich presence'),
_(
"Changes an attribute of Steam's rich presence. Allows other player to see exactly what the player's currently doing in the game."
),
Expand Down
4 changes: 2 additions & 2 deletions Extensions/Video/JsExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ module.exports = {
object
.addAction(
'SetTime',
_('Set time'),
_('Current time'),
_('Set the time of the video'),
_('the time'),
'',
Expand All @@ -224,7 +224,7 @@ module.exports = {
object
.addAction(
'SetVolume',
_('Set volume'),
_('Volume'),
_('Set the volume of the video object.'),
_('the volume'),
'',
Expand Down

0 comments on commit 45d0a78

Please sign in to comment.