Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent condition/action names #846

Open
ghost opened this issue Jan 5, 2019 · 8 comments
Open

Inconsistent condition/action names #846

ghost opened this issue Jan 5, 2019 · 8 comments
Assignees
Labels
🙇‍♀️Careful thinking/design or refactoring needed Needs a bit of studying to come with an elegant solution 👌good first issue Good issue if you want to start contributing to GDevelop

Comments

@ghost
Copy link

ghost commented Jan 5, 2019

Describe the bug

The conditions/actions for setting the text of a scene/global variable are named differently depending on if you're adding a condition or an action. This makes it hard to find them when searching.

To Reproduce

Steps to reproduce the behavior:

  1. Click 'Add condition' in the Events editor
  2. Expand the Variables group on the left
  3. Note the names of the conditions for setting the text of a scene and global variable ('Text of a [scene/global] variable')
  4. Cancel, and click 'Add action'
  5. Expand the Variables group on the left
  6. Note the names of the conditions for setting the text of a scene and global variable ('String of a [scene/global] variable') (note also that clicking on one of these shows the title 'Modify the text of a [scene/global] variable')

I think naming these consistently would be better.

text_vs_string

@4ian
Copy link
Owner

4ian commented Jan 6, 2019

Right! The question is now, should we favor "string" (which is the "programming" term, also used in the expression like VariableString or ToString), or should we favor "text" (which is maybe more accessible/understandable, but not used in expressions)?

@Lizard-13
Copy link
Contributor

I prefer string, string everywhere we talk about string values, not only for consistency with the expressions but also to not mix it with the text object. Text object uses "string" too :)

@4ian
Copy link
Owner

4ian commented Jan 6, 2019

Sounds better indeed!

@4ian
Copy link
Owner

4ian commented Jan 6, 2019

Maybe for actions and conditions titles, we can actually write both:
"String (text)", "String (text) of a scene variable"...

Could make things both exact (string is the proper term to use everywhere) but clearer especially for beginners who don't know what a string is?

@Lizard-13
Copy link
Contributor

Sounds fair 👍

@Endoperez
Copy link

Endoperez commented Feb 5, 2019

I'm afraid I don't agree with a new translation of "String (text)".

Text is already used when string is meant on multiple different conditions and actions: Text Object, text of text object, change the text of a scene variable, check if the text of scene variable X is = "something", and so on.

To remain consistent, either all of those would need to be changed, or at the very least, it should read "Text (string)".

Also, I made a thread about this on the Crowdin page, but I think the English localization could be improved in general. This isn't the only case where some updating is needed. For example "Common conditions for...", "Common action for..." (plural vs singular in the category name).

@4ian
Copy link
Owner

4ian commented Feb 5, 2019

To remain consistent, either all of those would need to be changed, or at the very least, it should read "Text (string)".

The idea was to change everything, not only condition/actions related to variables.

Also, I made a thread about this on the Crowdin page, but I think the English localization could be improved in general. This isn't the only case where some updating is needed. For example "Common conditions for...", "Common action for..." (plural vs singular in the category name).

I've not seen it this. I've created this issue to report any mistake/typo/inconsistency: #927 - can you post here or link your thread?

Fixed "Common action for ..." to "Common actions for ..." for next version :)

@4ian 4ian added 👌good first issue Good issue if you want to start contributing to GDevelop 🙇‍♀️Careful thinking/design or refactoring needed Needs a bit of studying to come with an elegant solution labels Feb 22, 2020
@Bouh Bouh self-assigned this Jun 16, 2022
@HelgeStenstrom
Copy link

Is there anything to do on this issue? It seems to me that issue #4041 covers what is in the description of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙇‍♀️Careful thinking/design or refactoring needed Needs a bit of studying to come with an elegant solution 👌good first issue Good issue if you want to start contributing to GDevelop
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants