Never write strings in the frontend directly, always write to and reference the relevant translations file. Always conform new and refactored code to the existing coding style in the project.