Bug 224179 - option to hide fully translated files and to show pot files without the related .po file
Summary: option to hide fully translated files and to show pot files without the relat...
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
: 370567 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-25 16:57 UTC by Luiz Fernando Ranghetti
Modified: 2018-07-27 02:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Fernando Ranghetti 2010-01-25 16:57:49 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Hi,

Will be useful to have an option to hide fully translated files and another to show pot files without the related .po file. It could be a check mark in project overview.

Regards
Comment 1 Laszlo Papp 2010-04-03 07:05:20 UTC
What do you mean in this report ? To hide the other file formats in the Open dialog, where you would like to open a new file for translation, or the tabs in the tabbar with such formats, or any other idea ?
Comment 2 Luiz Fernando Ranghetti 2010-04-05 17:34:59 UTC
Hi,

The idea is in Project View where for example you see the whole directory structure for KDE translation (messages, docmessages and all its sub-folders and files).

What should be nice is to have a check box to hide the fully translated files, showing only the ones which have something to translate (more easy to spot files needing translation when you have a high percentage of translated files).

Its more clear the idea now?

Regards
Comment 3 Adrián Chaves (Gallaecio) 2018-05-27 12:10:52 UTC
*** Bug 370567 has been marked as a duplicate of this bug. ***
Comment 4 Karl Ove Hufthammer 2018-05-27 13:08:44 UTC
Here’s my comment (edited) from the report that was marked as a duplicate:

I suggest that it would work like this:

In the project view, there would be a toolbar button *and* a menu item named ‘Hide translated files’. When checked, all *fully* translated files would be hidden from the project view. Any folders containing *only* fully translated files would also be hidden.

The only thing shown would be:

  1. Partially translated PO files
  2. PO files that are completely untranslated but existing as PO files
  3. Completely untranslated files that exist only as template files (POT files)
  4. And folders that contain the above type of files.

Unchecking the button or menu item would of course remove the filter and show all files and folders again.

The state of the button should be stored in the project file, so that you can have different settings for different projects.
Comment 5 Simon Depiets 2018-07-27 02:09:45 UTC
Git commit a394469e66058ccce4f026191e140e155addfb75 by Simon Depiets.
Committed on 27/07/2018 at 02:09.
Pushed by sdepiets into branch 'master'.

Add a feature to hide translated files on the Project tab

Summary:
This patch adds a feature to hide fully translated files and folders on the project tab.
Three ways to do that :
* In the menu bar
* In the "Go" menu
* With shortcut Ctrl+T

Reviewers: aacid, #localization, ltoscano, shaforostoff, mlaurent, huftis

Reviewed By: aacid, #localization, huftis

Subscribers: adrianchavesfernandez, schwarzer, huftis

Tags: #localization

Differential Revision: https://phabricator.kde.org/D14219

M  +7    -1    src/project/projectmanagerui.rc
M  +2    -0    src/project/projectmodel.cpp
M  +1    -0    src/project/projectmodel.h
M  +13   -0    src/project/projecttab.cpp
M  +1    -0    src/project/projecttab.h
M  +15   -0    src/project/projectwidget.cpp
M  +1    -0    src/project/projectwidget.h

https://commits.kde.org/lokalize/a394469e66058ccce4f026191e140e155addfb75