Strings Words Characters | |||
---|---|---|---|
11 661 4,377 |
|
All strings | Browse Translate Zen |
11 661 4,377 |
|
Read-only strings | Browse Translate Zen |
1 229 1,666 |
|
Strings with any failing checks | Browse Translate Zen |
1 229 1,666 |
|
Failing check: Ellipsis | Browse Translate Zen |
Overview
Project website | www.linuxfromscratch.org |
---|---|
Translation process |
|
Source code repository |
git@git.linuxfromscratch.org:fr-lfs
|
Repository branch | 12.1 |
Last remote commit |
Add pt_BR translation
e751a3b16e
Julien Lepiller authored 6 months ago |
Weblate repository |
https://translate.linuxfromscratch.org/git/linux-from-scratch-12-1/index/
|
File mask | blfs/*/introduction/important/la-files.po |
Translation file | Not available |
Last change | March 4, 2024, 7:58 a.m. |
Last author | None |
3 weeks ago
String statistics
Strings percent | Hosted strings | Words percent | Hosted words | Characters percent | Hosted characters | |
---|---|---|---|---|---|---|
Total | 11 | 661 | 4,377 | |||
Translated | 100% | 11 | 100% | 661 | 100% | 4,377 |
Needs editing | 0% | 0 | 0% | 0 | 0% | 0 |
Read-only | 100% | 11 | 100% | 661 | 100% | 4,377 |
Failing checks | 9% | 1 | 34% | 229 | 38% | 1,666 |
Strings with suggestions | 0% | 0 | 0% | 0 | 0% | 0 |
Untranslated strings | 0% | 0 | 0% | 0 | 0% | 0 |
Quick numbers
and previous 30 days
Trends of last 30 days
—
Hosted words
+100%
—
Hosted strings
+100%
—
Translated
+100%
—
Contributors
—
None
Source string added |
|
None
Source string added |
|
None
Source string added |
|
None
Source string added |
|
None
Source string added |
|
None
Source string added |
|
None
Source string added |
|
None
Source string added |
|
None
Source string added |
|
None
Source string added |
|
11 | File in original format as translated in the repository | gettext PO file | |||||||
---|---|---|---|---|---|---|---|---|---|
11 | All strings, converted files enriched with comments; suitable for offline translation | CSV | gettext MO | gettext PO | TBX | TMX | XLIFF 1.1 with gettext extensions | XLIFF 1.1 | XLSX |
<literal>#!/bin/bash
# /usr/sbin/remove-la-files.sh
# Written for Beyond Linux From Scratch
# by Bruce Dubbs <bdubbs@&lfs-domainname;>
# Make sure we are running with root privs
if test "${EUID}" -ne 0; then
echo "Error: $(basename ${0}) must be run as the root user! Exiting..."
exit 1
fi
# Make sure PKG_CONFIG_PATH is set if discarded by sudo
source /etc/profile
OLD_LA_DIR=/var/local/la-files
mkdir -p $OLD_LA_DIR
# Only search directories in /opt, but not symlinks to directories
OPTDIRS=$(find /opt -mindepth 1 -maxdepth 1 -type d)
# Move any found .la files to a directory out of the way
find /usr/lib $OPTDIRS -name "*.la" ! -path "/usr/lib/ImageMagick*" \
-exec mv -fv {} $OLD_LA_DIR \;
###############
# Fix any .pc files that may have .la references
STD_PC_PATH='/usr/lib/pkgconfig
/usr/share/pkgconfig
/usr/local/lib/pkgconfig
/usr/local/share/pkgconfig'
# For each directory that can have .pc files
for d in $(echo $PKG_CONFIG_PATH | tr : ' ') $STD_PC_PATH; do
# For each pc file
for pc in $d/*.pc ; do
if [ $pc == "$d/*.pc" ]; then continue; fi
# Check each word in a line with a .la reference
for word in $(grep '\.la' $pc); do
if $(echo $word | grep -q '.la$' ); then
mkdir -p $d/la-backup
cp -fv $pc $d/la-backup
basename=$(basename $word )
libref=$(echo $basename|sed -e 's/^lib/-l/' -e 's/\.la$//')
# Fix the .pc file
sed -i "s:$word:$libref:" $pc
fi
done
done
done</literal>
EOF
chmod +x /usr/sbin/remove-la-files.sh</userinput>