diff options
author | Matthias Held <ilovemilk@wusa.io> | 2018-09-26 21:07:16 +0300 |
---|---|---|
committer | Matthias Held <ilovemilk@wusa.io> | 2018-09-26 21:07:16 +0300 |
commit | 130522e395cff0444baa02a538d7cb9e75d690d1 (patch) | |
tree | aa598cebb4f7ac811682d54c35394cf6cb78a616 | |
parent | 3df04bbf354c7762578df38b451354635646e551 (diff) |
Chane display name from ransomware detection to ransomware recovery
Signed-off-by: Matthias Held <matthias.held@uni-konstanz.de>
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | appinfo/info.xml | 2 | ||||
-rw-r--r-- | js/app.js | 8 | ||||
-rw-r--r-- | js/filelist.js | 2 | ||||
-rw-r--r-- | js/scan.js | 2 | ||||
-rw-r--r-- | lib/AppInfo/Application.php | 2 | ||||
-rw-r--r-- | lib/Settings/AdminSection.php | 2 | ||||
-rw-r--r-- | lib/Settings/PersonalSection.php | 2 | ||||
-rw-r--r-- | tests/Unit/Settings/AdminSectionTest.php | 6 | ||||
-rw-r--r-- | tests/Unit/Settings/PersonalSectionTest.php | 6 |
10 files changed, 17 insertions, 17 deletions
@@ -1,4 +1,4 @@ -# Nextcloud Ransomware Detection +# Nextcloud Ransomware Recovery [![Build Status](https://travis-ci.com/ilovemilk/ransomware_detection.svg?branch=master)](https://travis-ci.com/ilovemilk/ransomware_detection) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/ilovemilk/ransomware_detection/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/ilovemilk/ransomware_detection/?branch=master) [![codecov](https://codecov.io/gh/ilovemilk/ransomware_detection/branch/master/graph/badge.svg)](https://codecov.io/gh/ilovemilk/ransomware_detection) diff --git a/appinfo/info.xml b/appinfo/info.xml index 9629fd4..d62b746 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -2,7 +2,7 @@ <info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> <id>ransomware_detection</id> - <name>Ransomware detection</name> + <name>Ransomware recovery</name> <summary><![CDATA[This app offers synchronization monitoring and a file storage scanner for a guided user-controlled one-step ransomare recovery.]]></summary> <description><![CDATA[This app monitors file operations during the synchronization to detect ransomware attacks and also offers a post infection file storage scanner, which works even if it happend that you didn't have this app installed during an attack. This is done by using generic indicators for a guided user-controlled one-step recovery utilizing the integrated file versioning methods.]]></description> <version>0.4.0</version> @@ -24,7 +24,7 @@ if (!OCA.RansomwareDetection) { /** - * Namespace for the ransomware detection app + * Namespace for the ransomware recovery app * @namespace OCA.RansomwareDetection */ OCA.RansomwareDetection = {}; @@ -36,20 +36,20 @@ OCA.RansomwareDetection.App = { utils: null, /** - * File list for the "Ransomware detection" section + * File list for the "Ransomware recovery" section * * @member {OCA.RansomwareDetection.FileList} */ fileList: null, /** - * Scan for the "Ransomware detection" section + * Scan for the "Ransomware recovery" section * * @member {OCA.RansomwareDetection.Scan} */ scan: null, /** - * Initializes the ransomware detection app + * Initializes the ransomware recovery app */ initialize: function() { if (typeof OCA.RansomwareDetection.Utils != 'undefined') { diff --git a/js/filelist.js b/js/filelist.js index 8c9dc98..9f1de28 100644 --- a/js/filelist.js +++ b/js/filelist.js @@ -35,7 +35,7 @@ */ FileList.prototype = { id: 'ransomware_detection', - appName: t('ransomware_detection', 'Ransomware Detection'), + appName: t('ransomware_detection', 'Ransomware Recovery'), $el: null, $container: null, $wrapper: null, @@ -35,7 +35,7 @@ */ Scan.prototype = { id: 'ransomware_detection', - appName: t('ransomware_detection', 'Ransomware Detection'), + appName: t('ransomware_detection', 'Ransomware Recovery'), $el: null, $section: null, $table: null, diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index de474f9..e3827bf 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -181,7 +181,7 @@ class Application extends App return [ 'id' => self::APP_ID, - 'name' => $l->t('Ransomware detection'), + 'name' => $l->t('Ransomware recovery'), ]; }); } diff --git a/lib/Settings/AdminSection.php b/lib/Settings/AdminSection.php index 404b710..c451b39 100644 --- a/lib/Settings/AdminSection.php +++ b/lib/Settings/AdminSection.php @@ -73,7 +73,7 @@ class AdminSection implements IIconSection */ public function getName() { - return $this->l->t('Ransomware detection'); + return $this->l->t('Ransomware recovery'); } /** diff --git a/lib/Settings/PersonalSection.php b/lib/Settings/PersonalSection.php index 23415af..f279ecd 100644 --- a/lib/Settings/PersonalSection.php +++ b/lib/Settings/PersonalSection.php @@ -78,7 +78,7 @@ class PersonalSection implements IIconSection */ public function getName() { - return $this->l->t('Ransomware detection'); + return $this->l->t('Ransomware recovery'); } /** diff --git a/tests/Unit/Settings/AdminSectionTest.php b/tests/Unit/Settings/AdminSectionTest.php index d2b32a4..423b6dc 100644 --- a/tests/Unit/Settings/AdminSectionTest.php +++ b/tests/Unit/Settings/AdminSectionTest.php @@ -63,10 +63,10 @@ class AdminSectionTest extends TestCase { public function testGetName() { $this->l->expects($this->once()) ->method('t') - ->with('Ransomware detection') - ->willReturn('Ransomware detection'); + ->with('Ransomware recovery') + ->willReturn('Ransomware recovery'); - $this->assertSame('Ransomware detection', $this->adminSection->getName()); + $this->assertSame('Ransomware recovery', $this->adminSection->getName()); } public function testGetPriority() { diff --git a/tests/Unit/Settings/PersonalSectionTest.php b/tests/Unit/Settings/PersonalSectionTest.php index 3e04a18..3992612 100644 --- a/tests/Unit/Settings/PersonalSectionTest.php +++ b/tests/Unit/Settings/PersonalSectionTest.php @@ -63,10 +63,10 @@ class PersonalSectionTest extends TestCase { public function testGetName() { $this->l->expects($this->once()) ->method('t') - ->with('Ransomware detection') - ->willReturn('Ransomware detection'); + ->with('Ransomware recovery') + ->willReturn('Ransomware recovery'); - $this->assertSame('Ransomware detection', $this->personalSection->getName()); + $this->assertSame('Ransomware recovery', $this->personalSection->getName()); } public function testGetPriority() { |