Refactor translation code out of blenfont
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
# include "BLI_edgehash.h"
|
||||
#endif
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
#include "DNA_curve_types.h"
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "BLI_threads.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h" /* for rectcpy */
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_string.h"
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include "BLI_threads.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_node.h"
|
||||
#include "BKE_scene.h"
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
#include "BLI_rand.h"
|
||||
#include "BLI_callbacks.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h" /* <------ should this be here?, needed for sequencer update */
|
||||
#include "BKE_camera.h"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "BLI_kdopbvh.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_DerivedMesh.h"
|
||||
#include "BKE_lattice.h"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include "BLI_rand.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_node.h"
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
#include "BLI_ghash.h"
|
||||
#include "BLI_memarena.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "BLI_voxel.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "BLI_voxel.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
Reference in New Issue
Block a user