diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-10-22 16:55:38 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-10-23 12:32:10 +0200 |
commit | 0c18395d56fe56db375a10592fe2702fa1e700fd (patch) | |
tree | be6181524723e1f35b93db10426a0b3c07bc2f03 /cui/inc | |
parent | 1688a395d05125b83eac6cd5c43f0e3f2f66c491 (diff) |
tdf#120475: Sync persona categories with Mozilla
* Removed buttons which represent the static set of 6 categories
* Added all categories from Mozilla:
https://addons.mozilla.org/en-US/firefox/themes/
* Added extra category, named Featured,
which will be selected by default
* Sort results based on download numbers
Change-Id: Ia3908f560dedbd08ce2c0d469fbe75a7d3dee15b
Reviewed-on: https://gerrit.libreoffice.org/62183
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'cui/inc')
-rw-r--r-- | cui/inc/personalization.hrc | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/cui/inc/personalization.hrc b/cui/inc/personalization.hrc deleted file mode 100644 index c7bda2bed3a8..000000000000 --- a/cui/inc/personalization.hrc +++ /dev/null @@ -1,41 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#ifndef INCLUDED_CUI_INC_PERSONALIZATION_HRC -#define INCLUDED_CUI_INC_PERSONALIZATION_HRC - -#define NC_(Context, String) (Context "\004" u8##String) - -/* - * This string array must have exactly the same content - * and the same order as the m_vSuggestionCategories array - * in personalization.cxx file. - */ -const char* RID_SVXSTR_PERSONA_CATEGORIES[] = -{ - NC_("RID_SVXSTR_PERSONA_CATEGORIES", "LibreOffice"), - NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Abstract"), - NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Color"), - NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Music"), - NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Nature"), - NC_("RID_SVXSTR_PERSONA_CATEGORIES", "Solid") -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |