* TOPPERS Software
* Toyohashi Open Platform for Embedded Real-Time Systems
*
- * Copyright (C) 2007-2008 by TAKAGI Nobuhisa
+ * Copyright (C) 2007-2011 by TAKAGI Nobuhisa
*
* 上記著作権者は,以下の(1)〜(4)の条件を満たす場合に限り,本ソフトウェ
* ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改
}
std::string lang( env );
- fs::path cfg_dir( dir, fs::native );
- fs::path po_file( cfg_dir/fs::path( lang + ".po", fs::native ) );
- std::ifstream ifs( po_file.native_file_string().c_str() );
+// fs::path cfg_dir( dir, fs::native );
+ fs::path cfg_dir( dir ); // filesystem3対応
+// fs::path po_file( cfg_dir/fs::path( lang + ".po", fs::native ) );
+ fs::path po_file( cfg_dir/fs::path( lang + ".po" ) ); // filesystem3対応
+
+// std::ifstream ifs( po_file.native_file_string().c_str() );
+ std::ifstream ifs( po_file.string().c_str() ); // filesystem3対応
std::string msgid;
std::string msgstr;