Skip to content

Commit

Permalink
[IMPROVEMENT] Add "Allow_Save_Media_to_Gallery" setting to mobile (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello committed Sep 18, 2020
1 parent aa6e674 commit 4f80b12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/lib/server/startup/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,10 @@ settings.addGroup('Meta', function() {
});

settings.addGroup('Mobile', function() {
this.add('Allow_Save_Media_to_Gallery', true, {
type: 'boolean',
public: true,
});
this.section('Screen_Lock', function() {
this.add('Force_Screen_Lock', false, { type: 'boolean', i18nDescription: 'Force_Screen_Lock_description', public: true });
this.add('Force_Screen_Lock_After', 1800, { type: 'int', i18nDescription: 'Force_Screen_Lock_After_description', enableQuery: { _id: 'Force_Screen_Lock', value: true }, public: true });
Expand Down
1 change: 1 addition & 0 deletions packages/rocketchat-i18n/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@
"Allow_collect_and_store_HTTP_header_informations_description": "This setting determines whether Livechat is allowed to store information collected from HTTP header data, such as IP address, User-Agent, and so on.",
"Allow_Invalid_SelfSigned_Certs": "Allow Invalid Self-Signed Certs",
"Allow_Invalid_SelfSigned_Certs_Description": "Allow invalid and self-signed SSL certificate's for link validation and previews.",
"Allow_Save_Media_to_Gallery": "Allow Save Media to Gallery",
"Allow_switching_departments": "Allow Visitor to Switch Departments",
"Allow_Marketing_Emails": "Allow Marketing Emails",
"Allow_Online_Agents_Outside_Business_Hours": "Allow online agents outside of business hours",
Expand Down
1 change: 1 addition & 0 deletions packages/rocketchat-i18n/i18n/pt-BR.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@
"Allow_collect_and_store_HTTP_header_informations_description": "Esta configuração determina se o Livechat tem permissão para armazenar informações coletadas do HTTP Header, como endereço IP, User-Agent, etc.",
"Allow_Invalid_SelfSigned_Certs": "Permitir certificados auto-assinados inválidos",
"Allow_Invalid_SelfSigned_Certs_Description": "Permitir certificado SSL inválidos e auto-assinados para validação de link e previews.",
"Allow_Save_Media_to_Gallery": "Permitir salvar mídias na galeria",
"Allow_switching_departments": "Permitir que Visitantes Mudem de Departamento",
"Allow_Marketing_Emails": "Permitir emails de marketing",
"Allow_Online_Agents_Outside_Business_Hours": "Permitir agentes online fora do horário de expediente",
Expand Down

0 comments on commit 4f80b12

Please sign in to comment.