Hi All ,

I need to translate my application , everithing worked fine, till i had to translate static string array.

I have a ".h" file with this decleratrion

Qt Code:
  1. static QString vecBombType[4] = {
  2. QObject::trUtf8("None"),
  3. QObject::trUtf8("Explosive"),
  4. QObject::trUtf8("Flare"),
  5. QObject::trUtf8("Smoke")
  6. };
  7.  
  8. I'm inserting those string into QComboBox in a .cpp file
  9.  
  10. for ( int i=0; i < 4 i++ )
  11. {
  12. cboxBombType->insertItem( vecBombType[i], i);
  13. }
To copy to clipboard, switch view to plain text mode 
I've translated "Explosive" to something else , but keep on getting "Explosive" string.

Beside this all translation are OK.

How can i fix this?