|
|
4c79b5 |
% Part : Concepts
|
|
|
4c79b5 |
% Chapter: Frameworks
|
|
|
4c79b5 |
% ------------------------------------------------------------
|
|
|
4c79b5 |
% $Id: rendering.tex 6023 2010-06-27 10:09:48Z al $
|
|
|
4c79b5 |
% ------------------------------------------------------------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\section{Rendering}
|
|
|
4c79b5 |
\hypertarget{sec:Concepts:Frameworks:Rendering}{}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Rendering is the process by which you produce translated content based
|
|
|
4c79b5 |
on design templates and translation files. Inside CentOS Artwork
|
|
|
4c79b5 |
Repository you can render images and texts.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\subsection{Image Rendering}
|
|
|
4c79b5 |
\hypertarget{sec:Concepts:Frameworks:Rendering:Image}{}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Image files are rendered using the \texttt{render.sh} identity script.
|
|
|
4c79b5 |
The \texttt{render.sh} identity script is available in the framework
|
|
|
4c79b5 |
containing the image files you want to produce. To execute the
|
|
|
4c79b5 |
\texttt{render.sh} identity script, you need to be inside framework's
|
|
|
4c79b5 |
directory and use the following syntax:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{quote}
|
|
|
4c79b5 |
\texttt{./render.sh 'REGEX'}
|
|
|
4c79b5 |
\end{quote}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
The REGEX argument is optional. It is used to reduce the amount of
|
|
|
4c79b5 |
files you want to render. It is a posix-egrep regular expression
|
|
|
4c79b5 |
pattern, applied against the translation path.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\subsection{Text Rendering}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Text files are rendered using the \texttt{render.sh} identity script.
|
|
|
4c79b5 |
The \texttt{render.sh} identity script is available in the framework
|
|
|
4c79b5 |
containing the text files you want to produce. To execute the
|
|
|
4c79b5 |
\texttt{render.sh} identity script, you need to be inside framework's
|
|
|
4c79b5 |
directory and use the following syntax:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
\begin{quote}
|
|
|
4c79b5 |
\texttt{./render.sh 'REGEX'}
|
|
|
4c79b5 |
\end{quote}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
The REGEX argument is optional. It is used to reduce the amount of
|
|
|
4c79b5 |
files you want to render. It is a posix-egrep regular expression
|
|
|
4c79b5 |
pattern, applied against the translation path.
|