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