Can the "Read-only mode. Submitted data is not saved." message be changed during smooth deployment?

Vote:
 

On a form, I get this message when smooth deployment is underway:

Read-only mode. Submitted data is not saved.

Can this message be changed?

#314983
Jan 02, 2024 19:01
Vote:
 

The message can be set in your language files the same way as other translatable strings. The key is "/episerver/forms/viewmode/readonlymode" so you can either add the relevant XML to an existing language file or create a new one like this:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<languages>
  <language name="English" id="en">
    <episerver>
      <forms>
        <viewmode>
          <readonlymode>READONLY MODE! No forms for you.</readonlymode>
        </viewmode>
      </forms>
    </episerver>
  </language>
</languages>
#315027
Jan 03, 2024 10:25
Vote:
 

Remember to set "embeded resource" in VS File Property... if you add the file for the first time. =)

#315129
Jan 05, 2024 15:11
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.