Update copyright and strings.

This commit is contained in:
Teo Mrnjavac 2016-04-15 15:43:21 +02:00
parent e1383df143
commit b4a57db54d
4 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,7 @@
/************************************************************************* /*************************************************************************
* Copyright (C) 2008 by Volker Lanz <vl@fidra.de> * * Copyright (C) 2008 by Volker Lanz <vl@fidra.de> *
* Copyright (C) 2016 by Andrius Štikonas <andrius@stikonas.eu> * * Copyright (C) 2016 by Andrius Štikonas <andrius@stikonas.eu> *
* Copyright (C) 2016 by Teo Mrnjavac <teo@kde.org> *
* * * *
* This program is free software; you can redistribute it and/or * * This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as * * modify it under the terms of the GNU General Public License as *
@ -36,5 +37,8 @@ QString PartitionRole::toString() const
if (roles() & Primary) if (roles() & Primary)
return i18nc("@item partition role", "primary"); return i18nc("@item partition role", "primary");
if (roles() & LUKS)
return i18nc("@item partition role", "LUKS");
return i18nc("@item partition role", "none"); return i18nc("@item partition role", "none");
} }

View File

@ -1,5 +1,6 @@
/************************************************************************* /*************************************************************************
* Copyright (C) 2008 by Volker Lanz <vl@fidra.de> * * Copyright (C) 2008 by Volker Lanz <vl@fidra.de> *
* Copyright (C) 2016 by Teo Mrnjavac <teo@kde.org> *
* * * *
* This program is free software; you can redistribute it and/or * * This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as * * modify it under the terms of the GNU General Public License as *
@ -41,7 +42,7 @@ public:
Extended = 2, /**< Extended */ Extended = 2, /**< Extended */
Logical = 4, /**< Logical inside an extended */ Logical = 4, /**< Logical inside an extended */
Unallocated = 8, /**< No real Partition, just unallocated space */ Unallocated = 8, /**< No real Partition, just unallocated space */
LUKS = 16, LUKS = 16, /**< Encrypted partition with LUKS key management */
Any = 255 /**< In case we're looking for a Partition with a PartitionRole, any will do */ Any = 255 /**< In case we're looking for a Partition with a PartitionRole, any will do */
}; };

View File

@ -1,7 +1,7 @@
/************************************************************************* /*************************************************************************
* Copyright (C) 2012 by Volker Lanz <vl@fidra.de> * * Copyright (C) 2012 by Volker Lanz <vl@fidra.de> *
* Copyright (C) 2013 by Andrius Štikonas <andrius@stikonas.eu> * * Copyright (C) 2013 by Andrius Štikonas <andrius@stikonas.eu> *
* Copyright (C) 2015 by Teo Mrnjavac <teo@kde.org> * * Copyright (C) 2015-2016 by Teo Mrnjavac <teo@kde.org> *
* * * *
* This program is free software; you can redistribute it and/or * * This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as * * modify it under the terms of the GNU General Public License as *

View File

@ -1,7 +1,7 @@
/************************************************************************* /*************************************************************************
* Copyright (C) 2012 by Volker Lanz <vl@fidra.de> * * Copyright (C) 2012 by Volker Lanz <vl@fidra.de> *
* Copyright (C) 2013 by Andrius Štikonas <andrius@stikonas.eu> * * Copyright (C) 2013 by Andrius Štikonas <andrius@stikonas.eu> *
* Copyright (C) 2015 by Teo Mrnjavac <teo@kde.org> * * Copyright (C) 2015-2016 by Teo Mrnjavac <teo@kde.org> *
* * * *
* This program is free software; you can redistribute it and/or * * This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as * * modify it under the terms of the GNU General Public License as *