I18N: Add POTFILES.ignore

assistant-stock-transaction needs polishing before
translation
pull/1356/head
Frank H. Ellenberger 4 years ago
parent 0bad28743a
commit c272bc45d9

@ -31,7 +31,7 @@ endforeach (lingua)
add_custom_target(po-gmo ALL DEPENDS ${CATALOGS})
set_local_dist(po_DIST_local ${po_SOURCES} CMakeLists.txt
POTFILES.in POTFILES.skip README gnucash-pot.cmake)
POTFILES.in POTFILES.ignore POTFILES.skip README gnucash-pot.cmake)
set(po_DIST ${po_DIST_local} ${po_glossary_DIST} PARENT_SCOPE)
function(read_file_removing_comments OUTPUT PATH)
@ -77,6 +77,12 @@ function(make_gnucash_potfiles)
list(REMOVE_ITEM GOOD_FILES ${path})
endforeach ()
# Remove the paths that we have marked as explicitly ignore
read_file_removing_comments(SKIP_LINES POTFILES.ignore)
foreach (path ${SKIP_LINES})
list(REMOVE_ITEM GOOD_FILES ${path})
endforeach ()
# CMake sorting is different from UNIX sorting. Use perl to
# sort POTFILES.in universally. This may no longer be needed

@ -0,0 +1,4 @@
# These are files that we don't want to translate, because they are
# in experimental status.
gnucash/gnome/assistant-stock-transaction.cpp
gnucash/gtkbuilder/assistant-stock-transaction.glade

@ -52,7 +52,6 @@ gnucash/gnome/assistant-acct-period.c
gnucash/gnome/assistant-hierarchy.c
gnucash/gnome/assistant-loan.cpp
gnucash/gnome/assistant-stock-split.c
gnucash/gnome/assistant-stock-transaction.cpp
gnucash/gnome/business-gnome-utils.c
gnucash/gnome/business-options-gnome.c
gnucash/gnome/business-urls.c
@ -244,7 +243,6 @@ gnucash/gtkbuilder/assistant-hierarchy.glade
gnucash/gtkbuilder/assistant-loan.glade
gnucash/gtkbuilder/assistant-qif-import.glade
gnucash/gtkbuilder/assistant-stock-split.glade
gnucash/gtkbuilder/assistant-stock-transaction.glade
gnucash/gtkbuilder/assistant-xml-encoding.glade
gnucash/gtkbuilder/business-options-gnome.glade
gnucash/gtkbuilder/business-prefs.glade

Loading…
Cancel
Save