lokalize
#include "catalog.h"
#include "catalog_private.h"
#include "project.h"
#include "projectmodel.h"
#include "catalogstorage.h"
#include "gettextstorage.h"
#include "gettextimport.h"
#include "gettextexport.h"
#include "xliffstorage.h"
#include "tsstorage.h"
#include "mergecatalog.h"
#include "version.h"
#include "prefs_lokalize.h"
#include "jobs.h"
#include <threadweaver/ThreadWeaver.h>
#include <QProcess>
#include <QString>
#include <QMap>
#include <kdebug.h>
#include <kglobal.h>
#include <klocale.h>
#include <kdatetime.h>
#include <kio/netaccess.h>
#include <ktemporaryfile.h>
#include "catalog.moc"
Go to the source code of this file.
|
static DocPosition | alterForSinglePlural (const Catalog *th, DocPosition pos) |
|
TargetState | closestState (bool approved, ProjectLocal::PersonRole role) |
|
int | findNextInList (const QLinkedList< int > &list, int index) |
|
int | findPrevInList (const QLinkedList< int > &list, int index) |
|
void | insertInList (QLinkedList< int > &list, int index) |
|
bool | isApproved (TargetState state, ProjectLocal::PersonRole role) |
|
bool | isApproved (TargetState state) |
|
static void | updateDB (const QString &filePath, const QString &ctxt, const CatalogString &english, const CatalogString &newTarget, int form, bool approved) |
|
int findNextInList |
( |
const QLinkedList< int > & |
list, |
|
|
int |
index |
|
) |
| |
int findPrevInList |
( |
const QLinkedList< int > & |
list, |
|
|
int |
index |
|
) |
| |
void insertInList |
( |
QLinkedList< int > & |
list, |
|
|
int |
index |
|
) |
| |
helper method to keep db in a good shape :) called on 1) entry switch 2) automatic editing code like replace or undo/redo operation
Definition at line 722 of file catalog.cpp.
const char* const extensions[] ={".po",".pot",".xlf", ".ts"} |
|
static |
const char* const xliff_states[] |
|
static |
Initial value:={
I18N_NOOP("New"),I18N_NOOP("Needs translation"),I18N_NOOP("Needs full localization"),I18N_NOOP("Needs adaptation"),I18N_NOOP("Translated"),
I18N_NOOP("Needs translation review"),I18N_NOOP("Needs full localization review"),I18N_NOOP("Needs adaptation review"),I18N_NOOP("Final"),
I18N_NOOP("Signed-off")}
Definition at line 74 of file catalog.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.