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

Typo in Multiple Model view "Dusplicate" (Language: English) #2244

Closed
2 tasks done
perzeuss opened this issue Jan 26, 2024 · 1 comment · Fixed by #2248
Closed
2 tasks done

Typo in Multiple Model view "Dusplicate" (Language: English) #2244

perzeuss opened this issue Jan 26, 2024 · 1 comment · Fixed by #2248
Labels
🐞 bug Something isn't working

Comments

@perzeuss
Copy link
Contributor

Self Checks

Dify version

0.5.2

Cloud or Self Hosted

Cloud, Self Hosted (Docker)

Steps to reproduce

  • Select Language English in Account settings
  • Create Assistant App
  • Open Model Settings
  • Click "Debug as Multiple Models"
  • Click on the "..." Button, see screenshot below

grafik

✔️ Expected Behavior

Button content "Duplicate"

❌ Actual Behavior

Button content "Dusplicate"

@perzeuss perzeuss added the 🐞 bug Something isn't working label Jan 26, 2024
Copy link

dosubot bot commented Jan 26, 2024

🤖

Hey @perzeuss! Good to see you around here again. Hope you're coding your way to glory!

Thank you for reporting this issue. It seems like there's a typo in the English language file for the "Duplicate" button in the "Debug as Multiple Models" view.

The text for this button is defined in the debug-item.tsx file with the key 'appDebug.duplicateModel'. This key is used to look up the actual text in the language files. The typo you're seeing is likely in the English language file where the value for this key is defined.

To fix this issue, the value for 'appDebug.duplicateModel' in the English language file should be corrected from "Dusplicate" to "Duplicate". This change should be made by a contributor with write access to the dify repository.

Here's the relevant code snippet from the debug-item.tsx file:

{
  value: 'duplicate',
  text: t('appDebug.duplicateModel'),
},

And here's where the typo likely exists in the English language file:

{
  "appDebug": {
    "duplicateModel": "Dusplicate"
  }
}

This should be corrected to:

{
  "appDebug": {
    "duplicateModel": "Duplicate"
  }
}

Once this change is made and merged into the main branch, the typo should be fixed in the next release of dify. If you have any further issues or questions, feel free to ask.

Best regards,
Dosu

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant