strings: Add shared translation strings

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-07-09 14:09:02 +02:00
parent c7f326d428
commit c8470d3b23
3 changed files with 33 additions and 0 deletions
+1
View File
@@ -263,6 +263,7 @@ set(PROJECT_PRIVATE
"${PROJECT_SOURCE_DIR}/source/plugin.hpp" "${PROJECT_SOURCE_DIR}/source/plugin.hpp"
"${PROJECT_SOURCE_DIR}/source/utility.cpp" "${PROJECT_SOURCE_DIR}/source/utility.cpp"
"${PROJECT_SOURCE_DIR}/source/utility.hpp" "${PROJECT_SOURCE_DIR}/source/utility.hpp"
"${PROJECT_SOURCE_DIR}/source/strings.hpp"
"${PROJECT_SOURCE_DIR}/source/encoders/generic.hpp" "${PROJECT_SOURCE_DIR}/source/encoders/generic.hpp"
"${PROJECT_SOURCE_DIR}/source/encoders/generic.cpp" "${PROJECT_SOURCE_DIR}/source/encoders/generic.cpp"
"${PROJECT_SOURCE_DIR}/source/encoders/prores_aw.hpp" "${PROJECT_SOURCE_DIR}/source/encoders/prores_aw.hpp"
+9
View File
@@ -23,6 +23,15 @@ FFmpeg.StandardCompliance.Normal="Normal"
FFmpeg.StandardCompliance.Unofficial="Unofficial" FFmpeg.StandardCompliance.Unofficial="Unofficial"
FFmpeg.StandardCompliance.Experimental="Experimental" FFmpeg.StandardCompliance.Experimental="Experimental"
# Rate Control
RateControl="Rate Control"
RateControl.Method="Method"
RateControl.Method.CBR="Constant Bitrate"
RateControl.Method.ABR="Average Bitrate"
RateControl.Method.VBR="Variable Bitrate"
RateControl.Method.CQP="Constant Quantization Parameter"
RateControl.Method.CRF="Constant Rate Factor"
# Apple ProRes # Apple ProRes
AppleProRes.Profile="Profile" AppleProRes.Profile="Profile"
AppleProRes.Profile.APCO="Proxy" AppleProRes.Profile.APCO="Proxy"
+23
View File
@@ -0,0 +1,23 @@
// FFMPEG Video Encoder Integration for OBS Studio
// Copyright (C) 2018 - 2019 Michael Fabian Dirks
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#pragma once
#include "utility.hpp"
#define P_RATECONTROL "RateControl"
#define P_RATECONTROL_METHOD "RateControl.Method"
#define P_RATECONTROL_METHOD_(x) "RateControl.Method." D_VSTR(x)